This is an old revision of the document!

SLURM Reservations

Reservations for slurm nodes/resources can be requested by submitting a ticket by email to We can give out reservations for a specific amount of computing resources (Cores, Mem, GPU count, etc.) or by reserving an entire compute node or node group (i.e. slurm1 or slurm[1-5]).

In your request for a reservation, please be specific about:

  1. What resources are needed
  2. How long they will be needed
  3. Who has rights to use reservation (list of user IDs)

If you have been granted a reservation you will receive a reservation tag, a short string that is required to submit jobs. This string must be included in any srun or sbatch submissions via the flag --reservation=....

If our tag is “abcde_4” then you would submit jobs using the flag --reservation=abcde_4

This can be done at the command line:

[abcde@portal03 ~]$ sbatch --reservation=abcde_4
[abcde@portal03 ~]$ srun --reservation=abcde_4

Or you can include the flag in the header of your sbatch file:

[abcde@portal03 ~]$ cat
#SBATCH --job-name="Reservation Example" 
#SBATCH --error="stderr.txt"
#SBATCH --output="stdout.txt"
#SBATCH --reservation=abcde_4               <- Include reservation tag
[abcde@portal03 ~]$ sbatch

You can see a listing of all active reservations by using the scontrol command:

[abcde@portal03 ~]$ scontrol show res
ReservationName=abcde_4 StartTime=2019-06-25T00:00:00 EndTime=2019-07-02T16:00:00 
   Nodes=slurm1 NodeCnt=1 CoreCnt=12 Features=(null) PartitionName=(null) Flags=SPEC_NODES
   Users=abcde Accounts=(null) Licenses=(null) State=ACTIVE BurstBuffer=(null) Watts=n/a
  • compute_slurm_reservations.1560781099.txt.gz
  • Last modified: 2019/06/17 14:18
  • by ktm5j