<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [Mauiusers] Scheduling systems to be available at certain times</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>When I use the post-3.2 style syntax in maui.cfg, I don't get the expected results from showconfig.<BR>
<BR>
My maui.cfg has this<BR>
<BR>
SRCFG[interactive] ACCESS=DEDICATEDjavascript:SetCmd(cmdSend);<BR>
SRCFG[interactive] PERIOD=DAY<BR>
SRCFG[interactive] DAYS=MON,TUE,WED,THU,FRI<BR>
SRCFG[interactive] STARTTIME=06:00:00<BR>
SRCFG[interactive] ENDTIME=16:00:00<BR>
SRCFG[interactive] HOSTLIST=underdog,optimus,hi-test,super<BR>
SRCFG[interactive] CLASSLIST=interactive<BR>
SRCFG[interactive] FLAGS=BYNAME<BR>
<BR>
But the output of 'showconfig| grep SR' shows this:<BR>
<BR>
SRTASKCOUNT[0]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<BR>
SRTPN[0]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<BR>
SRRESOURCES[0]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PROCS=-1;MEM=0;DISK=0;SWAP=0<BR>
SRDEPTH[0]&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R>
SRCHARGEACCOUNT[0]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
SRCFG[interactive]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLASSLIST=interactive HOSTLIST=underdog optimus hi-test super FLAGS=BYNAME&nbsp;<BR>
<BR>
Notice that:<BR>
(1) The ACCESS directive is ignored<BR>
(2) SRCFG has a different index than the rest of the SR* paramters<BR>
<BR>
What's up with that?<BR>
<BR>
Prentice<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: mauiusers-bounces@supercluster.org on behalf of Mike Renfro<BR>
Sent: Wed 3/1/2006 2:56 PM<BR>
To: mauiusers@supercluster.org<BR>
Subject: Re: [Mauiusers] Scheduling systems to be available at certain times<BR>
<BR>
On Wed, Mar 01, 2006 at 12:19:46PM -0500, Bisbal, Prentice wrote:<BR>
<BR>
&gt; I'm using Maui 3.2.6p14 with Torque 2.0.0p4. Have have a handful of<BR>
&gt; servers and twice as many workstations. I'd like to set up my queue<BR>
&gt; so that during working hours (7 AM - 6PM) , jobs will run only on<BR>
&gt; the servers, but after hours and on weekends, maui will send any<BR>
&gt; jobs to any system meeting the job requirements. This should be<BR>
&gt; independent of when the job is submitted.<BR>
<BR>
I don't have a complete solution, but we do have a normal working<BR>
hours reservation working. In our case, we've got 28 workstations<BR>
(named ch405[a-n] and ch409[a-n]) in a Windows lab that we reboot over<BR>
to Linux outside of normal class and lab hours (8:00 AM through 12:00<BR>
AM Monday-Thursday, 8:00 AM-6:00 PM Friday, 2:00 PM-12:00 AM<BR>
Sunday). Two Torque queues named ch405 and ch409 contain the 14<BR>
systems in each group. I don't know that the following is the best way<BR>
to do the standing reservations, but it gets the job done. Suggestions<BR>
for simplifying it are welcome. As to automatically routing a job to<BR>
the overnight queue, we haven't done that. We just tell our users to<BR>
submit a job to the ch405 or ch409 queues explicitly if needed, and<BR>
jobs by default will go to a permanently-available queue.<BR>
<BR>
=====<BR>
<BR>
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<BR>
<BR>
SRCFG[labhours_tuewedthufri] ACCESS=DEDICATED<BR>
SRCFG[labhours_tuewedthufri] DAYS=Tue,Wed,Thu,Fri<BR>
SRCFG[labhours_tuewedthufri] STARTTIME=00:00:00<BR>
SRCFG[labhours_tuewedthufri] ENDTIME=1:00:00<BR>
SRCFG[labhours_tuewedthufri] TASKCOUNT=28<BR>
SRCFG[labhours_tuewedthufri] RESOURCES=PROCS:1<BR>
SRCFG[labhours_tuewedthufri] PERIOD=DAY<BR>
SRCFG[labhours_tuewedthufri] DEPTH=7<BR>
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<BR>
<BR>
SRCFG[labhours_fri] ACCESS=DEDICATED<BR>
SRCFG[labhours_fri] DAYS=Fri<BR>
SRCFG[labhours_fri] STARTTIME=7:20:00<BR>
SRCFG[labhours_fri] ENDTIME=18:00:00<BR>
SRCFG[labhours_fri] RESOURCES=PROCS:1<BR>
SRCFG[labhours_fri] PERIOD=DAY<BR>
SRCFG[labhours_fri] DEPTH=7<BR>
SRCFG[labhours_fri] TASKCOUNT=28<BR>
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<BR>
<BR>
SRCFG[labhours_sun] ACCESS=DEDICATED<BR>
SRCFG[labhours_sun] DAYS=Sun<BR>
SRCFG[labhours_sun] STARTTIME=13:20:00<BR>
SRCFG[labhours_sun] ENDTIME=00:00:00<BR>
SRCFG[labhours_sun] RESOURCES=PROCS:1<BR>
SRCFG[labhours_sun] PERIOD=DAY<BR>
SRCFG[labhours_sun] DEPTH=7<BR>
SRCFG[labhours_sun] TASKCOUNT=28<BR>
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<BR>
<BR>
=====<BR>
<BR>
--<BR>
Mike Renfro&nbsp; / R&amp;D Engineer, Center for Manufacturing Research,<BR>
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu<BR>
_______________________________________________<BR>
mauiusers mailing list<BR>
mauiusers@supercluster.org<BR>
<A HREF="http://www.supercluster.org/mailman/listinfo/mauiusers">http://www.supercluster.org/mailman/listinfo/mauiusers</A><BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>