Bureaucrats, cc_docs_admin, cc_staff
2,306
edits
No edit summary |
No edit summary |
||
Line 65: | Line 65: | ||
Load Chapel and start an interactive job requesting four nodes and three cores on each node: | Load Chapel and start an interactive job requesting four nodes and three cores on each node: | ||
module unload chapel-single | module unload chapel-single | ||
. /home/razoumov/startMultiLocale.sh | |||
salloc --time=0:30:0 --nodes=4 --cpus-per-task=3 --mem-per-cpu=3500 --account=def-someprof | |||
<!--T:15--> | <!--T:15--> | ||
Once the interactive job starts, you can compile and run your code from the prompt on the first allocated compute node: | Once the interactive job starts, you can compile and run your code from the prompt on the first allocated compute node: | ||
chpl probeLocales.chpl -o probeLocales | chpl probeLocales.chpl -o probeLocales | ||
./probeLocales -nl 4 | |||
<!--T:17--> | <!--T:17--> | ||
For production jobs, please write a Slurm submission script and submit your job with <code>sbatch</code> instead. | For production jobs, please write a Slurm submission script and submit your job with <code>sbatch</code> instead. | ||
</translate> | </translate> |