cc_staff
292
edits
(Marked this version for translation) |
No edit summary |
||
Line 18: | Line 18: | ||
<!--T:7--> | <!--T:7--> | ||
For now, single-local Chapel on Compute Canada's general purpose clusters (Cedar, Graham and Béluga) is installed in a non-central location and can be initialized with a script. For example, you can use <code>salloc</code> to test Chapel codes in serial: | |||
</translate> | </translate> | ||
{{Commands | {{Commands | ||
| | |source /home/razoumov/startSingleLocale.sh | ||
|salloc --time=0:30:0 --ntasks=1 --mem-per-cpu=3500 --account=def-someprof | |salloc --time=0:30:0 --ntasks=1 --mem-per-cpu=3500 --account=def-someprof | ||
|chpl test.chpl -o test | |chpl test.chpl -o test | ||
Line 31: | Line 31: | ||
</translate> | </translate> | ||
{{Commands | {{Commands | ||
| | |source /home/razoumov/startSingleLocale.sh | ||
|salloc --time=0:30:0 --ntasks=1 --cpus-per-task=3 --mem-per-cpu=3500 --account=def-someprof | |salloc --time=0:30:0 --ntasks=1 --cpus-per-task=3 --mem-per-cpu=3500 --account=def-someprof | ||
|chpl test.chpl -o test | |chpl test.chpl -o test | ||
Line 43: | Line 43: | ||
<!--T:11--> | <!--T:11--> | ||
Installing multi-locale (distributed-memory) Chapel requires fine-tuning its launcher for the specific physical interconnect on | Installing multi-locale (distributed-memory) Chapel requires fine-tuning its launcher for the specific physical interconnect on a cluster. Since different Compute Canada clusters employ different physical interconnects, we do not have one multi-locale Chapel for all machines. Instead, multi-locale Chapel has been compiled in a separate directory as an experimental setup on each system. You can test this setup with the following Chapel code printing basic information about the nodes available inside your job: | ||
</translate> | </translate> | ||
Line 66: | Line 66: | ||
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: | ||
{{Commands | {{Commands | ||
| | |source /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 | ||
}} | }} |