<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I think you are looking at nodesets:</p>
    <p><br>
    </p>
    <p>From the slurm.conf man:</p>
    <p>NODESET CONFIGURATION<br>
          The nodeset configuration allows you to define a name for a
      specific set of nodes which can be used to simplify the partition
      configuration section, especially for heterogenous or condo-style
      systems. Each nodeset may be defined by an explicit list of nodes,
      and/or by filtering the nodes by a particular configured feature.
      If both Feature= and Nodes= are used the nodeset shall be the
      union of the two subsets. Note that the nodesets are only used to
      simplify the partition definitions at present, and are not usable
      outside of the partition configuration.<br>
      Feature<br>
          All nodes with this single feature will be included as part of
      this nodeset.<br>
      Nodes<br>
          List of nodes in this set.<br>
      NodeSet<br>
          Unique name for a set of nodes. Must not overlap with any
      NodeName definitions.<br>
    </p>
    <p>Brian Andrus <br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 4/4/2022 1:08 PM, David Henkemeyer
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABjsmAHkJondEJHfxM620g0oUipmm1wJh6+59vrX8_x26aPWtA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">If I have a large number of heterogeneously named
        nodes in my cluster, and several partitions that include the
        same large subset of those nodes, I would love to be able to
        define an env var, and reference that in each partition
        specification.  For instance, say we have the following:<br>
        <br>
        <font face="monospace">PartitionName=hipri     
 Nodes=node1,node2,node3,foo1,foo2,bar1,bar3,linux1,linux2,ganymede1,jupiter1,mars1 Default=YES
          MaxTime=INFINITE State=UP PriorityJobFactor=10000<br>
        </font>
        <div><font face="monospace">PartitionName=lopri     
 Nodes=node1,node2,node3,foo1,foo2,bar1,bar3,linux1,linux2,ganymede1,jupiter1,mars1
            MaxTime=INFINITE State=UP <br>
            PartitionName=interactive
Nodes=node1,node2,node3,foo1,foo2,bar1,bar3,linux1,linux2,ganymede1,jupiter1,mars1
            MaxTime=INFINITE State=UP PriorityJobFactor=20000</font></div>
        <div>
          <div><font face="monospace">PartitionName=perf       
              Nodes=perf_node1,perf_node2,snoopy,linus,sally
              MaxTime=INFINITE State=UP PriorityJobFactor=20000</font></div>
          <etc><br>
          <br>
          I would love to be able to say something like:</div>
        <div><br>
NODEPOOL1=node1,node2,node3,foo1,foo2,bar1,bar3,linux1,linux2,ganymede1,jupiter1,mars1</div>
        <div>PERFNODES=perf_node1,perf_node2,snoopy,linus,sally</div>
        <div><br>
          <font face="monospace">PartitionName=hipri     
             Nodes=$NODEPOOL1 MaxTime=INFINITE </font><span
            style="font-family:monospace">Default=YES</span><span
            style="font-family:monospace"> </span><span
            style="font-family:monospace">State=UP PriorityJobFactor=10000</span></div>
        <div>
          <div><font face="monospace">PartitionName=lopri     
               Nodes=$NODEPOOL1 MaxTime=INFINITE State=UP <br>
              PartitionName=interactive Nodes=$NODEPOOL1
              MaxTime=INFINITE State=UP PriorityJobFactor=20000<br>
            </font></div>
        </div>
        <div><font face="monospace">PartitionName=perf       
            Nodes=$PERFNODES MaxTime=INFINITE
            State=UP PriorityJobFactor=20000</font><br>
        </div>
        <div><br>
        </div>
        <div>Is this possible?  </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>David</div>
      </div>
    </blockquote>
  </body>
</html>