<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Our experience was that it only works with AllowGroups, and we probably opened a ticket to confirm since it was a choice we didn’t really want to make. That's the route we went, but it's currently causing us some problems with accounting, because we didn't
bother doing some of the accounting stuff since we were using groups to control access.
<div><br>
</div>
<div>I would really like for Slurm to be able hide partitions using either parameter, or at least offer the option. We are probably going to go back and do accounts for reporting purposes, but it would be nice not to have to duplicate these things.</div>
<div><br>
<div>
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
--<br>
#BlackLivesMatter</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
____<br>
|| \\UTGERS, |---------------------------*O*---------------------------<br>
||_// the State<span class="Apple-tab-span" style="white-space: pre;"> </span> | Ryan Novosielski - novosirj@rutgers.edu<br>
|| \\ University | Sr. Technologist - 973/972.0922 (2x0922) ~*~ RBHS Campus<br>
|| \\ of NJ<span class="Apple-tab-span" style="white-space: pre;"> </span> | Office of Advanced Research Computing - MSB A555B, Newark<br>
`'</div>
</div>
</div>
</div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On Aug 24, 2023, at 11:10, Erin Gwen Roberts <erin@csail.mit.edu> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div>Hello,<br>
<br>
I would like to set a partition to Hidden, and allow members of the appropriate Account to see this partition when running `sinfo` with no parameters.<br>
<br>
This partition is configured with AllowAccounts=<account> and AllowGroups=<group>. <user> is a member of the Slurm account <account>, verified with `sacctmgr show assoc where user=<user>`.<br>
<br>
I am running Slurm 23.02.4, and I am testing the behavior with `sudo -u <user> sinfo`. I presume this test is accurate because as an admin user, `sinfo` shows all partitions, but when I impersonate the user like this, `sinfo` shows only the partitions that
have Hidden=NO.<br>
<br>
I would prefer to do this with only AllowAccounts, but if this only works with AllowGroups, that's not a big deal.<br>
<br>
We intend to add partitions corresponding to many small research groups, and it would be lovely to have `sinfo` output be clean and clear, rather than showing all partitions. What could I be doing wrong, that Hidden= doesn't seem to be taking into account
AllowAccounts= or AllowGroups=?<br>
<br>
Thanks for your help,<br>
<br>
Erin Roberts<br>
System Administrator<br>
The Infrastructure Group<br>
MIT CSAIL<br>
<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>