[slurm-users] Parent account in AllowAccounts

Fulcomer, Samuel samuel_fulcomer at brown.edu
Fri Jan 15 19:22:16 UTC 2021


Durai,

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

There _is_ inheritance in fairshare calculation.

On Fri, Jan 15, 2021 at 2:17 PM Brian Andrus <toomuchit at gmail.com> wrote:

> 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
>
> On 1/15/2021 6:38 AM, Durai Arasan 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
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210115/03f082f4/attachment.htm>


More information about the slurm-users mailing list