Chapel: Difference between revisions

no edit summary
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:


  <!--T:14-->
module unload chapel-single
module unload chapel-single
  . /home/razoumov/startMultiLocale.sh
. /home/razoumov/startMultiLocale.sh
  salloc --time=0:30:0 --nodes=4 --cpus-per-task=3 --mem-per-cpu=3500 --account=def-someprof
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:


  <!--T:16-->
chpl probeLocales.chpl -o probeLocales
chpl probeLocales.chpl -o probeLocales
  ./probeLocales -nl 4
./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>
Bureaucrats, cc_docs_admin, cc_staff
2,306

edits