<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>We do this here using the job_submit.lua script. Here is an
example:</p>
<p> if part == "bigmem" then<br>
if (job_desc.pn_min_memory ~= 0) then<br>
if (job_desc.pn_min_memory < 190000
or job_desc.pn_min_memory > 2147483646) then<br>
slurm.log_user("You must
request more than 190GB for jobs in bigmem partition")<br>
return 2052<br>
end<br>
end<br>
end<br>
</p>
<p>-Paul Edmon-<br>
</p>
<div class="moz-cite-prefix">On 12/16/2020 11:06 AM, Sistemas NLHPC
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAXZA6usSv1B9Oe6Y=neKxbiR7E=AGst2n2pxpzP3CNwt3PK8w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
Hello<span style="background-color:rgb(255,255,255)"><br>
<br>
Good afternoon, i have a query currently in our cluster we
have different partitions:<br>
<br>
1 partition called slims with 48 Gb of ram<br>
1 partition called general 192 Gb of ram<br>
1 partition called largemem with 768 Gb of ram.<br>
<br>
Is it possible to restrict access to the largemem partition
and for tasks to be accepted as long as a minimum of 193 Gb is
reserved in slurm.conf or another method? This is because we
have users who use the largemem partition reserving less than
192 GB.<br>
<br>
Thanks for help.<br>
-- <br>
</span>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><span style="background-color:rgb(255,255,255)"><img
src="https://www.nlhpc.cl/wp-content/uploads/2019/08/logo02.gif"
class="gmail-CToWUd" moz-do-not-send="true"><br>
</span></div>
<div><span style="background-color:rgb(255,255,255)">Mirko
Pizarro Pizarro <<a
href="mailto:mpizarro@nlhpc.cl"
target="_blank" moz-do-not-send="true">mpizarro@nlhpc.cl</a></span></div>
<div><span style="background-color:rgb(255,255,255)">Ingeniero
de Sistemas<br>
National Laboratory for High Performance
Computing (NLHPC)<br>
<a href="http://www.nlhpc.cl/" rel="noreferrer"
style="color:rgb(17,85,204)" target="_blank"
moz-do-not-send="true">www.nlhpc.cl</a><br>
<br>
CMM - Centro de Modelamiento Matemático<br>
Facultad de Ciencias Físicas y Matemáticas
(FCFM)<br>
Universidad de Chile<br>
<br>
Beauchef 851<br>
Edificio Norte - Piso 6, of. 601<br>
Santiago – Chile<br>
tel +56 2 2978 4603</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>