On Wed, Mar 01, 2006 at 12:19:46PM -0500, Bisbal, Prentice wrote: > I'm using Maui 3.2.6p14 with Torque 2.0.0p4. Have have a handful of > servers and twice as many workstations. I'd like to set up my queue > so that during working hours (7 AM - 6PM) , jobs will run only on > the servers, but after hours and on weekends, maui will send any > jobs to any system meeting the job requirements. This should be > independent of when the job is submitted.
I don't have a complete solution, but we do have a normal working hours reservation working. In our case, we've got 28 workstations (named ch405[a-n] and ch409[a-n]) in a Windows lab that we reboot over to Linux outside of normal class and lab hours (8:00 AM through 12:00 AM Monday-Thursday, 8:00 AM-6:00 PM Friday, 2:00 PM-12:00 AM Sunday). Two Torque queues named ch405 and ch409 contain the 14 systems in each group. I don't know that the following is the best way to do the standing reservations, but it gets the job done. Suggestions for simplifying it are welcome. As to automatically routing a job to the overnight queue, we haven't done that. We just tell our users to submit a job to the ch405 or ch409 queues explicitly if needed, and jobs by default will go to a permanently-available queue. ===== SRCFG[labhours_montuewedthu] HOSTLIST=ch405a,ch405b,ch405c,ch405d,ch405e,ch405f,ch405g,ch405h,ch405i,ch405j,ch405k,ch405l,ch405m,ch405n,ch409a,ch409b,ch409c,ch409d,ch409e,ch409f,ch409g,ch409h,ch409i,ch409j,ch409k,ch409l,ch409m,ch409n SRCFG[labhours_tuewedthufri] ACCESS=DEDICATED SRCFG[labhours_tuewedthufri] DAYS=Tue,Wed,Thu,Fri SRCFG[labhours_tuewedthufri] STARTTIME=00:00:00 SRCFG[labhours_tuewedthufri] ENDTIME=1:00:00 SRCFG[labhours_tuewedthufri] TASKCOUNT=28 SRCFG[labhours_tuewedthufri] RESOURCES=PROCS:1 SRCFG[labhours_tuewedthufri] PERIOD=DAY SRCFG[labhours_tuewedthufri] DEPTH=7 SRCFG[labhours_tuewedthufri] HOSTLIST=ch405a,ch405b,ch405c,ch405d,ch405e,ch405f,ch405g,ch405h,ch405i,ch405j,ch405k,ch405l,ch405m,ch405n,ch409a,ch409b,ch409c,ch409d,ch409e,ch409f,ch409g,ch409h,ch409i,ch409j,ch409k,ch409l,ch409m,ch409n SRCFG[labhours_fri] ACCESS=DEDICATED SRCFG[labhours_fri] DAYS=Fri SRCFG[labhours_fri] STARTTIME=7:20:00 SRCFG[labhours_fri] ENDTIME=18:00:00 SRCFG[labhours_fri] RESOURCES=PROCS:1 SRCFG[labhours_fri] PERIOD=DAY SRCFG[labhours_fri] DEPTH=7 SRCFG[labhours_fri] TASKCOUNT=28 SRCFG[labhours_fri] HOSTLIST=ch405a,ch405b,ch405c,ch405d,ch405e,ch405f,ch405g,ch405h,ch405i,ch405j,ch405k,ch405l,ch405m,ch405n,ch409a,ch409b,ch409c,ch409d,ch409e,ch409f,ch409g,ch409h,ch409i,ch409j,ch409k,ch409l,ch409m,ch409n SRCFG[labhours_sun] ACCESS=DEDICATED SRCFG[labhours_sun] DAYS=Sun SRCFG[labhours_sun] STARTTIME=13:20:00 SRCFG[labhours_sun] ENDTIME=00:00:00 SRCFG[labhours_sun] RESOURCES=PROCS:1 SRCFG[labhours_sun] PERIOD=DAY SRCFG[labhours_sun] DEPTH=7 SRCFG[labhours_sun] TASKCOUNT=28 SRCFG[labhours_sun] HOSTLIST=ch405a,ch405b,ch405c,ch405d,ch405e,ch405f,ch405g,ch405h,ch405i,ch405j,ch405k,ch405l,ch405m,ch405n,ch409a,ch409b,ch409c,ch409d,ch409e,ch409f,ch409g,ch409h,ch409i,ch409j,ch409k,ch409l,ch409m,ch409n ===== -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- [EMAIL PROTECTED] _______________________________________________ mauiusers mailing list [email protected] http://www.supercluster.org/mailman/listinfo/mauiusers
