[Mauiusers] Standing Reservations not working

James Tullos james at seainc.com
Mon Jul 3 15:59:37 MDT 2006


We are trying to set up Maui in combination with Torque, using 5 queues 
and 4 standing reservations.  The main reason for the standing 
reservations is to force one of the queues to only run overnight. 
However, jobs submitted directly into the overnight queue begin running 
immediately.  I'm including the relevant parts of the maui.cfg file. 
The classes are all defined as queues in Torque with the same limits, as 
well as a routing queue, which is the default queue.

################################

SRCFG[evening] STARTTIME=19:00:00 ENDTIME=24:00:00
SRCFG[evening] DAYS=MON,TUE,WED,THU,FRI,SAT,SUN
SRCFG[evening] HOSTLIST=n01,n02,n03,n04
SRCFG[evening] CLASSLIST=small,narrow,wide,overnight,long

SRCFG[morning] STARTTIME=00:00:00 ENDTIME=07:00:00
SRCFG[morning] DAYS=MON,TUE,WED,THU,FRI,SAT,SUN
SRCFG[morning] HOSTLIST=n01,n02,n03,n04
SRCFG[morning] CLASSLIST=small,narrow,wide,overnight,long

SRCFG[weekend] STARTTIME=07:00:00 ENDTIME=19:00:00
SRCFG[weekend] DAYS=SAT,SUN
SRCFG[weekend] HOSTLIST=n01,n02,n03,n04
SRCFG[weekend] CLASSLIST=small,narrow,wide,overnight,long

SRCFG[weekday] STARTTIME=07:00:00 ENDTIME=19:00:00
SRCFG[weekday] DAYS=MON,TUE,WED,THU,FRI
SRCFG[weekday] HOSTLIST=n01,n02,n03,n04
SRCFG[weekday] CLASSLIST=small,narrow,wide,long

CLASSCFG[small]     MAXPROC=2,8 MAXWC=7200
CLASSCFG[small]     MAXPROCPERUSER=2
CLASSCFG[small]     PRIORITY=55

CLASSCFG[narrow]    MAXPROC=2,8 MAXWC=43200
CLASSCFG[narrow]    MAXPROCPERUSER=2
CLASSCFG[narrow]    PRIORITY=45

CLASSCFG[wide]      MAXPROC=6,8 MAXPS=115200 MAXWC=19200
CLASSCFG[wide]      PRIORITY=35

CLASSCFG[overnight] MAXPROC=8   MAXWC=216000
CLASSCFG[overnight] PRIORITY=20

CLASSCFG[long]      MAXPROC=6
CLASSCFG[long]      PRIORITY=10

###################################

The job in question is being submitted directly to the overnight queue, 
and after submission, checkjob returns:



checking job 196

State: Running
Creds:  user:james  group:james  class:overnight  qos:DEFAULT
WallTime: 00:04:20 of 7:00:00
SubmitTime: Mon Jul  3 14:52:06
   (Time Queued  Total: 00:00:01  Eligible: 00:00:01)

StartTime: Mon Jul  3 14:52:07
Total Tasks: 1

Req[0]  TaskCount: 1  Partition: DEFAULT
Network: [NONE]  Memory >= 0  Disk >= 0  Swap >= 0
Opsys: [NONE]  Arch: [NONE]  Features: [NONE]
NodeCount: 1
Allocated Nodes:
[n02:1]


IWD: [NONE]  Executable:  [NONE]
Bypass: 0  StartCount: 1
PartitionMask: [ALL]
Flags:       RESTARTABLE

Reservation '196' (-00:04:08 -> 6:55:52  Duration: 7:00:00)
PE:  1.00  StartPriority:  25

Using showres gives:

Reservations

ReservationID       Type S       Start         End    Duration    N/P 
  StartTime

196                  Job R   -00:05:10     6:54:50     7:00:00    1/1 
  Mon Jul  3 14:52:07
evening.0.0         User -     4:02:43     9:02:43     5:00:00    1/2 
  Mon Jul  3 19:00:00
evening.1.0         User -  1:04:02:43  1:09:02:43     5:00:00    1/2 
  Tue Jul  4 19:00:00
morning.0           User -     9:02:43    16:02:43     7:00:00    1/2 
  Tue Jul  4 00:00:00
weekday.0.0         User -   -00:35:07     4:02:43     4:37:50    1/2 
  Mon Jul  3 14:22:10
weekday.1.0         User -    16:02:43  1:04:02:43    12:00:00    1/2 
  Tue Jul  4 07:00:00
morning.1.0         User -     9:02:43    16:02:43     7:00:00    2/4 
  Tue Jul  4 00:00:00

7 reservations located

So obviously something is missing.  I've restarted Maui and Torque since 
the last set of changes.

Thanks for any assistance.

-- 
James Tullos, Engineer
Software and Engineering Associates, Inc.


More information about the mauiusers mailing list