Re: [slurm-users] GrpTRES

2018-03-26 Thread Christopher Samuel
On 26/03/18 23:34, Mahmood Naderan wrote: Isn't there any comment? Did I follow the same procedure as you in order to set a limit for accounts? Sorry, was busy with work yesterday. Yes you did, here's what our script does for each project. ${SACCTMGR} -i modify account set GrpTRES=cpu=2500,gr

Re: [slurm-users] GrpTRES

2018-03-26 Thread Christopher Samuel
On 25/03/18 15:18, Mahmood Naderan wrote: Same as before Hmm, could you do "sacct -j 13" to see what account the job ran under? I can see you're in the "root" account too, which has no limits. cheers, Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC

Re: [slurm-users] GrpTRES

2018-03-26 Thread Mahmood Naderan
Hi, Isn't there any comment? Did I follow the same procedure as you in order to set a limit for accounts? Regards, Mahmood On Sun, Mar 25, 2018 at 8:48 AM, Mahmood Naderan wrote: > Same as before > > # sacctmgr modify account local set GrpTRES=cpu=1,mem=1000M > Modified account associations.

Re: [slurm-users] GrpTRES

2018-03-24 Thread Mahmood Naderan
Same as before # sacctmgr modify account local set GrpTRES=cpu=1,mem=1000M Modified account associations... C = orca A = local of root Would you like to commit changes? (You have 30 seconds to decide) (N/y): y [mahmood@rocks7 ~]$ sacctmgr show associations format=cluster,account,user,grpt

Re: [slurm-users] GrpTRES

2018-03-24 Thread Chris Samuel
On Sunday, 25 March 2018 2:29:32 PM AEDT Mahmood Naderan wrote: > $ scontrol show config | fgrep AccountingStorageEnforce > AccountingStorageEnforce = associations,limits,qos,safe,wckeys OK, so that's good, you've got the same settings as I do (except for the addition of wckeys). It might be wo

Re: [slurm-users] GrpTRES

2018-03-24 Thread Mahmood Naderan
> That's the wrong configuration option - please cut and paste what I typed: > > scontrol show config | fgrep AccountingStorageEnforce Excuse me $ scontrol show config | fgrep AccountingStorageEnforce AccountingStorageEnforce = associations,limits,qos,safe,wckeys Regards, Mahmood

Re: [slurm-users] GrpTRES

2018-03-24 Thread Chris Samuel
On Sunday, 25 March 2018 2:13:21 PM AEDT Mahmood Naderan wrote: > Please see this That's the wrong configuration option - please cut and paste what I typed: scontrol show config | fgrep AccountingStorageEnforce -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC

Re: [slurm-users] GrpTRES

2018-03-24 Thread Mahmood Naderan
>What does this say? >scontrol show config | fgrep AccountingStorageEnforce Please see this $ scontrol show config | fgrep AccountingStorageType AccountingStorageType = accounting_storage/slurmdbd Regards, Mahmood

Re: [slurm-users] GrpTRES

2018-03-24 Thread Chris Samuel
On Sunday, 25 March 2018 2:54:52 AM AEDT Mahmood Naderan wrote: > First, if I just add a user to the linux system, then slurm will > automatically adds an account named "local". Is that right? Not in my experience, but you are using Rocks so who knows what extras it does under the covers for you

Re: [slurm-users] GrpTRES

2018-03-24 Thread Mahmood Naderan
First, if I just add a user to the linux system, then slurm will automatically adds an account named "local". Is that right? Then I set a limit for a user to use only one core and 1000M of memory. the command is [root@rocks7 mahmood]# sacctmgr modify user mahmood set GrpTRES=cpu=1,mem=1000M Modi

Re: [slurm-users] GrpTRES

2018-03-24 Thread Chris Samuel
On Saturday, 24 March 2018 3:42:38 PM AEDT Mahmood Naderan wrote: > What do you mean by user and account? User = a user who has been created in Unix and then added to slurmdbd (the second part is essential) Account = A Slurm entity that can be thought of as a project or bank account (the term u

Re: [slurm-users] GrpTRES

2018-03-23 Thread Mahmood Naderan
What do you mean by user and account? Assume I have created a user account (bob) with useradd command. I wan to set some limits for him. The GrpTRES format is not clear for me. I assume that mem=200 is a global 200MB of memory limit for all running jobs of bob. Therefore, if bob is a running job wi

Re: [slurm-users] GrpTRES

2018-03-23 Thread Chris Samuel
On Friday, 23 March 2018 3:40:34 PM AEDT Mahmood Naderan wrote: > Hi, Hi Mahmood, > I see an example in [1] which looks like > > sacctmgr modify user bob set GrpTRES=cpu=1500,mem=200,gres/gpu=50 > > I want to know how GrpTRES parameters are set. Could you expand on what you mean by "set" th

[slurm-users] GrpTRES

2018-03-22 Thread Mahmood Naderan
Hi, I see an example in [1] which looks like sacctmgr modify user bob set GrpTRES=cpu=1500,mem=200,gres/gpu=50 I want to know how GrpTRES parameters are set. I read [2] which explains TRES however the question still remains. Can someone explain more? [1] https://slurm.schedmd.com/resource_limi

[slurm-users] GrpTRES value changes on upgrade from 17.02.1 to 17.11.2

2018-01-28 Thread Yair Yarom
Hi, We have a license, limited using the GrpTRES of an association (this is a "license/interactive" for https://github.com/irush-cs/slurm-plugins/). On upgrade to 17.11.2, I've noticed that all our "license/interactive" GrpTRES where changed to "billing". Judging by the current tres_table and ou