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 On Fri, Jan 15, 2021 at 6:40 AM Durai Arasan <arasan.du...@gmail.com> wrote: > 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 > > >