<div dir="ltr"><div>I would suggest that if those applications really are not possible with Slurm - then reserve a set of nodes for interactive use and disable the Slurm daemon on them.</div><div>Direct users to those nodes.</div><div><br></div><div>More constructively - maybe the list can help you get the X11 applications to run using Slurm.</div><div>Could you give some details please?</div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Wed, 24 Apr 2019 at 07:17, Mahmood Naderan <<a href="mailto:mahmood.nt@gmail.com">mahmood.nt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><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 class="gmail_attr" dir="ltr">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;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
<div bgcolor="#FFFFFF">
<p><br>
</p>
<div class="gmail-m_-4856765426615181659gmail-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 class="gmail-m_-4856765426615181659gmail-m_-3616881459055500828m_5280490948448683579gmail_signature" dir="ltr">
<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>
</blockquote></div>