Hi Gus!!<br><br>I'm at home, so I don't remember exactly the options of the server, I just pasted the important ones. But if that option is necessary to submit jobs from other host, yes I have that option activated, cause submiting jobs from a different machine is working.<br>
<br>Since nobody answered me (but you) and the most of the people use Torque with either Maui or Moab, I'll probably install Maui tomorrow cause probably it's a bug but nobody realized cause nobody try to do that with pbs_sched.<br>
<br>Any way, THANK YOU SO MUCH for replying!!! You were the only one after three long mails with no trivial questions!! Maybe I should contact the Torque development mail-list. <br>I appreciate your effort!! Thanks again!!<br>
<br>Fer.<br><br><div class="gmail_quote">On Tue, Apr 20, 2010 at 20:22, 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Fernando<br>
<br>
Did you do this?<br>
<br>
qmgr -c 'set server allow_node_submit = True'<br>
<br>
You don't seem to have it in your 'print server' output.<br>
<br>
Anyway, you may need to use the Maui scheduler to achieve what you<br>
want, queues associated to different node attributes<br>
(COREDUO and XEON).<br>
<br>
I hope this helps.<br>
Gus Correa<br>
---------------------------------------------------------------------<br>
Gustavo Correa<br>
Lamont-Doherty Earth Observatory - Columbia University<br>
Palisades, NY, 10964-8000 - USA<br>
---------------------------------------------------------------------<br>
<div class="im"><br>
Fernando Campos wrote:<br>
> I just realized now that when I submit jobs from the master node, they<br>
> get filtered to the proper nodes correctly but when I submit them from<br>
> another submit_host, they are queued and run, but don't care about the<br>
> kind of node:<br>
><br>
> /41507-04/19/2010 18:16:04;0040;PBS_Server;Req;set_nodes;allocating<br>
</div>> nodes for job <a href="http://1209.master.node.com" target="_blank">1209.master.node.com</a> <<a href="http://1209.master.node.com" target="_blank">http://1209.master.node.com</a>> with<br>
<div class="im">> node expression 'COREDUO'<br>
><br>
> 41508-04/19/2010 18:16:04;0008;PBS_Server;Job;1209.//<a href="http://master.node.com" target="_blank">master.node.com</a><br>
</div>> <<a href="http://master.node.com" target="_blank">http://master.node.com</a>>//;could not locate requested resources<br>
<div class="im">> 'COREDUO' (node_spec failed) cannot allocate node '06.//<a href="http://node.com" target="_blank">node.com</a><br>
</div>> <<a href="http://node.com" target="_blank">http://node.com</a>>//' to job - node not currently available (nps<br>
<div class="im">> needed/free: 1/0, joblist: 1029.//<a href="http://master.node.com" target="_blank">master.node.com</a><br>
</div>> <<a href="http://master.node.com" target="_blank">http://master.node.com</a>>//:0,1208.//<a href="http://master.node.com" target="_blank">master.node.com</a><br>
> <<a href="http://master.node.com" target="_blank">http://master.node.com</a>>//:1)/<br>
><br>
> Obviously, <a href="http://master.node.com" target="_blank">master.node.com</a> <<a href="http://master.node.com" target="_blank">http://master.node.com</a>> is a fake name, but<br>
<div class="im">> the point is that when I try to launch a job to the /short/ queue,<br>
> torque realizes that "needsnode" of type COREDUO but there aren't any<br>
> available so doesn't allocate any node and stay waiting.<br>
><br>
> I would like, as I said on my previous mail, that if every COREDUO nodes<br>
> are busy, then use the other type of nodes: XEON. But at least I can see<br>
> the queue is filtering the allocation of nodes depending on the type.<br>
><br>
> Any idea why this doesn't work submiting the jobs from the submit_host?????<br>
><br>
><br>
> Thanks a lot again!<br>
><br>
><br>
> Fernando.<br>
><br>
> 2010/4/19 Fernando Campos <<a href="mailto:fernando.campos@uam.es">fernando.campos@uam.es</a><br>
</div>> <mailto:<a href="mailto:fernando.campos@uam.es">fernando.campos@uam.es</a>>><br>
<div><div></div><div class="h5">><br>
> Hi all!!<br>
><br>
> I'm having troubles configuring torque server. The situation is,<br>
> let's say, 10 nodes running pbs_mom, 1 master node running<br>
> pbs_server and pbs_sched (and NFS server and other stuffs), 1 submit<br>
> host with torque-client installed to launch jobs and check the queues.<br>
><br>
> The /nodes/ file makes two sets of nodes depending on the type of<br>
> processor: COREDUO and XEON.<br>
> I've added the bold lines to my queues configuration so, executing<br>
> /$ qmgr -c "p s"/ on the master node running pbs_server I get:<br>
><br>
> /#/<br>
> /# Create queues and set their attributes./<br>
> /#/<br>
> /#/<br>
> /# Create and define queue long/<br>
> /#/<br>
> /create queue long/<br>
> /set queue long queue_type = Execution/<br>
> /*set queue long resources_default.neednodes = XEON*/<br>
> /set queue long enabled = True/<br>
> /set queue long started = True/<br>
> /#/<br>
> /# Create and define queue short/<br>
> /#/<br>
> /create queue short/<br>
> /set queue short queue_type = Execution/<br>
> /set queue short resources_max.cput = 24:00:00/<br>
> /set queue short resources_max.walltime = 25:00:00/<br>
> /*set queue short resources_default.neednodes = COREDUO*/<br>
> /set queue short enabled = True/<br>
> /set queue short started = True/<br>
><br>
><br>
> So it's supposse that when I submit a job to the /short/ queue<br>
> should be executed on a COREDUO node, and if I submit a job to the<br>
> /long/ queue, execute on a XEON node. Obviously it's not working<br>
> like that and I realize that when I execute /$ qmgr -c "p s"/ from<br>
> the submit machine I get different answer:<br>
><br>
> /#<br>
> # Create queues and set their attributes.<br>
> #<br>
> #<br>
> # Create and define queue long<br>
> #<br>
> create queue long<br>
> set queue long queue_type = Execution<br>
> set queue long enabled = True<br>
> set queue long started = True<br>
> #<br>
> # Create and define queue short<br>
> #<br>
> create queue short<br>
> set queue short queue_type = Execution<br>
> set queue short resources_max.cput = 24:00:00<br>
> set queue short resources_max.walltime = 25:00:00<br>
> set queue short enabled = True<br>
> set queue short started = True<br>
> /<br>
><br>
> NO /*set queue <queue> resources_default.neednodes = <NODE_GROUP><br>
> */LINES AT ALL!!!!<br>
> I've already checked and used the submit host to submit jobs to the<br>
> master node and they are executed on the nodes. I have also checked<br>
> nodes status with pbsnodes and everything seem work fine but this:<br>
> they don't take care about "neednodes".<br>
><br>
> Have anybody got any idea about why is this working this way???<br>
><br>
> BTW, I also would like to send jobs on the short queue to XEON nodes<br>
> if all the COREDUO are busy and send jobs on the long queue to<br>
> COREDUO nodes if all the XEON are busy. Any hint??<br>
><br>
> Thank you very much.<br>
><br>
> Cheers.<br>
><br>
> Fernando.<br>
><br>
><br>
> --<br>
> ---------------------------------------------------------------------------------------------------------<br>
> Fernando Campos Del Pozo<br>
> Departamento de Física Teórica<br>
> Facultad de Ciencias / Módulo 15 (C-XI) / Despacho 512<br>
> Universidad Autónoma de Madrid<br>
> Tlf.: +34-914974893<br>
</div></div>> e-mail: <a href="mailto:fernando.campos@uam.es">fernando.campos@uam.es</a> <mailto:<a href="mailto:fernando.campos@uam.es">fernando.campos@uam.es</a>><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> torqueusers mailing list<br>
> <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
> <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
<br>
_______________________________________________<br>
torqueusers mailing list<br>
<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
<a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>---------------------------------------------------------------------------------------------------------<br>Fernando Campos Del Pozo<br>Departamento de Física Teórica<br>
Facultad de Ciencias / Módulo 15 (C-XI) / Despacho 512<br>Universidad Autónoma de Madrid<br>Tlf.: +34-914974893<br>e-mail: <a href="mailto:fernando.campos@uam.es">fernando.campos@uam.es</a><br>