Re: [slurm-users] Partition 'alias'?

2018-04-20 Thread Renfro, Michael
Ours is set up to influence priority and set limits on resources and time accordingly. PartitionName=batch Default=YES MinNodes=1 MaxNodes=36 DefaultTime=1-00:00:00 MaxTime=30-00:00:00 … PriorityJobFactor=1 PriorityTier=1 … OverSubscribe=NO … Nodes=node[001-040] PartitionName=debug Default=NO M

[slurm-users] Partition 'alias'?

2018-04-20 Thread Dmitri Chebotarov
Hello I'm trying to understand how slurm manages resource when multiple partitions are assigned to the same set of nodes, and all partitions have OverSubscribe=NO set. https://slurm.schedmd.com/cons_res_share.html If I understand it correctly multiple partitions essentially act as a single p

Re: [slurm-users] Problem with assigning user to partition

2018-04-20 Thread Loris Bennett
Mahmood Naderan writes: > For both "add user" and "modify user", I see Partitions= > So, how did you conclude that Partitions is only available with "add user"? >>modify user- (set options) AdminLevel=, DefaultAccount=, >> DefaultQOS=, DefaultWCKey=, F

Re: [slurm-users] Problem with assigning user to partition

2018-04-20 Thread Mahmood Naderan
Here is my procedure to add a system user to a partition. Create a partition by editing /etc/slurm/parts similar to this: PartitionName=MONTHLY1 AllowAccounts=foo Nodes=compute-0-0 Create an Account and add the user to that # sacctmgr add account foo Cluster=jupiter # sacctmgr add user test2 Acc

Re: [slurm-users] SLURM Operator Role (to cancel SLURM Jobs)

2018-04-20 Thread Buckley, Ronan
Has anyone any experience of setting up users that can cancel jobs? From: Buckley, Ronan Sent: Wednesday, April 18, 2018 9:06 AM To: 'slurm-users@lists.schedmd.com' Subject: RE: SLURM Operator Role (to cancel SLURM Jobs) According to the online documentation: "When using the Slurm db, users who

Re: [slurm-users] Problem with assigning user to partition

2018-04-20 Thread Mahmood Naderan
OK. It seems to be working :) [test2@rocks7 ~]$ squeue JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 78 MONTHLY1 g-8test2 R 0:30 1 compute-0-0 I will conclude that in a separate email for future. Regards, Mahmood

Re: [slurm-users] Problem with assigning user to partition

2018-04-20 Thread Mahmood Naderan
For both "add user" and "modify user", I see Partitions= So, how did you conclude that Partitions is only available with "add user"? [root@rocks7 ~]# sacctmgr remove user where name=test2 Deleting users... test2 Would you like to commit changes? (You have 30 seconds to decide) (N/y): y [root@ro

Re: [slurm-users] Problem with assigning user to partition

2018-04-20 Thread Loris Bennett
Mahmood Naderan writes: > Got the same error with plural > [snip (55 lines)] > PartitionName=MONTHLY1 AllowAccounts=diamond Nodes=compute-0-0 > [root@rocks7 ~]# sacctmgr modify user name=test2 account=diamond set > partitions=MONTHLY1 > Unknown option: partitions=MONTHLY1 > Use keyword 'where'

Re: [slurm-users] Problem with assigning user to partition

2018-04-20 Thread Mahmood Naderan
Got the same error with plural In order to follow the manual, I created an account and assigned a user to that. But I can not assign the account to a partition [root@rocks7 ~]# adduser test2 [root@rocks7 ~]# passwd test2 Changing password for user test2. New password: BAD PASSWORD: The password i

Re: [slurm-users] Problem with assigning user to partition

2018-04-20 Thread Loris Bennett
Mahmood Naderan writes: > OK I will do that. But let me first try simple situations, e.g. one account. > > May I ask what is the problem with the following config? > > [root@rocks7 ~]# sacctmgr list association > format=account,user,partition,association >Account User Partition Ass

Re: [slurm-users] Problem with assigning user to partition

2018-04-20 Thread Chris Samuel
On 20/4/18 4:16 pm, Mahmood Naderan wrote: Is AllowAccounts the same as Account column in sacctmgr? Then I see local only Yes it is, account is a "bank account" type of thing, a user is a user. All the best, Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC

Re: [slurm-users] Problem with assigning user to partition

2018-04-20 Thread Mahmood Naderan
OK I will do that. But let me first try simple situations, e.g. one account. May I ask what is the problem with the following config? [root@rocks7 ~]# sacctmgr list association format=account,user,partition,association Account User Partition Assocs -- -- -- -

Re: [slurm-users] Problem with assigning user to partition

2018-04-20 Thread Loris Bennett
Hi Mahmood, Mahmood Naderan writes: > To be honest, yes that is confusing me! > sacctmgr shows the system user name under User column. I specified > that name for the AllowAccounts parameter in the parts file. Is that > wrong? > Is AllowAccounts the same as Account column in sacctmgr? Yes. >Th