<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Lyn,</p>
<p>Yeah, I think this is it. Looks similar to what Tina has in place
too.</p>
<p>So, we set all the nodes as either "FEATURE" or "NOFEATURE" and
in job_submit.lua set it to 'NOFEATURE' if it is not set.</p>
<p>Sound like what you are doing?</p>
<p>I may need some hints on what to specifically set in the lua
script. I do have it in place already to ensure time and account
are set, but that is about it.<br>
</p>
<p>Brian Andrus<br>
</p>
<div class="moz-cite-prefix">On 7/1/2021 9:39 AM, Lyn Gerner wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAD3e3FaniUwNyhiQmEVG+iM4oVWpbE1j=QJtr8o-bHQov=CE5g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hey, Brian,
<div><br>
</div>
<div>Neither I nor you are going to like what I'm about to say
(but I think it's where you're headed). :)</div>
<div><br>
</div>
<div>We have an equivalent use case, where we're trying to keep
long work off of a certain number of nodes. Since we already
have used "long" as a QoS name, to keep from overloading
"long," we have had to establish a "notshort" feature on all
the nodes where we want to allow jobs longer than N minutes to
run. We use job_submit.lua to detect job duration, and set the
notshort feature as appropriate. No user action required.</div>
<div><br>
</div>
<div>Best,</div>
<div>Lyn</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Jul 1, 2021 at 7:10 AM
Brian Andrus <<a href="mailto:toomuchit@gmail.com"
moz-do-not-send="true">toomuchit@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">All,<br>
<br>
I have a partition where one of the nodes has a node-locked
license.<br>
That license is not used by everyone that uses the partition.<br>
They are cloud nodes, so weights do not work (there is an open
bug about <br>
that).<br>
<br>
I need to have jobs 'avoid' that node by default. I am
thinking I can <br>
use a feature constraint, but that seems to only apply to
those that <br>
want the feature. Since we have so many other users, it isn't
feasible <br>
to have them modify their scripts, so having it avoid by
default would work.<br>
<br>
Any ideas how to do that? Submit LUA perhaps?<br>
<br>
Brian Andrus<br>
<br>
<br>
</blockquote>
</div>
</blockquote>
</body>
</html>