[Mauiusers] using standing reservation to set job limit of 12 hours for Mon-Fri
lindheim at cacr.caltech.edu
Fri Oct 23 11:13:32 MDT 2009
>Use DAYS=Sat, Sun and specify STARTTIME and ENDTIME for the said days
But wouldn't the STARTTIME and ENDTIME apply to all days listed?
I need the 12 hour limit applied from Monday 8am to Friday 4pm.
If each day gets a separate standing reservation, longer jobs are
able to get scheduled when maui sees that it can use x number of
of hours from the end of one day and y number of hours from the
beginning of the next day.
>On Thu, Oct 22, 2009 at 1:54 AM, Jan Lindheim <lindheim at cacr.caltech.edu>
> We have been using queues to control when long weekend jobs (12-24
> are allowed to run. The problem with this is having cron controlling
> when this queue gets started and stopped. Also it does not take into
> consideration that there is enough time to have f.ex. a 15 hour long
> job finish before 8am Monday morning when being launched on an early
> Sunday afternoon.
> Having maui controlling this seems more elegant, but using a standing
> reservation for this, does not seem to behave like documented.
> Following one of the examples at:
> I would have expected that I could have a time limit of 12 hours for
> running on weekdays and allow 24 hours on weekends by doing the
> SRCFG[weekday] HOSTLIST=shc*
> SRCFG[weekday] PERIOD=WEEK
> SRCFG[weekday] STARTTIME=1:08:00:00
> SRCFG[weekday] ENDTIME=5:16:00:00
> SRCFG[weekday] TIMELIMIT=12:00:00
> >From the documentation, this should have a 12 hour job limit from
> Monday at 8:00 to Friday 16:00. When restarting maui with these
> settings, I get:
> # showres
> ReservationID Type S Start End Duration
> N/P StartTime
> weekday.0.0 User - 00:00:00 3:11:12:24 3:11:12:24
> 3/3 Wed Oct 21 12:47:36
> weekday.1.0 User - 3:11:12:24 10:11:12:24 7:00:00:00
> 3/3 Sun Oct 25 00:00:00
> 2 reservations located
> The days the reservations are set, do not seem to match the
> at all. What am I doing wrong?
> This is using maui-3.2.6p21.
> Thanks for any insight on this!
> Jan Lindheim
> mauiusers mailing list
> mauiusers at supercluster.org
>National PARAM Supercomputing Facility
>Center for Development of Advanced Computing(C-DAC)
>Pune University Campus,Ganesh Khind Road
More information about the mauiusers