Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
compute_slurm_reservations [2019/06/17 14:10]
ktm5j
compute_slurm_reservations [2019/06/17 14:19]
ktm5j
Line 12: Line 12:
  
 ===== Using Reservations ===== ===== Using Reservations =====
 +
 +==== Submitting Jobs ====
 +
  
 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 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=...%%''​.
Line 40: Line 43:
 [abcde@portal03 ~]$ sbatch reservation.sh [abcde@portal03 ~]$ sbatch reservation.sh
 </​code>​ </​code>​
 +
 +==== Listing Reservations ====
 +
 +You can see a listing of all active reservations by using the ''​%%scontrol%%''​ command:
 +
 +<​code>​
 +[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
 +   ​TRES=cpu=24
 +   ​Users=abcde Accounts=(null) Licenses=(null) State=ACTIVE BurstBuffer=(null) Watts=n/a
 +
 +</​code>​
 +
  • compute_slurm_reservations.txt
  • Last modified: 2019/06/17 14:19
  • by ktm5j