# scontrol show res
ReservationName=test1 StartTime=2015-07-17T17:00:03 EndTime=2015-07-17T19:00:03 Duration=02:00:00
Nodes=node001 NodeCnt=1 CoreCnt=1 Features=(null) PartitionName=compute Flags=DAILY
Users=root Accounts=(null) Licenses=(null) State=ACTIVE
ReservationName=test2 StartTime=2015-07-17T17:00:00 EndTime=2015-07-17T19:00:00 Duration=02:00:00
Nodes=node001 NodeCnt=1 CoreCnt=1 Features=(null) PartitionName=compute Flags=
Users=root Accounts=(null) Licenses=(null) State=ACTIVE
# scontrol show jobs
JobId=1502 JobName=sbatch
UserId=root(0) GroupId=root(0)
Priority=1 Nice=0 Account=root QOS=normal WCKey=*
JobState=PENDING Reason=Reservation Dependency=(null)
Requeue=1 Restarts=0 BatchFlag=1 Reboot=0 ExitCode=0:0
RunTime=00:00:00 TimeLimit=00:01:00 TimeMin=N/A
SubmitTime=2015-07-17T17:35:40 EligibleTime=2015-07-17T17:35:40
StartTime=Unknown EndTime=Unknown
PreemptTime=None SuspendTime=None SecsPreSuspend=0
Partition=compute AllocNode:Sid=master:5384
ReqNodeList=(null) ExcNodeList=(null)
NodeList=(null)
NumNodes=1 NumCPUs=1 CPUs/Task=1 ReqB:S:C:T=0:0:*:*
Socks/Node=* NtasksPerN:B:S:C=0:0:*:* CoreSpec=*
MinCPUsNode=1 MinMemoryNode=0 MinTmpDiskNode=0
Features=(null) Gres=(null) Reservation=test2
Shared=OK Contiguous=0 Licenses=(null) Network=(null)
Command=(null)
WorkDir=/var/log/slurm
StdErr=/var/log/slurm/slurm-1502.out
StdIn=/dev/null
StdOut=/var/log/slurm/slurm-1502.out
JobId=1503 JobName=sbatch
UserId=root(0) GroupId=root(0)
Priority=1 Nice=0 Account=root QOS=normal WCKey=*
JobState=PENDING Reason=Reservation Dependency=(null)
Requeue=1 Restarts=0 BatchFlag=1 Reboot=0 ExitCode=0:0
RunTime=00:00:00 TimeLimit=00:01:00 TimeMin=N/A
SubmitTime=2015-07-17T17:35:48 EligibleTime=2015-07-17T17:35:48
StartTime=2015-07-17T19:00:01 EndTime=Unknown
PreemptTime=None SuspendTime=None SecsPreSuspend=0
Partition=compute AllocNode:Sid=master:5384
ReqNodeList=(null) ExcNodeList=(null)
NodeList=(null) SchedNodeList=node001
NumNodes=1 NumCPUs=1 CPUs/Task=1 ReqB:S:C:T=0:0:*:*
Socks/Node=* NtasksPerN:B:S:C=0:0:*:* CoreSpec=*
MinCPUsNode=1 MinMemoryNode=0 MinTmpDiskNode=0
Features=(null) Gres=(null) Reservation=test1
Shared=OK Contiguous=0 Licenses=(null) Network=(null)
Command=(null)
WorkDir=/var/log/slurm
StdErr=/var/log/slurm/slurm-1503.out
StdIn=/dev/null
StdOut=/var/log/slurm/slurm-1503.out
# sq
JOBID PRIOR QOS PARTITION NAME USER ST TIME TIME_LIMIT START_TIME NODE CPUS FEAT NODELIST(REASON)
1503 1 normal compute sbatch root PD 0:00 1:00 2015-07-17T19:00:01 1 1 (nul (Reservation)
1502 1 normal compute sbatch root PD 0:00 1:00 N/A 1 1 (nul (Reservation)
Interestingly, the job that requested the one-time (test2) res ran after its reservation had ended, and the job requesting the daily (test1) res did not run (however, we have ResvOverRun=0, and were at the end of the res):
# sacct -j 1502
JobID QOS Partition User JobName NNod Allo MaxVMSize State Start Elapsed ExitCod NodeList
---------- -------- ---------- -------- ----------------------------------------------------- ---- ---- ---------- --------- -------------------- -------- ------- ----------
1502 normal compute root sbatch 1 1 COMPLETED 2015-07-17T19:01:27 00:00:30 0:0 node001
1502.batch batch 1 1 207016K COMPLETED 2015-07-17T19:01:27 00:00:30 0:0 node001
# sq
JOBID PRIOR QOS PARTITION NAME USER ST TIME TIME_LIMIT START_TIME NODE CPUS FEAT NODELIST(REASON)
1503 1 normal compute sbatch root PD 0:00 1:00 N/A 1 1 (nul (Reservation)
Best,
Lyn