SLURM is a queue management system and stands for Simple Linux Utility for Resource Management. SLURM was developed at the Lawrence Livermore National Lab and currently runs some of the largest compute clusters in the world.
SLURM is similar in many ways to most other queue systems. You write a batch script then submit it to the queue manager. The queue manager then schedules your job to run on the queue (or partition in SLURM parlance) that you designate. Below we will provide an outline of how to submit jobs to SLURM, how SLURM decides when to schedule your job and how to monitor progress.
SLURM has a number of valuable features compared to other job management systems:
Summary of SLURM commands
The table below shows a summary of SLURM commands. These commands are described in more detail below along with links to the SLURM doc site.
|Submit a batch serial job||sbatch||
|Run a script interatively||srun||
|Kill a job||scancel||
|View status of queues||squeue||
|Check current job by id||sacct||