[slurm-dev] Re: set maximum CPU usage per user

2016-10-24 Thread Benjamin Redling
Hi, On 10/21/2016 18:58, Steven Lo wrote: > Is MaxTRESPerUser a better option to use? if you only ever want to restrict every user alike, that seems reasonable. I would choose whatever fits your needs right now and in the not so distant future. That way you gain time to learn about the options

[slurm-dev] Re: set maximum CPU usage per user

2016-10-21 Thread Steven Lo
Is MaxTRESPerUser a better option to use? Steven. On 10/20/16 10:21 AM, Steven Lo wrote: Hi Benjamin, We have the following set in slurm.conf as you have suggested: AccountingStorageEnforce=limits,qos PriorityWeightQOS=1000 And we did sacctmgr modify qos normal set Grpcpus=300

[slurm-dev] Re: set maximum CPU usage per user

2016-10-20 Thread Steven Lo
Hi Benjamin, We have the following set in slurm.conf as you have suggested: AccountingStorageEnforce=limits,qos PriorityWeightQOS=1000 And we did sacctmgr modify qos normal set Grpcpus=300 sacctmgr show qos format=GrpTRES GrpTRES - cpu=200 I see that when I submit

[slurm-dev] Re: set maximum CPU usage per user

2016-10-20 Thread Benjamin Redling
Hi Steven, On 10/20/2016 00:22, Steven Lo wrote: > We have the attribute commented out: > #AccountingStorageEnforce=0 I think the best is to (re)visit "Accounting and Resource Limits": http://slurm.schedmd.com/accounting.html Right know I have no setup that needs accounting but as far as I

[slurm-dev] Re: set maximum CPU usage per user

2016-10-19 Thread Steven Lo
Hi Benjamin, We have the attribute commented out: #AccountingStorageEnforce=0 This is our first time try out this CPU limitation. They just want to make sure no user will allocate more than 300 CPU from the cluster. Thanks Steven. On 10/19/16 2:31 PM, Benjamin Redling wrote: Hi, what

[slurm-dev] Re: set maximum CPU usage per user

2016-10-19 Thread Benjamin Redling
Hi, what are your AccountingStorage settings? Esp. AccountingStorageEnforce. Did limits work before, or is this a first try? Regards, Benjamin Am 19. Oktober 2016 22:14:27 MESZ, schrieb Steven Lo : > > >By the way, we do have the following attribute set: > >

[slurm-dev] Re: set maximum CPU usage per user

2016-10-19 Thread Steven Lo
Hi Chris, When we try the command as suggested, it said that nothing modified: [root@pauling ~]# sacctmgr modify account normal set Grpcpus=300 Nothing modified Do you know if there is other method? Thanks Steven. On 10/19/2016 07:25 AM, Christopher Benjamin Coffey wrote: Hi Steven,

[slurm-dev] Re: set maximum CPU usage per user

2016-10-19 Thread Christopher Benjamin Coffey
Hi Steven, If you are trying to restrict the cpus for a group, I believe you need to set the account value: sacctmgr modify account normal set Grpcpus=300 Best, Chris — Christopher Coffey High-Performance Computing Northern Arizona University 928-523-1167 On 10/18/16, 4:04 PM, "Steven Lo"