<div style="min-height:22px;margin-bottom:8px;">Thank you Brain,</div><div><font color="#444444">Another question is can one node has different weight for different partition?</font></div><div><font color="#444444">E.G node1 0.8 in Partition high but 0.5 in partition low?</font></div><div><font color="#444444"><br></font></div><div><font color="#444444">Best regards,</font></div><div><font color="#444444">Bill</font></div><div><div id="original-content"><br><br><div><div style="font-size:70%;padding:2px 0;">------------------ Original ------------------</div><div style="font-size:70%;background:#f0f0f0;color:#212121;padding:8px;border-radius:4px"><div><b>From:</b> Brian Andrus <toomuchit@gmail.com></div><div><b>Date:</b> Wed,Jun 27,2018 0:44 PM</div><div><b>To:</b> slurm-users <slurm-users@lists.schedmd.com></div><div><b>Subject:</b> Re: [slurm-users] Is It Possible to change the node order fordifferent partition</div></div></div><br>
<p>Yes, if you put a weight parameter to the nodes.</p>
<p>From the manpage:</p>
<p><i>Weight</i><i><br>
</i><i><br>
</i><i> The priority of the node for scheduling purposes. All
things being equal, jobs will be allocated the nodes with the
lowest weight which satisfies their requirements. For example, a
heterogeneous collection of nodes might be placed into a single
partition for greater system utilization, responsiveness and
capability. It would be preferable to allocate smaller memory
nodes rather than larger memory nodes if either will satisfy a
job's requirements. The units of weight are arbitrary, but
larger weights should be assigned to nodes with more processors,
memory, disk space, higher processor speed, etc. Note that if a
job allocation request can not be satisfied using the nodes with
the lowest weight, the set of nodes with the next lowest weight
is added to the set of nodes under consideration for use (repeat
as needed for higher weight values). If you absolutely want to
minimize the number of higher weight nodes allocated to a job
(at a cost of higher scheduling overhead), <b>give each node a
distinct Weight value and they will be added to the pool of
nodes being considered for scheduling individually</b>. The
default value is 1.</i></p>
<p>Brian Andrus</p>
<p><br>
</p>
On 6/26/2018 3:06 PM, Bill wrote:<br>
<blockquote cite="mid:tencent_152F0D6D645E9A2001A3C3E9@qq.com" type="cite" style="margin: 0px 0px 10px; padding: 14px 16px; color: rgb(149, 149, 149); background-color: rgb(245, 246, 250);">
<div style="min-height:22px;margin-bottom:8px;">Hi Everyone,</div>
<div style="min-height:22px;margin-bottom:8px;"><br>
</div>
<div style="min-height:22px;margin-bottom:8px;">For example, I
have two partitions, high,low each has same nodes node[1-10],
When we submit job to high partition the nodes order is
node1,node2......node10, when we submit job to low partition,
the order is node10,node9......node1.</div>
<div style="min-height:22px;margin-bottom:8px;"><br>
</div>
<div style="min-height:22px;margin-bottom:8px;">Is it possible to
do that?</div>
<div style="min-height:22px;margin-bottom:8px;"><br>
</div>
<div style="min-height:22px;margin-bottom:8px;">Thanks in advance,</div>
<div style="min-height:22px;margin-bottom:8px;">Bill</div>
</blockquote>
<br>
</div></div>