Unfortunately, I think you're stuck in setting it at the account level with sacctmgr. You could also set that limit as part of a QoS and then attach the QoS to the partition. But I think that's as granular as you can get for limiting TRES'.
HTH! David On Wed, Jul 17, 2019 at 10:11 AM Mike Harvey <har...@bucknell.edu> wrote: > > Is it possible to set a cluster level limit of GPUs per user? We'd like > to implement a limit of how many GPUs a user may use across multiple > partitions at one time. > > I tried this, but it obviously isn't correct: > > # sacctmgr modify cluster slurm_cluster set MaxTRESPerUser=gres/gpu=2 > Unknown option: MaxTRESPerUser=gres/gpu=2 > Use keyword 'where' to modify condition > > > Thanks! > > -- > Mike Harvey > Systems Administrator > Engineering Computing > Bucknell University > har...@bucknell.edu > > -- David Rhey --------------- Advanced Research Computing - Technology Services University of Michigan