This section describes SLURM commands and how to use the most important ones.
WIP
General features of SLURM are described in Section General information about the batch system, examples of batch job scripts for serial and parallel jobs are given in section Running programs (batch and interactive) and how to get information about jobs and system is described in section Monitoring and displaying job and system status.
SLURM commands
The following table shows SLURM commands and what they do.
| Command | Description |
|---|---|
| srun | Run a parallel job. |
| salloc |
Allocate resources for interactive use. |
| sbatch |
Submit a job script to a queue. |
| scancel | Signal jobs or job steps that are under the control of Slurm (cancel jobs or job steps) |
| sinfo | View information about SLURM nodes and partitions. |
| squeue | View information about jobs located in the SLURM scheduling queue |
| smap | Graphically view information about SLURM jobs, partitions, and set configurations parameters |
| scontrol | View (and modify, admins only) SLURM configuration and state. |