You may want to look at MaxTRESPerNode and possibly MaxTRESPerJob. Doing it PerUser means all running jobs for that user, which may not be what you want.

Brian Andrus

On 10/22/2025 11:44 PM, Gestió Servidors via slurm-users wrote:

Hello,

 

I have three nodes, serving each one 2 GPUs. I would like to limit (qos??) that a user could user only one GPU from earch server, but user could user simultaneously three GPUs if each GPU belongs to different servers. With this QoS “sacctmgr add qos test-limit-GPUs MaxJobsPerUser=3 MaxTRESPerUser=gres/gpu=1” I can limit to one GPU, but then user can’t run other job in a GPU from other server. How must I configure QoS (or other method) to allow more than one job requesting GPUs but never in the same server?

 

Thanks.