title: Ensuring one Job Per Node on StarCluster / SunGridEngine (SGE)
body: <p>When <code>qsub</code>ing jobs on a StarCluster / SGE cluster, is there an easy way to ensure that each node receives at most one job at a time? I am having issues where multiple jobs end up on the same node leading to out of memory (OOM) issues.</p>
  
  <p>I tried using <code>-l cpu=8</code> but I think that does not check the number of USED cores just the number of cores on the box itself.</p>
  
  <p>I also tried <code>-l slots=8</code> but then I get:</p>
  
  <pre><code>Unable to run job: "job" denied: use parallel environments instead of requesting slots explicitly.
  </code></pre>