wiki:cypress/jobpriority

For example:

[fuji@cypress1 ~]$ squeue -u fuji
     JOBID    QOS               NAME     USER ST       TIME NO NODELIST(REASON)
   1715517 normal           idv44908     fuji PD       0:00 18 (QOSResourceLimit)
   1715518 normal           idv44922     fuji PD       0:00 18 (QOSResourceLimit)
   1715516 normal           idv34257     fuji  R       0:04 18 cypress01-[007-012,015-019,024,031-032,034-035,070-071]

To check the priority,

[fuji@cypress1 ~]$ scontrol show job=1715517
JobId=1715517 Name=idv44908
   UserId=fuji(93238) GroupId=hpcstaff(5002)
   Priority=147 Nice=0 Account=hpcstaff QOS=normal
   JobState=PENDING Reason=QOSResourceLimit Dependency=(null)
   Requeue=0 Restarts=0 BatchFlag=1 ExitCode=0:0
   RunTime=00:00:00 TimeLimit=01:00:00 TimeMin=N/A
   SubmitTime=2021-09-21T13:41:16 EligibleTime=2021-09-21T13:41:16
   StartTime=Unknown EndTime=Unknown
   PreemptTime=None SuspendTime=None SecsPreSuspend=0
   Partition=defq AllocNode:Sid=cypress1:43063
   ReqNodeList=(null) ExcNodeList=(null)
   NodeList=(null)
   NumNodes=18-18 NumCPUs=360 CPUs/Task=20 ReqB:S:C:T=0:0:*:*
   Socks/Node=* NtasksPerN:B:S:C=1:0:*:* CoreSpec=0
   MinCPUsNode=20 MinMemoryCPU=3200M MinTmpDiskNode=0
   Features=(null) Gres=mic:2 Reservation=(null)
   Shared=1 Contiguous=0 Licenses=(null) Network=(null)
   Command=/tmp/myjob_fuji.44908
   WorkDir=/home/fuji
   StdErr=/home/fuji/slurm-idv44908.o1715517
   StdIn=/dev/null
   StdOut=/home/fuji/slurm-idv44908.o1715517

[fuji@cypress1 ~]$ scontrol show job=1715518
JobId=1715518 Name=idv44922
   UserId=fuji(93238) GroupId=hpcstaff(5002)
   Priority=147 Nice=0 Account=hpcstaff QOS=normal
   JobState=PENDING Reason=QOSResourceLimit Dependency=(null)
   Requeue=0 Restarts=0 BatchFlag=1 ExitCode=0:0
   RunTime=00:00:00 TimeLimit=01:00:00 TimeMin=N/A
   SubmitTime=2021-09-21T13:41:20 EligibleTime=2021-09-21T13:41:20
   StartTime=Unknown EndTime=Unknown
   PreemptTime=None SuspendTime=None SecsPreSuspend=0
   Partition=defq AllocNode:Sid=cypress1:43236
   ReqNodeList=(null) ExcNodeList=(null)
   NodeList=(null)
   NumNodes=18-18 NumCPUs=360 CPUs/Task=20 ReqB:S:C:T=0:0:*:*
   Socks/Node=* NtasksPerN:B:S:C=1:0:*:* CoreSpec=0
   MinCPUsNode=20 MinMemoryCPU=3200M MinTmpDiskNode=0
   Features=(null) Gres=mic:2 Reservation=(null)
   Shared=1 Contiguous=0 Licenses=(null) Network=(null)
   Command=/tmp/myjob_fuji.44922
   WorkDir=/home/fuji
   StdErr=/home/fuji/slurm-idv44922.o1715518
   StdIn=/dev/null
   StdOut=/home/fuji/slurm-idv44922.o1715518

To make job 1715518 higher priority,

[fuji@cypress1 ~]$ scontrol update job=1715518 Priority=148

Job 1715518 will become active before Job 1715517.

Last modified 3 years ago Last modified on 09/21/21 13:52:40
Note: See TracWiki for help on using the wiki.