Running jobs: Difference between revisions

no edit summary
m (fixed the interactive job example)
No edit summary
Line 220: Line 220:


<!--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 one task, which corresponds to one CPU cores and 3 GB of memory, for an hour:
  $ salloc --time=1:0:0 --mem-per-cpu=3G --ntasks=1 --account=def-someuser
  $ salloc --time=1:0:0 --mem-per-cpu=3G --ntasks=1 --account=def-someuser
  salloc: Granted job allocation 1234567
  salloc: Granted job allocation 1234567
Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,837

edits