[slurm-users] [External] How to exclude nodes in sbatch/srun?

Florian Zillner fzillner at lenovo.com
Mon Jun 22 11:11:09 UTC 2020


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200622/916563b5/attachment.htm>


More information about the slurm-users mailing list