<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Jeff, <br>
      <br>
      Create a qos with maxjobs defined.  <br>
    </tt><tt><a href="https://slurm.schedmd.com/qos.html">https://slurm.schedmd.com/qos.html</a><br>
    </tt><tt><a
href="https://wiki.fysik.dtu.dk/niflheim/Slurm_accounting#quality-of-service-qos">https://wiki.fysik.dtu.dk/niflheim/Slurm_accounting#quality-of-service-qos</a><br>
    </tt><br>
    <tt><tt>If you haven't used slurm qos before, you may want to check
        out the other limits possible, they are more flexible than
        maxjobs.</tt><br>
      <br>
      Add the qos to the partition (qos=).<br>
      <br>
      -b<br>
    </tt><br>
    <div class="moz-cite-prefix">On 12/9/19 4:18 PM, Jeffrey R. Lang
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:BN7PR05MB62892CC40C895EB7BF26C60CA8580@BN7PR05MB6289.namprd05.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">I need to set up a partition that limits
          the number of jobs allowed to run at one time.   Looking at
          the slurm.conf page for partition definitions I don’t see a
          MaxJobs option.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Is there a way to limit the number of jobs
          in a partition?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks, Jeff<o:p></o:p></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>