So that's what's throwing me off. I already configured the queue using:<div><br></div><div>
<p class="MsoNormal"><span style="font-family:Times">[root@bic
database]# qmgr -c 'create queue batch'</span></p>
<p class="MsoNormal"><span style="font-family:Times">[root@bic
database]# qmgr -c 'set queue batch queue_type = execution'</span></p>
<p class="MsoNormal"><span style="font-family:Times">[root@bic
database]# qmgr -c 'set queue batch started = true'</span></p>
<p class="MsoNormal"><span style="font-family:Times">[root@bic
database]# qmgr -c 'set queue batch enabled = true'</span></p>
<p class="MsoNormal"><span style="font-family:Times">[root@bic
database]# qmgr -c 'set queue batch resources_default.nodes=1:ppn=1'</span></p>
<p class="MsoNormal"><span style="font-family:Times"> </span></p>
<p class="MsoNormal"><span style="font-family:Times">[root@bic
database]# qmgr -c "set queue batch keep_completed=120"</span></p>
<p class="MsoNormal"><span style="font-family:Times">[root@bic
database]# qmgr -c "set server default_queue=batch" </span></p>
<p class="MsoNormal"><span style="font-family:Times">[root@bic
database]# qmgr -c "set server query_other_jobs = true"</span></p>
<div><br></div><div>I assumed, by default, if the user doesn't specify any resources, a job would consume 1 core on 1 node. My nodes file shows:</div><div><br></div><div>[root@bic hg19]# cat /var/spool/torque/server_priv/nodes </div>
<div>compute-0-0 np=8</div><div>compute-0-1 np=8</div><div>compute-0-2 np=8</div><div><br></div><div>So Torque knows there are 8 cpus per node, and I haven't set a maximum limit to how many resources a job could use. To me, requesting 2 cpus on 1 node should have succeeded. </div>
<div><br></div><div><div class="gmail_quote">On Fri, Jan 13, 2012 at 11:18 AM, Axel Kohlmeyer <span dir="ltr"><<a href="mailto:akohlmey@cmm.chem.upenn.edu">akohlmey@cmm.chem.upenn.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="HOEnZb"><div class="h5">On Fri, Jan 13, 2012 at 10:59 AM, Ryan Golhar<br>
<<a href="mailto:ngsbioinformatics@gmail.com">ngsbioinformatics@gmail.com</a>> wrote:<br>
> Hi - I have a ROCKS cluster running and installed Torque. I'm able to<br>
> submit 1 core, 1 cpu jobs without problem. I tried submitting a job that<br>
> requested 4 cpus on 1 node using<br>
><br>
> #PBS -l nodes=1:ppn=4<br>
><br>
> in my job submission script. When I submit the job however, I get the<br>
> error:<br>
><br>
> qsub: Job exceeds queue resource limits MSG=cannot locate feasible nodes<br>
> (nodes file is empty or requested nodes exceed all systems)<br>
><br>
> If I run anodes, I see:<br>
><br>
> compute-0-0<br>
> state = free<br>
> np = 8<br>
> ntype = cluster<br>
> status =<br>
> rectime=1326469800,varattr=,jobs=,state=free,netload=1720539412488,gres=,loadave=0.01,ncpus=8,physmem=16431248kb,availmem=17311704kb,totmem=17451364kb,idletime=339141,nusers=0,nsessions=?<br>
> 15201,sessions=? 15201,uname=Linux compute-0-0.local 2.6.18-238.19.1.el5 #1<br>
> SMP Fri Jul 15 07:31:24 EDT 2011 x86_64,opsys=linux<br>
> gpus = 0<br>
><br>
><br>
> All my compute nodes have 8 cpus. Do I need to tell Torque this? I thought<br>
> Torque could figure this out from np=8 or ncpus=8.<br>
<br>
</div></div>the error message says that the request exceeds the queue configuration.<br>
that is being checked before it looks at any nodes. thus you probably have<br>
to adjust the queue configuration.<br>
<br>
axel.<br>
<br>
<br>
><br>
> Ryan<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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Dr. Axel Kohlmeyer <a href="mailto:akohlmey@gmail.com">akohlmey@gmail.com</a><br>
<a href="http://sites.google.com/site/akohlmey/" target="_blank">http://sites.google.com/site/akohlmey/</a><br>
<br>
Institute for Computational Molecular Science<br>
Temple University, Philadelphia PA, USA.<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>
</font></span></blockquote></div><br></div></div>