Changes between Initial Version and Version 1 of cypress/jobpriority


Ignore:
Timestamp:
Sep 21, 2021 1:52:40 PM (4 months ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/jobpriority

    v1 v1  
     1For example:
     2{{{#!bash
     3[fuji@cypress1 ~]$ squeue -u fuji
     4     JOBID    QOS               NAME     USER ST       TIME NO NODELIST(REASON)
     5   1715517 normal           idv44908     fuji PD       0:00 18 (QOSResourceLimit)
     6   1715518 normal           idv44922     fuji PD       0:00 18 (QOSResourceLimit)
     7   1715516 normal           idv34257     fuji  R       0:04 18 cypress01-[007-012,015-019,024,031-032,034-035,070-071]
     8}}}
     9
     10To check the priority,
     11{{{#!bash
     12[fuji@cypress1 ~]$ scontrol show job=1715517
     13JobId=1715517 Name=idv44908
     14   UserId=fuji(93238) GroupId=hpcstaff(5002)
     15   Priority=147 Nice=0 Account=hpcstaff QOS=normal
     16   JobState=PENDING Reason=QOSResourceLimit Dependency=(null)
     17   Requeue=0 Restarts=0 BatchFlag=1 ExitCode=0:0
     18   RunTime=00:00:00 TimeLimit=01:00:00 TimeMin=N/A
     19   SubmitTime=2021-09-21T13:41:16 EligibleTime=2021-09-21T13:41:16
     20   StartTime=Unknown EndTime=Unknown
     21   PreemptTime=None SuspendTime=None SecsPreSuspend=0
     22   Partition=defq AllocNode:Sid=cypress1:43063
     23   ReqNodeList=(null) ExcNodeList=(null)
     24   NodeList=(null)
     25   NumNodes=18-18 NumCPUs=360 CPUs/Task=20 ReqB:S:C:T=0:0:*:*
     26   Socks/Node=* NtasksPerN:B:S:C=1:0:*:* CoreSpec=0
     27   MinCPUsNode=20 MinMemoryCPU=3200M MinTmpDiskNode=0
     28   Features=(null) Gres=mic:2 Reservation=(null)
     29   Shared=1 Contiguous=0 Licenses=(null) Network=(null)
     30   Command=/tmp/myjob_fuji.44908
     31   WorkDir=/home/fuji
     32   StdErr=/home/fuji/slurm-idv44908.o1715517
     33   StdIn=/dev/null
     34   StdOut=/home/fuji/slurm-idv44908.o1715517
     35
     36[fuji@cypress1 ~]$ scontrol show job=1715518
     37JobId=1715518 Name=idv44922
     38   UserId=fuji(93238) GroupId=hpcstaff(5002)
     39   Priority=147 Nice=0 Account=hpcstaff QOS=normal
     40   JobState=PENDING Reason=QOSResourceLimit Dependency=(null)
     41   Requeue=0 Restarts=0 BatchFlag=1 ExitCode=0:0
     42   RunTime=00:00:00 TimeLimit=01:00:00 TimeMin=N/A
     43   SubmitTime=2021-09-21T13:41:20 EligibleTime=2021-09-21T13:41:20
     44   StartTime=Unknown EndTime=Unknown
     45   PreemptTime=None SuspendTime=None SecsPreSuspend=0
     46   Partition=defq AllocNode:Sid=cypress1:43236
     47   ReqNodeList=(null) ExcNodeList=(null)
     48   NodeList=(null)
     49   NumNodes=18-18 NumCPUs=360 CPUs/Task=20 ReqB:S:C:T=0:0:*:*
     50   Socks/Node=* NtasksPerN:B:S:C=1:0:*:* CoreSpec=0
     51   MinCPUsNode=20 MinMemoryCPU=3200M MinTmpDiskNode=0
     52   Features=(null) Gres=mic:2 Reservation=(null)
     53   Shared=1 Contiguous=0 Licenses=(null) Network=(null)
     54   Command=/tmp/myjob_fuji.44922
     55   WorkDir=/home/fuji
     56   StdErr=/home/fuji/slurm-idv44922.o1715518
     57   StdIn=/dev/null
     58   StdOut=/home/fuji/slurm-idv44922.o1715518
     59}}}
     60
     61To make job 1715518 higher priority,
     62{{{#!bash
     63[fuji@cypress1 ~]$ scontrol update job=1715518 Priority=148
     64}}}
     65
     66Job 1715518 will become active before Job 1715517.