<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true">
On 06/05/2020 20:44, Mark Hahn wrote:<br>
<blockquote type="cite"
cite="mid:alpine.LFD.2.02.2005061342290.31652@coffee.psychology.mcmaster.ca">
<blockquote type="cite">Is there no way to set or define a custom
variable like at node level and
<br>
</blockquote>
<br>
you could use a per-node Feature for this, but a partition would
also work.
<br>
<br>
</blockquote>
<p>A bit of an ugly hack, but you could use QoS (requires
accounting) to enforce this:</p>
<p>1. Create a qos (using sacctmgr) with GrpTRES=Node=4</p>
<p>2. Create a new partiton identical to the current one, but with
the new qos <br>
</p>
<p>3. instruct users to submit to the new partition any job
requiring the license.</p>
<p><br>
</p>
<p>This will not solve the issue of fragmentation due to
non-licensed jobs - for that you should enable a packing scheduler
like <br>
</p>
<p>SelectTypeParameters=CR_Pack_Nodes
(<a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/slurm.conf.html#OPT_CR_Pack_Nodes">https://slurm.schedmd.com/slurm.conf.html#OPT_CR_Pack_Nodes</a>).<br>
</p>
</body>
</html>