[slurm-users] Partition not allowing subaccount use

Groner, Rob rug262 at psu.edu
Tue Jul 25 12:42:19 UTC 2023


Ahhh, I bet that's it then.  We're still on 22.05, though we're going to 23.02 soon.  Thanks, I'll try this again on a test system with 23.02 on it.

Rob

________________________________
From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Bas van der Vlies <bas.vandervlies at surf.nl>
Sent: Tuesday, July 25, 2023 3:00 AM
To: slurm-users at lists.schedmd.com <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] Partition not allowing subaccount use

[You don't often get email from bas.vandervlies at surf.nl. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Which version of slurm do you use? The sub-account is supported since
version  23.02

On 24/07/2023 23:26, Groner, Rob wrote:
> I've setup a partition THING with AllowAccounts=stuff.  I then use
> sacctmgr to create the stuff account and a mystuff account whose parent
> is stuff.  My understanding is that this would make mystuff a subaccount
> of stuff.
>
> The description for specifying allowaccount in a partition definition in
> slurm.conf says:
>
> Comma-separated list of accounts which may execute jobs in the
> partition. The default value is "ALL". This list is also hierarchical,
> meaning subaccounts are included automatically.
>
> However, when I try to submit a job using --account=mystuff, then it
> gets rejected and the reason in the slurmctld.log is because "Job's
> account not permitted to use this partition (THING allows stuff not
> mystuff)".
>
> Am I not understanding what constitutes a subaccount?  When I "sacctmgr
> show assoc tree", then I see that mystuff is under stuff.
>
> Or am I misreading the documentation that says that subaccounts are
> included in who is allowed to use the partition?
>
> Thanks,
>
> Rob
>

--
--
Bas van der Vlies
| High Performance Computing & Visualization | SURF| Science Park 140 |
1098 XG  Amsterdam
| T +31 (0) 20 800 1300  | bas.vandervlies at surf.nl | https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.surf.nl%2F&data=05%7C01%7Crug262%40psu.edu%7Cdd1e8d9dd69c4097d6f208db8cdd0668%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C638258653162922190%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mTDSJe7tDCYAuJj0%2BaLV1jBtLKteHaTzKFijmajiuw8%3D&reserved=0<http://www.surf.nl/> |

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230725/766a847f/attachment.htm>


More information about the slurm-users mailing list