You can modify the all.q queue to assign a fixed number of slots to each node.<div><ul><li>If I remember correctly, &quot;$ qconf -mq all.q&quot; will bring up the configuration of the all.q queue in an editor. </li><li>Under the &quot;slots&quot; attribute should be a semilengthly string such as &quot;[node001=16],[node002=16],...&quot;</li>
<li>Try replacing the entire string with a single number such as &quot;2&quot;. This should assign each host to have only two slots.</li><li>Save the configuration and try a simple submission with the &#39;orte&#39; parallel environment and let me know if it works.</li>
</ul><div>Jesse</div></div><div><br><div class="gmail_quote">On Tue, Oct 16, 2012 at 1:37 PM, John St. John <span dir="ltr">&lt;<a href="mailto:johnthesaintjohn@gmail.com" target="_blank">johnthesaintjohn@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
I am having issues telling qsub to limit the number of jobs ran at any one time on each node of the cluster. There are sometimes ways to do this with things like &quot;qsub -l node=1:ppn=1&quot; or &quot;qsub -l procs=2&quot; or something. I even tried &quot;qsub -l slots=2&quot; but that gave me an error and told me to use the parallel environment. When I tried to use the &quot;orte&quot; parallel environment like &quot;-pe orte 2&quot; I see &quot;slots=2&quot; in my qstat list, but everything gets executed on one node at the same parallelization as before. How do I limit the number of jobs per node? I am running a process that consumes a very large amount of ram.<br>

<br>
Thanks,<br>
John<br>
<br>
<br>
_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
</blockquote></div><br></div>