<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Resources are limited with cgroups in SLURM. Check the
documentation:</p>
<p><a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/cgroups.html">https://slurm.schedmd.com/cgroups.html</a></p>
<p>You simply specify ProctrackType=proctrack/cgroup or/and
TaskPlugin=task/cgroup in slurm.conf and then configure which
resources are limited and how much in the cgroup.conf:</p>
<p><a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/cgroup.conf.html">https://slurm.schedmd.com/cgroup.conf.html</a></p>
<p>Barbara<br>
</p>
<div class="moz-cite-prefix">On 5/6/19 5:52 PM, Sajesh Singh wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BN6PR14MB1121E0AA45E927CA66E9A933AC300@BN6PR14MB1121.namprd14.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.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]-->
<div class="WordSection1">
<p class="MsoNormal">Good day fellow Slurm users.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Coming from a PBSpro system which has the
following variables to limit a job to the resources it
requested:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">$enforce mem<o:p></o:p></p>
<p class="MsoNormal">$enforce cpuaverage<o:p></o:p></p>
<p class="MsoNormal">$enforce cpuburst<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If a user exceeded any of the above limits
their job would be terminated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Looking through the slurm.conf man page I
only see configuration variables to limit memory utilization:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">OverMemoryKill and MemLimitEnforce.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What are the analogous variables to use for
other resources that may be exceeded by a job?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">SS<o:p></o:p></p>
</div>
</blockquote>
</body>
</html>