In fairness to our friends at SchedMD, this was filed as an enhancement request, not a bug.
Since this is an open source project, there are 2 good ways to make it happen: 1. Fund someone, like SchedMD, to make the change. 2. Make the changes yourself, and submit the changes. Alternatively, I like the “NOxxx features” approach a lot! /s/ Speaking for myself From: slurm-users [mailto:slurm-users-boun...@lists.schedmd.com] On Behalf Of Paul Edmon Sent: Monday, June 22, 2020 9:33 AM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] [External] How to exclude nodes in sbatch/srun? For the record we filed a bug on this years ago: https://bugs.schedmd.com/show_bug.cgi?id=3875<https://bugs.schedmd.com/show_bug.cgi?id=3875> Hasn't been fixed yet though everyone seems to agree it is a good idea. Florian's suggestion is probably the best stopgap until this feature is implemented. -Paul Edmon- On 6/22/2020 7:11 AM, Florian Zillner wrote: Durai, To overcome this, we use noXXX features like below. Users can then request “8268&noGPU&EDR” to select nodes with 8268s on EDR without GPUs for example. # scontrol show node node5000 |grep AvailableFeatures AvailableFeatures=192GB,2933MHz,SD530,Platinum,8268,rack25,EDR,sb7890_0416,enc2514,24C,SNCoff,noGPU,DISK,SSD Cheers, Florian From: slurm-users <slurm-users-boun...@lists.schedmd.com><mailto:slurm-users-boun...@lists.schedmd.com> On Behalf Of Durai Arasan Sent: Montag, 22. Juni 2020 11:02 To: Slurm User Community List <slurm-users@lists.schedmd.com><mailto:slurm-users@lists.schedmd.com> Subject: [External] [slurm-users] How to exclude nodes in sbatch/srun? Hi, The sbatch/srun commands have the "--constraint" option to select nodes with certain features. With this you can specify AND, OR, matching OR operators. But there is no NOT operator. How do you exclude nodes with a certain feature in the "--constraint" option? Or is there another option that can do it? Thanks, Durai Arasan Zentrum für Datenverarbeitung Tübingen