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
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
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
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
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'
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
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
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
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
-- -- -- -
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
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? Then I see local only
[root@rocks7 ~]# sacctmgr list assoc
I think the problem is that the system user name is not bound to the sacctmgr
[root@rocks7 ~]# sacctmgr list association format=account,user,partition
Account User Partition
-- -- --
root
root root
local
localmahmood
[root@rocks7 ~]
Hi Mahmood,
Mahmood Naderan writes:
> Hi,
> I have assigned user/group to a partition I also have set --partition
> correctly in the sbatch script. However, the jobs remains pending with
> the reason AccountNotAllowed. Any idea about that?
>
>
>
> [mahmood@rocks7 g]$ scontrol show partitions
> .
[root@rocks7 ~]# cat /etc/slurm/parts
PartitionName=WHEEL RootOnly=yes Priority=1000 Nodes=ALL
PartitionName=MONTHLY1 AllowAccounts=mahmood AllowGroups=mahmood
Nodes=compute-0-0
Please note that if I replace the user name "mahmood" with "ALL", then
there is no problem.
Regards,
Mahmood
On Fr
Could you share your configuration files from slurm
El jue., 19 abr. 2018 17:13, Mahmood Naderan
escribió:
> Hi,
> I have assigned user/group to a partition I also have set --partition
> correctly in the sbatch script. However, the jobs remains pending with
> the reason AccountNotAllowed. Any id
Hi,
I have assigned user/group to a partition I also have set --partition
correctly in the sbatch script. However, the jobs remains pending with
the reason AccountNotAllowed. Any idea about that?
[mahmood@rocks7 g]$ scontrol show partitions
PartitionName=MONTHLY1
AllowGroups=mahmood Allo
16 matches
Mail list logo