<br><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 2:56 PM, Gus Correa <span dir="ltr"><<a href="mailto:gus@ldeo.columbia.edu">gus@ldeo.columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 04/24/2012 02:31 PM, Christina Salls wrote:<br>
><br>
><br>
> On Tue, Apr 24, 2012 at 1:28 PM, Gus Correa <<a href="mailto:gus@ldeo.columbia.edu">gus@ldeo.columbia.edu</a><br>
</div><div class="im">> <mailto:<a href="mailto:gus@ldeo.columbia.edu">gus@ldeo.columbia.edu</a>>> wrote:<br>
><br>
><br>
> On 04/24/2012 01:09 PM, Christina Salls wrote:<br>
> ><br>
> ><br>
> > On Tue, Apr 24, 2012 at 12:59 PM, David Beer<br>
> > <<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a> <mailto:<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a>><br>
</div><div class="im">> <mailto:<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a><br>
> <mailto:<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a>>>> wrote:<br>
> ><br>
</div><div class="im">> > Sorry for the confusion, I meant that you should replace<br>
> <specific<br>
> > node> with the node's name. Thanks for clarifying Gus.<br>
> ><br>
> > Of course, I should have realized that! Thanks again.<br>
> ><br>
> > Now that I have node n020 assigned to the hydrology queue, will that<br>
> > make it unavailable to the batch queue?<br>
> ><br>
><br>
><br>
> In maui.cfg<br>
><br>
> ENABLEMULTIREQJOBS TRUE<br>
><br>
> See the Maui Admin Guide for the meaning:<br>
> <a href="http://www.adaptivecomputing.com/resources/docs/maui/a.fparameters.php" target="_blank">http://www.adaptivecomputing.com/resources/docs/maui/a.fparameters.php</a><br>
><br>
> I am still using the built in scheduler in torque. I haven't installed<br>
> maui yet.<br>
><br>
<br>
</div>Not sure if this will work with pbs_sched,<br>
but may be worth trying.<br>
<br>
1) In server_priv/nodes add some 'properties' to your nodes,<br>
something like this:<br>
<br>
n001 np=8 generic<br>
n002 np=8 generic<br>
...<br>
n019 np=8 generic<br>
n020 np=8 hydro<br>
<br>
'generic' and 'hydro' are node 'properties',<br>
you can call them any string you want, and use as many<br>
'properties' you want/need for each node.<br>
<br>
<a href="http://www.adaptivecomputing.com/resources/docs/torque/3-0-3/3.2nodeproperties.php" target="_blank">http://www.adaptivecomputing.com/resources/docs/torque/3-0-3/3.2nodeproperties.php</a><br>
<a href="http://www.adaptivecomputing.com/resources/docs/torque/3-0-3/4.1queueconfig.php#mapping" target="_blank">http://www.adaptivecomputing.com/resources/docs/torque/3-0-3/4.1queueconfig.php#mapping</a><br>
<a href="http://www.adaptivecomputing.com/resources/docs/torque/3-0-3/2.1jobsubmission.php" target="_blank">http://www.adaptivecomputing.com/resources/docs/torque/3-0-3/2.1jobsubmission.php</a><br>
<br>
2) Reconfigure slightly your queues to default<br>
to 'generic' and 'hydro' nodes, say:<br>
<br>
set queue batch resources_default.neednodes = generic<br>
set queue hydrology resources_default.neednodes = hydro<br>
<br>
[unset the previous neednodes = 020 in the hydrology queue].<br>
<br>
I hope this helps,<br>
Gus Correa<br>
<div class="im"><br></div></blockquote><div><br></div><div>Definitely worth a try - it makes perfect sense. Thanks for the suggestion. The only roadblock I am concerned with is the fact that something within torque dynamically modifies the nodes file. I am hoping it will leave my modifications intact. I will let you know what happens. </div>
<div><br></div><div>Thanks!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
> I hope it helps,<br>
> Gus Correa<br>
><br>
> > David<br>
> ><br>
> ><br>
> > On Tue, Apr 24, 2012 at 10:21 AM, Christina Salls<br>
> > <<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a> <mailto:<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a>><br>
</div><div class="im">> <mailto:<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a> <mailto:<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a>>>><br>
> wrote:<br>
> ><br>
> ><br>
> ><br>
</div><div class="im">> > On Tue, Apr 24, 2012 at 12:10 PM, Gus Correa<br>
> > <<a href="mailto:gus@ldeo.columbia.edu">gus@ldeo.columbia.edu</a> <mailto:<a href="mailto:gus@ldeo.columbia.edu">gus@ldeo.columbia.edu</a>><br>
</div><div><div class="h5">> <mailto:<a href="mailto:gus@ldeo.columbia.edu">gus@ldeo.columbia.edu</a> <mailto:<a href="mailto:gus@ldeo.columbia.edu">gus@ldeo.columbia.edu</a>>>> wrote:<br>
> ><br>
> > On 04/24/2012 12:00 PM, Christina Salls wrote:<br>
> > > Hi David,<br>
> > ><br>
> > > I tried using that synax and had a problem:<br>
> > ><br>
> > > Qmgr: set queue hydrology resources_default.need_nodes=<n020><br>
> ><br>
> > The syntax takes just the node name, I believe:<br>
> ><br>
> > set queue hydrology resources_default.need_nodes=n020<br>
> ><br>
> ><br>
> > Thanks Gus, I unset the resource and reset it without the<br>
> brackets.<br>
> > Qmgr: unset queue hydrology resources_default.neednodes<br>
> > Qmgr: set queue hydrology resources_default.neednodes= n020<br>
> > Qmgr: print queue hydrology<br>
> > #<br>
> > # Create queues and set their attributes.<br>
> > #<br>
> > #<br>
> > # Create and define queue hydrology<br>
> > #<br>
> > create queue hydrology<br>
> > set queue hydrology queue_type = Execution<br>
> > set queue hydrology resources_default.neednodes = n020<br>
> > set queue hydrology enabled = True<br>
> > set queue hydrology started = True<br>
> ><br>
> ><br>
> > > qmgr obj=hydrology svr=default: Unknown resource type<br>
> > > resources_default.need_nodes<br>
> > ><br>
> > > This is what ended up working for me. Thanks again for<br>
> > your help!<br>
> > ><br>
> > > Qmgr: set queue hydrology resources_default.neednodes=<n020><br>
> > > Qmgr: print queue hydrology<br>
> > > #<br>
> > > # Create queues and set their attributes.<br>
> > > #<br>
> > > #<br>
> > > # Create and define queue hydrology<br>
> > > #<br>
> > > create queue hydrology<br>
> > > set queue hydrology queue_type = Execution<br>
> > > set queue hydrology resources_default.neednodes = <n020><br>
> > > set queue hydrology enabled = True<br>
> > > set queue hydrology started = True<br>
> > > Qmgr:<br>
> > ><br>
> > ><br>
> > ><br>
> > > On Tue, Apr 24, 2012 at 11:50 AM, Christina Salls<br>
> > > <<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a> <mailto:<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a>><br>
> > <mailto:<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a> <mailto:<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a>>><br>
> > <mailto:<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a> <mailto:<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a>><br>
> > <mailto:<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a><br>
> <mailto:<a href="mailto:christina.salls@noaa.gov">christina.salls@noaa.gov</a>>>>> wrote:<br>
> > ><br>
> > ><br>
> > ><br>
> > > On Tue, Apr 24, 2012 at 11:38 AM, David Beer<br>
> > > <<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a> <mailto:<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a>><br>
> > <mailto:<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a><br>
> <mailto:<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a>>><br>
> > <mailto:<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a><br>
> <mailto:<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a>><br>
> > <mailto:<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a><br>
> <mailto:<a href="mailto:dbeer@adaptivecomputing.com">dbeer@adaptivecomputing.com</a>>>>><br>
> > > wrote:<br>
> > ><br>
> > > Christina<br>
> > ><br>
> > > To make the hydrology queue request <specific<br>
> > node> by default -<br>
> > ><br>
> > > 'set queue hydrology<br>
> > resources_default.need_nodes=<specific node>'<br>
> > ><br>
> > > David<br>
> > ><br>
> > ><br>
> > > Thanks David!!<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br></div></div></blockquote></div>