<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">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>