<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hey,</p>
<p>I am currently trying to understand how I can schedule a job that
needs a GPU.</p>
<p>I read about GRES <a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/gres.html">https://slurm.schedmd.com/gres.html</a> and tried
to use:</p>
<pre>GresTypes=gpu
NodeName=test Gres=gpu:1</pre>
<p></p>
<p>But calling - after a 'sudo scontrol reconfigure':</p>
<pre>srun --gpus 1 hostname</pre>
<p></p>
<p>didn't work:</p>
<pre>srun: error: Unable to allocate resources: Invalid generic resource (gres) specification</pre>
<p>so I read more <a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/gres.conf.html">https://slurm.schedmd.com/gres.conf.html</a> but that
didn't really help me.</p>
<p><br>
</p>
<p>I am rather confused. GRES claims to be generic resources but
then it comes with three defined resources (GPU, MPS, MIG) and
using one of those didn't work in my case.</p>
<p>Obviously, I am misunderstanding something, but I am unsure where
to look.</p>
<p><br>
</p>
<p>Best regards,<br>
Xaver Stiensmeier<br>
</p>
<p></p>
</body>
</html>