Re: [slurm-users] MaxTime only for a user

2021-02-25 Thread Gestió Servidors
Hi, After configuring "MaxWallDurationPerJob" and not get any good result (job with a large sleep continues running although MaxWallDurationPerJob=1 (1 minute)), now I have test a time_limit reconfiguration within a "lua" script. My "lua" script contains these lines: [...] if (job_desc.u

Re: [slurm-users] MaxTime only for a user

2021-02-25 Thread Gestió Servidors
Hi, I have test with "sacctmgr modify user name=my_user set MaxWallDurationPerJob=01:00" (in other words, user “my_user” will have only 1 minute per job), but after that, I have submit a job as “my_user” with a “sleep” of 50 minutes and jobs has NOT been cancelled… so something is wrong ☹

Re: [slurm-users] MaxTime only for a user

2021-02-25 Thread Loris Bennett
Ole Holm Nielsen writes: > On 2/25/21 11:17 AM, Diego Zuccato wrote: >> Il 25/02/21 11:00, Ole Holm Nielsen ha scritto: >> >>> 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 asso

Re: [slurm-users] MaxTime only for a user

2021-02-25 Thread Loris Bennett
Ole Holm Nielsen writes: > 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 t

Re: [slurm-users] MaxTime only for a user

2021-02-25 Thread Ole Holm Nielsen
On 2/25/21 11:17 AM, Diego Zuccato wrote: Il 25/02/21 11:00, Ole Holm Nielsen ha scritto: 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. IIUC the limit in the assoc can't

Re: [slurm-users] MaxTime only for a user

2021-02-25 Thread Diego Zuccato
Il 25/02/21 11:00, Ole Holm Nielsen ha scritto: > 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. IIUC the limit in the assoc can't override the one in the partition. So t

Re: [slurm-users] MaxTime only for a user

2021-02-25 Thread Ole Holm Nielsen
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 o

[slurm-users] MaxTime only for a user

2021-02-25 Thread Gestió Servidors
Hi, 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"