University of Wisconsin–Madison

SLURM Commands

All SLURM command will start with the letter ‘s’. These commands can be found in /s/slurm/bin so you should be sure to have that in your PATH.

CommandWhat it doesExample
sbatchSubmits your bash script to the schedulersbatch myScript.sh
srunRun a job interactively (not scheduled)srun –pty /bin/bash [script or App]
squeueLists currently scheduled and running jobs in the queuesqueue -u [username]
sinfoDisplays current node usage for each partition of the clustersinfo
scancelCancels specific job ID numberscancel 12345678