Skip to content

Slurm, Reference

Important Commands

There are a number of commands you need to interact with the scheduler.

  1. squeue - List running and pending jobs.
  2. sbatch /path/to/scipt.job - Submit job script.
  3. scancel ${jobid} - Cancel job with ID ${jobid}.
  4. sinfo - Get some information on the cluster.

Further Reading

There is much more to Slurm than discussed here and there are copious amounts of guidelines on the internet. See, for example,

  1. Official Documentation (https://slurm.schedmd.com/documentation.html)
  2. Array Jobs (https://slurm.schedmd.com/job_array.html)
  3. Build Job Pipelines using Dependencies (https://hpc.nih.gov/docs/job_dependencies.html)
  4. UiT Slurm Examples (https://hpc-uit.readthedocs.io/en/latest/jobs/examples.html)
  5. LMGTFY (http://www.lmgtfy.com/?q=slurm+tutorial)