<div dir="ltr"><div dir="auto">Thanks for the info.<div dir="auto">Thing is that I don<span class="gmail_default" style="font-family:tahoma,sans-serif">'</span>t want to totally set the node as unhealthy. <span class="gmail_default" style="font-family:tahoma,sans-serif">Assume the following scenarios:</span></div><div dir="auto"><span class="gmail_default" style="font-family:tahoma,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">compute-0-0 running slurm jobs and system load is 15 (32 cores)</span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">compute-0-1 running non-slurm jobs and system load is 25 (32 cores)<br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">Then a new slurm job should be dispatched to compute-0-0</span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">compute-0-0 running slurm jobs and system load is 25 (32 cores)</span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">compute-0-1 running non-slurm jobs and system load is 10 (32 cores)</span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">Then a new slurm job should be run on compute-0-1 (assuming that it need about 10 cores and not 30 cores).</span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">I know that running non slurm jobs sounds ugly, but there are some X11 applications that are not slurm friendly. <br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif">Number of non slurm nodes though are small.</span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif"><br></span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif"><br></span></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 23, 2019, 18:45 Prentice Bisbal <<a href="mailto:pbisbal@pppl.gov" target="_blank">pbisbal@pppl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><br>
</p>
<div class="gmail-m_-3616881459055500828m_5280490948448683579moz-cite-prefix">On 4/23/19 2:47 AM, Mahmood Naderan
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">How
can I change the job distribution policy? Since some nodes are
running non-slurm jobs, it seems that the dispatcher isn't
aware of system load. Therefore, it assumes that the node is
free.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">I
want to change the policy based on the system load.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br clear="all">
</div>
<div>
<div dir="ltr" class="gmail-m_-3616881459055500828m_5280490948448683579gmail_signature">
<div dir="ltr"><font face="tahoma,sans-serif">Regards,<br>
Mahmood</font><br>
<br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<p>This is not a good practice. Allowing users to submit jobs that
are controlled by Slurm outside of the Slurm mechanism kind of
defeats the purpose of using Slurm in the first place. <br>
</p>
<p>--<br>
Prentice<br>
</p>
</div>
</blockquote></div>