Prentice
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bisbal, Prentice
Sent: Wednesday, March 01, 2006 3:28 PM
To: Mike Renfro; [email protected]
Subject: RE: [Mauiusers] Scheduling systems to be available at certain times
When I use the post-3.2 style syntax in maui.cfg, I don't get
the expected results from showconfig.
My maui.cfg has
this
SRCFG[interactive]
ACCESS=DEDICATEDjavascript:SetCmd(cmdSend);
SRCFG[interactive]
PERIOD=DAY
SRCFG[interactive] DAYS=MON,TUE,WED,THU,FRI
SRCFG[interactive]
STARTTIME=06:00:00
SRCFG[interactive] ENDTIME=16:00:00
SRCFG[interactive]
HOSTLIST=underdog,optimus,hi-test,super
SRCFG[interactive]
CLASSLIST=interactive
SRCFG[interactive] FLAGS=BYNAME
But the output
of 'showconfig| grep SR' shows
this:
SRTASKCOUNT[0]
0
SRTPN[0]
0
SRRESOURCES[0]
PROCS=-1;MEM=0;DISK=0;SWAP=0
SRDEPTH[0]
2
SRSTARTTIME[0]
6:00:00
SRENDTIME[0]
16:00:00
SRWSTARTTIME[0]
00:00:00
SRWENDTIME[0]
00:00:00
SRDAYS[0]
Mon|Tue|Wed|Thu|Fri
SRHOSTLIST[0]
underdog optimus hi-test
super
SRCHARGEACCOUNT[0]
SRCFG[interactive]
CLASSLIST=interactive HOSTLIST=underdog optimus hi-test super
FLAGS=BYNAME
Notice that:
(1) The ACCESS directive is
ignored
(2) SRCFG has a different index than the rest of the SR*
paramters
What's up with that?
Prentice
-----Original
Message-----
From: [EMAIL PROTECTED] on behalf of Mike
Renfro
Sent: Wed 3/1/2006 2:56 PM
To:
[email protected]
Subject: Re: [Mauiusers] Scheduling systems to be
available at certain times
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
_______________________________________________ mauiusers mailing list [email protected] http://www.supercluster.org/mailman/listinfo/mauiusers
