I put a feature request for this a while back:

https://bugs.schedmd.com/show_bug.cgi?id=3875

I should hopefully show up in the future.

-Paul Edmon-


On 08/03/2017 02:44 PM, Martin Cuma wrote:

Hello,

I am looking around fruitlessly if it's possible to negate feature selection in the --constraint option.

For example, we have CPU core count features, c12, c16, c20, c24, c28. I want the job to NOT use c12, but, it can use any others.

Can I only include the c12 feature in the -C option and negate it, e.g something like
#SBATCH -C !c12

I understand I can OR all the other options, e.g.
#SBATCH c16|c20|c24|c28

but, this gets messy if there are many more features available.

Thanks,
MC

Reply via email to