Running jobs: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Marked this version for translation)
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, 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 three GB of memory, for an hour:
  $ salloc --time=1:0:0 --ntasks=2 --account=def-someuser
  $ salloc --time=1:0:0 --mem=3G --ntasks=2 --account=def-someuser
  salloc: Granted job allocation 1234567
  salloc: Granted job allocation 1234567
  $ ...            # do some work
  $ ...            # do some work
Bureaucrats, cc_docs_admin, cc_staff
2,306

edits

Navigation menu