[slurm-users] MaxTime only for a user

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Thu Feb 25 10:00:58 UTC 2021


On 2/25/21 10:11 AM, Gestió Servidors wrote:
> I need to configure a SLURM partition to allow jobs than need more than a 
> hour, but only for a specific user. By default, that partition allows jobs 
> with a “MaxTime=10:00” but, now, a user needs to run some test in the same 
> partition that will last one one aprox. If I configure a “MaxTime” in 
> slurm.conf, that value is applied for all users.
> 
> Can I configure SLURM in some way to allow that?

I think so, please see https://slurm.schedmd.com/resource_limits.html and 
look for the MaxWallDurationPerJob limit.  You have to set that limit on 
the user's association.

/Ole



More information about the slurm-users mailing list