[slurm-users] [EXT] Re: Limit the number of GPUS per user per partition

Chris Samuel chris at csamuel.org
Wed May 6 05:22:45 UTC 2020


On Tuesday, 5 May 2020 3:48:22 PM PDT Sean Crosby wrote:

> sacctmgr modify qos gpujobs set MaxTRESPerUser=gres/gpu=4

Also don't forget you need to tell Slurm to enforce QOS limits with:

AccountingStorageEnforce=safe,qos

in your Slurm configuration ("safe" is good to set, and turns on enforcement of 
other restrictions around associations too).  See:

https://slurm.schedmd.com/resource_limits.html

All the best,
Chris
-- 
  Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA






More information about the slurm-users mailing list