<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Frank,</p>
<p>use Features on the nodes, every cpu node gets e.g. "cpu", every
gpu node e.g. "gpu".</p>
<p>If a job asks for no gpus, set an additional constraint "cpu" for
the job.</p>
<p><br>
</p>
<p>Best<br>
Marcus<br>
</p>
<div class="moz-cite-prefix">Am 29.03.2023 um 01:24 schrieb Frank
Pari:<br>
</div>
<blockquote type="cite"
cite="mid:CALnznP7d-LEOjWu4FgA7ABxy13B5rwk-pqAumi7G2wwc4QQhow@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Well, I wanted to avoid using lua. But, it looks like
that's going to be the easiest way to do this without having
to create a separate partition for the GPUs. Basically, check
for at least one gpu in the job submission and if none exclude
all GPU nodes for the job.</div>
<div><br>
</div>
<div><img src="cid:part1.hdCOPrvG.6NDWhhsu@itc.rwth-aachen.de"
alt="image.png" class="" width="578" height="174"><br>
</div>
<div><br>
</div>
<div>Now I'm wondering how to auto-gen the list of nodes with
GPUs, so I don't have to remember to update job_submit.lua
everytime we get new GPU nodes.</div>
<div><br>
</div>
<div>-F<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Mar 28, 2023 at
4:06 PM Frank Pari <<a href="mailto:parif@bc.edu"
moz-do-not-send="true" class="moz-txt-link-freetext">parif@bc.edu</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Hi all,</div>
<div><br>
</div>
<div>First, thank you all for participating in this list.
I've learned so much by just following in other's
threads. =)</div>
<div><br>
</div>
<div>I'm looking at creating a scavenger partition with idle
resources from CPU and GPU nodes and I'd like to keep this
to one partition. But, I don't want CPU only jobs using
up resources on the GPU nodes.</div>
<div><br>
</div>
<div>I've seen suggestions for job/lua scripts. But, I'm
wondering if there's any other way to ensure a job has
requested at least 1 gpu for the scheduler to assign that
job to a GPU node.</div>
<div><br>
</div>
<div>Thanks in advance!</div>
<div><br>
</div>
<div>-Frank</div>
<div><br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</body>
</html>