[Mauiusers] using standing reservation to set job limit of 12 hours for Mon-Fri
lindheim at cacr.caltech.edu
Mon Oct 26 14:33:03 MDT 2009
On Mon, Oct 26, 2009 at 02:45:36PM +0530, rishi pathak wrote:
> I misunderstood your question.
> What if I specify
> STARTTIME=1:00:00:01 # start on 12 at night on monday
> ENDTIME=5:23:59:59 # end on friday night at 12 in night
Thanks for the suggestion, Rishi.
It looks like the STARTTIME=1:00:00:01 means relative time from DAYS=Mon.
If I restart maui with this, the reservation gets set up starting at
Tuesday morning. This is very different from what the example shows.
Also, if maui gets restarted in the middle of the week, a standing
reservation for the current week would not show up again.
> On Fri, Oct 23, 2009 at 10:43 PM, Jan Lindheim <lindheim at cacr.caltech.edu>
> >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.
> Jan Lindheim
> >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
> > hours)
> > are allowed to run. The problem with this is having cron
> > when this queue gets started and stopped. Also it does not take
> > 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
> > reservation for this, does not seem to behave like documented.
> > Following one of the examples at:
> > http://www.clusterresources.com/products/maui/docs/
> > I would have expected that I could have a time limit of 12 hours for
> > jobs
> > running on weekdays and allow 24 hours on weekends by doing the
> > following:
> > 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
> > Reservations
> > 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
> > configuration
> > at all. What am I doing wrong?
> > This is using maui-3.2.6p21.
> > Thanks for any insight on this!
> > Regards,
> > Jan Lindheim
> > _______________________________________________
> > mauiusers mailing list
> > mauiusers at supercluster.org
> > http://www.supercluster.org/mailman/listinfo/mauiusers
> >Rishi Pathak
> >National PARAM Supercomputing Facility
> >Center for Development of Advanced Computing(C-DAC)
> >Pune University Campus,Ganesh Khind Road
> mauiusers mailing list
> mauiusers at supercluster.org
> Rishi Pathak
> National PARAM Supercomputing Facility
> Center for Development of Advanced Computing(C-DAC)
> Pune University Campus,Ganesh Khind Road
More information about the mauiusers