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.
Command | What it does | Example |
---|---|---|
sbatch | Submits your bash script to the scheduler | sbatch myScript.sh |
srun | Run a job interactively (not scheduled) | srun –pty /bin/bash [script or App] |
squeue | Lists currently scheduled and running jobs in the queue | squeue -u [username] |
sinfo | Displays current node usage for each partition of the cluster | sinfo |
scancel | Cancels specific job ID number | scancel 12345678 |