[slurm-users] Parent account in AllowAccounts

100 views
Skip to first unread message

Durai Arasan

unread,
Jan 15, 2021, 9:38:45 AM1/15/21
to Slurm User Community List
Hi,
As you know for each partition you can specify AllowAccounts=account1,account2...

I have a parent account say "parent1" with two child accounts "child1" and "child2"

I expected that setting AllowAccounts=parent1 will allow parent1,child1, and child2 to submit jobs to that partition. But unfortunately only parent1 is able to submit jobs.

For parent1,child1 and child2 to submit jobs I have to specify all accounts individually:
AllowAccounts=parent1,child1,child2

Am I doing something wrong or is this the way slurm is set up? Does it not make sense that when a parent account is added then the child accounts should automatically also be able to submit jobs to that partition?

Thanks,
Durai


Michael Gutteridge

unread,
Jan 15, 2021, 11:48:06 AM1/15/21
to Slurm User Community List
I've only ever seen the parent-child account relationship discussed in the context of usage and fairshare.  I think for the allow/deny controls you have to specify each account individually.

I did find this enhancement request: https://bugs.schedmd.com/show_bug.cgi?id=1398 which would support that.

So nope, I don't think you're doing anything wrong.  I think it makes a certain amount of sense, but it's not something in Slurm today.

 - Michael

Brian Andrus

unread,
Jan 15, 2021, 2:15:35 PM1/15/21
to slurm...@lists.schedmd.com
As I understand it, the parents are really meant for reporting, so you
can run reports that aggregate the usage among children. Useful for a
chargeback model.

As far as permissions, that is on a per account basis, regardless of
hierarchy.

Just because a parent can go to the bar, doesn't mean their child can :)

Brian Andrus

Fulcomer, Samuel

unread,
Jan 15, 2021, 2:22:42 PM1/15/21
to Slurm User Community List

Durai,

There is no inheritance in "AllowAccounts". You need to specify each account explicitly.

There _is_ inheritance in fairshare calculation.
Reply all
Reply to author
Forward
0 new messages