<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Change node definition in slurm.conf for that one node to 1 CPU.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:110%;text-autospace:none"><b><span style="font-size:10.0pt;line-height:110%;font-family:"Arial",sans-serif;color:black">Doug Meyer</span></b><u><span style="font-size:8.0pt;line-height:110%;font-family:"Arial",sans-serif;color:#CE1126">
</span></u><u><span style="font-size:8.0pt;line-height:110%;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> slurm-users <slurm-users-bounces@lists.schedmd.com>
<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 <slurm-users@lists.schedmd.com><br>
<b>Subject:</b> [External] Re: [slurm-users] one job at a time - how to set?<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Michael,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></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?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks again!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Rutger<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Apr 29, 2020 at 10:06 PM Renfro, Michael <<a href="mailto:Renfro@tntech.edu">Renfro@tntech.edu</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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.<o:p></o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<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><o:p></o:p></p>
</blockquote>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p align="center" style="margin:0in;margin-bottom:.0001pt;text-align:center;background:white">
<b><span style="font-family:"Calibri",sans-serif;color:red">.</span></b><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Hi, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Best wishes,<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Dr. Rutger A. Vos</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Researcher / Bioinformatician</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><img border="0" id="_x0000_i1025" src="https://06ecba7b-a-deac235a-s-sites.googlegroups.com/a/naturalis.nl/signatures/home/logo-new.png"><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<br>
<br>
<sub><span style="font-family:"Arial",sans-serif">+31717519600 - +31627085806 </span>
</sub><o:p></o:p></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><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><sub><span style="font-family:"Arial",sans-serif">Darwinweg 2, 2333 CR Leiden</span></sub><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><sub><span style="font-family:"Arial",sans-serif">Postbus 9517, 2300 RA Leiden</span></sub><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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="_x0000_i1026" src="https://06ecba7b-a-deac235a-s-sites.googlegroups.com/a/naturalis.nl/signatures/home/schildpad.gif"></span></a><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Met vriendelijke groet,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Dr. Rutger A. Vos</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Researcher / Bioinformatician</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><img border="0" id="_x0000_i1027" src="https://06ecba7b-a-deac235a-s-sites.googlegroups.com/a/naturalis.nl/signatures/home/logo-new.png"><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<br>
<br>
<sub><span style="font-family:"Arial",sans-serif">+31717519600 - +31627085806 </span>
</sub><o:p></o:p></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><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><sub><span style="font-family:"Arial",sans-serif">Darwinweg 2, 2333 CR Leiden</span></sub><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><sub><span style="font-family:"Arial",sans-serif">Postbus 9517, 2300 RA Leiden</span></sub><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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="_x0000_i1028" src="https://06ecba7b-a-deac235a-s-sites.googlegroups.com/a/naturalis.nl/signatures/home/schildpad.gif"></span></a><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>