Slurm is an open-source, highly scalable cluster management and job scheduling system for Linux clusters. It provides three key functions:
- Allocating exclusive and/or non-exclusive access to resources (compute nodes) for tasks for a set amount of time.
- Providing a framework for starting, executing, and monitoring work on the set of allocated nodes.
- Arbitrating contention for resources by managing a queue of pending work.
References & Documentation
- sbatch: Command to submit a batch script to Slurm. It processes
#SBATCHdirectives to request specific resources (like CPUs, GPUs, memory, and time limits).- Source: sbatch Documentation
- Command Summary: A cheat sheet covering the core Slurm commands (
sbatch,srun,salloc,squeue, etc.) and their most common parameters.- Source: Slurm Summary PDF