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

Paul Edmon pedmon at cfa.harvard.edu
Mon Jun 22 13:33:03 UTC 2020


For the record we filed a bug on this years ago: 
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-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/e65e546e/attachment.htm>


More information about the slurm-users mailing list