<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>For the record we filed a bug on this years ago:
      <a class="moz-txt-link-freetext" href="https://bugs.schedmd.com/show_bug.cgi?id=3875">https://bugs.schedmd.com/show_bug.cgi?id=3875</a>  Hasn't been fixed
      yet though everyone seems to agree it is a good idea.</p>
    <p>Florian's suggestion is probably the best stopgap until this
      feature is implemented.<br>
    </p>
    <p>-Paul Edmon-<br>
    </p>
    <div class="moz-cite-prefix">On 6/22/2020 7:11 AM, Florian Zillner
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:SL2PR03MB4330BCF4227DD17BA2C1B57FA8970@SL2PR03MB4330.apcprd03.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <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:0cm;
        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;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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"><span style="mso-fareast-language:EN-US"
            lang="EN-US">Durai,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US">To overcome this, we use noXXX features like
            below. Users can then request “8268&noGPU&EDR” to
            select nodes with 8268s on EDR without GPUs for example.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";mso-fareast-language:EN-US" lang="EN-US">#
            scontrol show node node5000 |grep AvailableFeatures<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";mso-fareast-language:EN-US" lang="EN-US">  
AvailableFeatures=192GB,2933MHz,SD530,Platinum,8268,rack25,EDR,sb7890_0416,enc2514,24C,SNCoff,<b>noGPU</b>,DISK,SSD<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";mso-fareast-language:EN-US" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US">Cheers,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US">Florian<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Courier
            New";mso-fareast-language:EN-US" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span
            lang="EN-US"> slurm-users
            <a class="moz-txt-link-rfc2396E" href="mailto:slurm-users-bounces@lists.schedmd.com"><slurm-users-bounces@lists.schedmd.com></a>
            <b>On Behalf Of </b>Durai Arasan<br>
            <b>Sent:</b> Montag, 22. Juni 2020 11:02<br>
            <b>To:</b> Slurm User Community List
            <a class="moz-txt-link-rfc2396E" href="mailto:slurm-users@lists.schedmd.com"><slurm-users@lists.schedmd.com></a><br>
            <b>Subject:</b> [External] [slurm-users] How to exclude
            nodes in sbatch/srun?<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">Hi,<o:p></o:p></p>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">The sbatch/srun commands have the
              "--constraint" option to select nodes with certain
              features. With this you can specify AND, OR, matching OR
              operators. But there is no NOT operator. How do you
              exclude nodes with a certain feature in the "--constraint"
              option? Or is there another option that can do it?<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">Thanks,<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">Durai Arasan<o:p></o:p></p>
          </div>
          <div>
            <div>
              <div>
                <p class="MsoNormal"><span style="color:black">Zentrum
                    für Datenverarbeitung<o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal"><span style="color:black">Tübingen<o:p></o:p></span></p>
              </div>
            </div>
            <div style="margin-top:1.5pt;outline:none">
              <p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>