cc_staff
43
edits
(Remove architecture-specific recommendations for Cedar; see the Cedar page instead) |
m (fixed the interactive job example) |
||
Line 221: | Line 221: | ||
<!--T:29--> | <!--T:29--> | ||
You can start an interactive session on a compute node with [https://slurm.schedmd.com/salloc.html salloc]. In the following example we request two tasks, which corresponds to two CPU cores and 3 GB of memory, for an hour: | You can start an interactive session on a compute node with [https://slurm.schedmd.com/salloc.html salloc]. In the following example we request two tasks, which corresponds to two CPU cores and 3 GB of memory, for an hour: | ||
$ salloc --time=1:0:0 --mem=3G --ntasks= | $ salloc --time=1:0:0 --mem-per-cpu=3G --ntasks=1 --account=def-someuser | ||
salloc: Granted job allocation 1234567 | salloc: Granted job allocation 1234567 | ||
$ ... # do some work | $ ... # do some work |