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] fast way for a node to determine its own state?

2018-03-24 Thread Chris Samuel
On Thursday, 22 March 2018 2:01:02 AM AEDT Michael Jennings wrote: > As you can see from > https://github.com/mej/nhc/blob/master/helpers/node-mark-offline#L55 > starting at line #61, NHC uses "sinfo -o '%t %E' -hn $HOSTNAME" to get > the current node's status. At ${JIOB-1} our health check scrip

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