Chapel: Difference between revisions

no edit summary
(Marked this version for translation)
No edit summary
Line 20: Line 20:
On Cedar and Graham, single-locale (shared-memory) Chapel is implemented as a module. For testing, you can use <code>salloc</code> to run Chapel codes in serial:
On Cedar and Graham, single-locale (shared-memory) Chapel is implemented as a module. For testing, you can use <code>salloc</code> to run Chapel codes in serial:
</translate>
</translate>
  module load gcc chapel-single/1.15.0
{{Commands
  salloc --time=0:30:0 --ntasks=1 --mem-per-cpu=3500 --account=def-someprof
|module load gcc chapel-single/1.15.0
  chpl test.chpl -o test
|salloc --time=0:30:0 --ntasks=1 --mem-per-cpu=3500 --account=def-someprof
  ./test
|chpl test.chpl -o test
|./test
}}
<translate>
<translate>
<!--T:8-->
<!--T:8-->
or on multiple cores on the same node:
or on multiple cores on the same node:
</translate>
</translate>
  module load gcc chapel-single/1.15.0
{{Commands
  salloc --time=0:30:0 --ntasks=1 --cpus-per-task=3 --mem-per-cpu=3500 --account=def-someprof
|module load gcc chapel-single/1.15.0
  chpl test.chpl -o test
|salloc --time=0:30:0 --ntasks=1 --cpus-per-task=3 --mem-per-cpu=3500 --account=def-someprof
  ./test
|chpl test.chpl -o test
|./test
}}
<translate>
<translate>
<!--T:9-->
<!--T:9-->
Bureaucrats, cc_docs_admin, cc_staff
2,306

edits