<div dir="ltr">Hi Rutger.<div><br></div><div>Are you trying to have one job *per user* running in your partition? Or just one job total?</div><div><br></div><div>Killian</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 29 Apr 2020 at 21:27, Doug Meyer <<a href="mailto:dameyer@raytheon.com">dameyer@raytheon.com</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 lang="EN-US">
<div class="gmail-m_1918258697536077823WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Change node definition in slurm.conf for that one node to 1 CPU.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:110%"><b><span style="font-size:10pt;line-height:110%;font-family:Arial,sans-serif;color:black">Doug Meyer</span></b><u><span style="font-size:8pt;line-height:110%;font-family:Arial,sans-serif;color:rgb(206,17,38)">
</span></u><u><span style="font-size:8pt;line-height:110%;font-family:Arial,sans-serif;color:black"><u></u><u></u></span></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> slurm-users <<a href="mailto:slurm-users-bounces@lists.schedmd.com" target="_blank">slurm-users-bounces@lists.schedmd.com</a>>
<b>On Behalf Of </b>Rutger Vos<br>
<b>Sent:</b> Wednesday, April 29, 2020 1:20 PM<br>
<b>To:</b> Slurm User Community List <<a href="mailto:slurm-users@lists.schedmd.com" target="_blank">slurm-users@lists.schedmd.com</a>><br>
<b>Subject:</b> [External] Re: [slurm-users] one job at a time - how to set?<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi Michael,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">thanks very much for your swift reply. So here we would have to convince the users they'd have to specify this when submitting, right? I.e. 'sbatch --exclusive myjob.sh', if I understand correctly. Would there be a way to simply enforce
this, i.e. at the slurm.conf level or something?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks again!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Rutger<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, Apr 29, 2020 at 10:06 PM Renfro, Michael <<a href="mailto:Renfro@tntech.edu" target="_blank">Renfro@tntech.edu</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-family:Tahoma,sans-serif"></span>That’s a *really* old version, but <a href="https://slurm.schedmd.com/archive/slurm-15.08.13/sbatch.html" target="_blank">https://slurm.schedmd.com/archive/slurm-15.08.13/sbatch.html</a> indicates
there’s an exclusive flag you can set.<u></u><u></u></p>
<div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal">On Apr 29, 2020, at 1:54 PM, Rutger Vos <<a href="mailto:rutger.vos@naturalis.nl" target="_blank">rutger.vos@naturalis.nl</a>> wrote:<span style="font-family:Tahoma,sans-serif"></span><u></u><u></u></p>
</blockquote>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<div>
<p align="center" style="margin:0in 0in 0.0001pt;text-align:center;background:white">
<b><span style="font-family:Calibri,sans-serif;color:red">.</span></b><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hi, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">for a smallish machine that has been having degraded performance we want to implement a policy where only one job (submitted with sbatch) is allowed to run and any others submitted after it are supposed to wait in line.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I assumed this was straightforward but I can't seem to figure it out. Can I set that up in slurm.conf or in some other way? Thank you very much for your help. BTW we are running slurm 15.08.7 if that is at all relevant.<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">Best wishes,<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Dr. Rutger A. Vos</span>
<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Researcher / Bioinformatician</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><img border="0" id="gmail-m_1918258697536077823_x0000_i1025" src="https://06ecba7b-a-deac235a-s-sites.googlegroups.com/a/naturalis.nl/signatures/home/logo-new.png"><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<br>
<br>
<sub><span style="font-family:Arial,sans-serif">+31717519600 - +31627085806 </span>
</sub><u></u><u></u></p>
<div>
<p class="MsoNormal"><sub><span style="font-family:Arial,sans-serif"><a href="mailto:rutger.vos@naturalis.nl" target="_blank">rutger.vos@naturalis.nl</a> - <a href="https://www.naturalis.nl" target="_blank">www.naturalis.nl</a></span></sub><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><sub><span style="font-family:Arial,sans-serif">Darwinweg 2, 2333 CR Leiden</span></sub><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><sub><span style="font-family:Arial,sans-serif">Postbus 9517, 2300 RA Leiden</span></sub><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://www.naturalis.nl/lang-leve" target="_blank"><span style="text-decoration:none"><img border="0" id="gmail-m_1918258697536077823_x0000_i1026" src="https://06ecba7b-a-deac235a-s-sites.googlegroups.com/a/naturalis.nl/signatures/home/schildpad.gif"></span></a><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt"><br>
<br>
<br>
<br>
<br>
<br>
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Met vriendelijke groet,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Dr. Rutger A. Vos</span>
<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Researcher / Bioinformatician</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><img border="0" id="gmail-m_1918258697536077823_x0000_i1027" src="https://06ecba7b-a-deac235a-s-sites.googlegroups.com/a/naturalis.nl/signatures/home/logo-new.png"><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<br>
<br>
<sub><span style="font-family:Arial,sans-serif">+31717519600 - +31627085806 </span>
</sub><u></u><u></u></p>
<div>
<p class="MsoNormal"><sub><span style="font-family:Arial,sans-serif"><a href="mailto:rutger.vos@naturalis.nl" target="_blank">rutger.vos@naturalis.nl</a> - <a href="https://www.naturalis.nl" target="_blank">www.naturalis.nl</a></span></sub><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><sub><span style="font-family:Arial,sans-serif">Darwinweg 2, 2333 CR Leiden</span></sub><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><sub><span style="font-family:Arial,sans-serif">Postbus 9517, 2300 RA Leiden</span></sub><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://www.naturalis.nl/lang-leve" target="_blank"><span style="text-decoration:none"><img border="0" id="gmail-m_1918258697536077823_x0000_i1028" src="https://06ecba7b-a-deac235a-s-sites.googlegroups.com/a/naturalis.nl/signatures/home/schildpad.gif"></span></a><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt"><br>
<br>
<br>
<br>
<br>
<br>
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">Killian Murphy</div><div dir="ltr" style="font-size:12.8px">Research Software Engineer</div><div dir="ltr" style="font-size:12.8px"><br></div><div dir="ltr" style="font-size:12.8px">Wolfson Atmospheric Chemistry Laboratories<br>University of York<br>Heslington<br>York<br>YO10 5DD<br>+44 (0)1904 32 4753<br><br>e-mail disclaimer: <a href="http://www.york.ac.uk/docs/disclaimer/email.htm" style="color:rgb(17,85,204)" target="_blank">http://www.york.ac.uk/docs/disclaimer/email.htm</a></div></div></div></div></div></div></div></div></div></div></div></div></div>