<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
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.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Rob</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> slurm-users <slurm-users-bounces@lists.schedmd.com> on behalf of Bas van der Vlies <bas.vandervlies@surf.nl><br>
<b>Sent:</b> Tuesday, July 25, 2023 3:00 AM<br>
<b>To:</b> slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com><br>
<b>Subject:</b> Re: [slurm-users] Partition not allowing subaccount use</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">[You don't often get email from bas.vandervlies@surf.nl. Learn why this is important at
<a href="https://aka.ms/LearnAboutSenderIdentification">https://aka.ms/LearnAboutSenderIdentification</a> ]<br>
<br>
Which version of slurm do you use? The sub-account is supported since<br>
version 23.02<br>
<br>
On 24/07/2023 23:26, Groner, Rob wrote:<br>
> I've setup a partition THING with AllowAccounts=stuff. I then use<br>
> sacctmgr to create the stuff account and a mystuff account whose parent<br>
> is stuff. My understanding is that this would make mystuff a subaccount<br>
> of stuff.<br>
><br>
> The description for specifying allowaccount in a partition definition in<br>
> slurm.conf says:<br>
><br>
> Comma-separated list of accounts which may execute jobs in the<br>
> partition. The default value is "ALL". This list is also hierarchical,<br>
> meaning subaccounts are included automatically.<br>
><br>
> However, when I try to submit a job using --account=mystuff, then it<br>
> gets rejected and the reason in the slurmctld.log is because "Job's<br>
> account not permitted to use this partition (THING allows stuff not<br>
> mystuff)".<br>
><br>
> Am I not understanding what constitutes a subaccount? When I "sacctmgr<br>
> show assoc tree", then I see that mystuff is under stuff.<br>
><br>
> Or am I misreading the documentation that says that subaccounts are<br>
> included in who is allowed to use the partition?<br>
><br>
> Thanks,<br>
><br>
> Rob<br>
><br>
<br>
--<br>
--<br>
Bas van der Vlies<br>
| High Performance Computing & Visualization | SURF| Science Park 140 |<br>
1098 XG Amsterdam<br>
| T +31 (0) 20 800 1300 | bas.vandervlies@surf.nl | <a href="http://www.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</a>
|<br>
<br>
</div>
</span></font></div>
</body>
</html>