Basics · SLURM · 4 min read

What is Slurm?

Checked against the docs · SLURM documentation 26.05 · Last checked 11 November 2026 · Spot a mistake? Tell us

Short answer

Slurm is the workload manager that many university and national computing clusters use to share their computers: you describe the work and the resources it needs in a job script, and Slurm queues it, starts it on free nodes when its turn comes, and keeps a record of how it ran. You talk to it with a few commands, such as sbatch to submit, squeue to see the queue, scancel to cancel and sacct to see how a job ended.

What does Slurm do?

A computing cluster is many computers (nodes) shared by many people. Something has to decide whose work runs where, and when. On a Slurm cluster, Slurm does: the documentation calls it an open-source, fault-tolerant and highly scalable cluster management and job scheduling system for large and small Linux clusters.

The documentation gives it three jobs:

  1. it allocates access to nodes to users for some length of time, so they can do their work;
  2. it provides the framework for starting, running and monitoring that work (normally a parallel job) on the nodes it allocated;
  3. it arbitrates when there are more requests than nodes, by managing a queue of pending work.

What are nodes, partitions, jobs and steps?

The Quick Start guide names four things Slurm manages:

WordWhat it means
NodeOne computer in the cluster, Slurm's unit of compute.
PartitionA named group of nodes. The documentation says partitions can be thought of as job queues, each with its own limits: the largest job, the longest time, who may use it.
JobAn allocation of resources to one user for a stated amount of time.
Job stepA set of tasks, possibly in parallel, inside a job; one job can run one step on all its nodes or several smaller steps side by side.

Jobs are placed in priority order within a partition until its nodes, processors and memory are used up; the rest wait.

Behind the commands, a central manager (slurmctld) watches the resources and the work, and a small service on every node (slurmd) waits for work, runs it and reports back.

What does it look like in practice?

Most work goes in as a batch script: a shell script whose first lines, starting #SBATCH, ask for resources.

Job script
#!/bin/bash
#SBATCH --job-name=example
#SBATCH --partition=standard
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=32
#SBATCH --time=01:00:00
srun ./my_program

The partition name and the numbers are examples; your cluster's user guide gives its own. Then:

CommandWhat it does
sbatch job.shSubmits the script and prints its job ID. It returns at once; the job may then wait in the queue until its resources are free.
squeue --meShows your jobs in the queue and their state.
scancel <job id>Cancels a waiting or running job.
sacct -j <job id>Reports on a running or finished job, including how it ended.
sinfoShows the partitions and nodes and their state.

By default a batch job writes both its output and its errors to one file named slurm-<job id>.out. Slurm moves no other files: your program reads and writes where your script tells it to.

What do people mix up?

The mix-upWhat is true
"Submitting starts the job."sbatch only hands the script to Slurm; the documentation notes it may sit in the queue for some time before its resources are free.
"A partition is a separate machine."It is a group of nodes of the same cluster, with its own limits; partitions can even overlap.
"Slurm makes my program parallel."Slurm gives the job its nodes and starts the tasks (with srun); whether the program uses them well is up to the program and its settings.
"SLURM is an acronym I should spell out."The project writes its name as Slurm throughout its documentation: use it as a name.

Which value should I use?

How many nodes, tasks and hours to ask for each have a guide:

Verlet uses only these standard Slurm commands, from your own account, to follow your jobs; everything on this page works without it.

Updated
11 November 2026
Applies to
Slurm 26.05
Source check
Checked against the docs, 11 November 2026

Where can I read more?

The Slurm documentation (version 26.05):

What was this page checked against?

Checked against the SLURM documentation, version 26.05, 11 November 2026: Overview, Quick start user guide, sbatch and squeue. Every link on this page was opened.