[slurm-users] How to avoid a feature?

Lyn Gerner schedulerqueen at gmail.com
Thu Jul 1 16:39:04 UTC 2021

Hey, Brian,

Neither I nor you are going to like what I'm about to say (but I think it's
where you're headed). :)

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.


On Thu, Jul 1, 2021 at 7:10 AM Brian Andrus <toomuchit at gmail.com> wrote:

> All,
> I have a partition where one of the nodes has a node-locked license.
> That license is not used by everyone that uses the partition.
> They are cloud nodes, so weights do not work (there is an open bug about
> that).
> I need to have jobs 'avoid' that node by default. I am thinking I can
> use a feature constraint, but that seems to only apply to those that
> want the feature. Since we have so many other users, it isn't feasible
> to have them modify their scripts, so having it avoid by default would
> work.
> Any ideas how to do that? Submit LUA perhaps?
> Brian Andrus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210701/c249fd87/attachment.htm>

More information about the slurm-users mailing list