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> On Behalf Of Durai Arasan Sent: Montag, 22. Juni 2020 11:02 To: Slurm User Community List <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