On 06/05/2020 20:44, Mark Hahn wrote:
Is there no way to set or define a custom variable like at node level and

you could use a per-node Feature for this, but a partition would also work.

A bit of an ugly hack, but  you could use QoS (requires accounting) to enforce this:

1. Create a qos (using sacctmgr) with GrpTRES=Node=4

2. Create a new partiton identical to the current one, but with the new qos

3. instruct users to submit to the new partition any job requiring the license.


This will not solve the issue of fragmentation due to non-licensed jobs - for that you should enable a packing scheduler like

SelectTypeParameters=CR_Pack_Nodes (https://slurm.schedmd.com/slurm.conf.html#OPT_CR_Pack_Nodes).

Reply via email to