<div dir="ltr"><div>Unfortunately, I think you're stuck in setting it at the account level with sacctmgr. You could also set that limit as part of a QoS and then attach the QoS to the partition. But I think that's as granular as you can get for limiting TRES'.</div><div><br></div><div>HTH!</div><div><br></div><div>David<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 17, 2019 at 10:11 AM Mike Harvey <<a href="mailto:harvey@bucknell.edu">harvey@bucknell.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Is it possible to set a cluster level limit of GPUs per user? We'd like <br>
to implement a limit of how many GPUs a user may use across multiple <br>
partitions at one time.<br>
<br>
I tried this, but it obviously isn't correct:<br>
<br>
# sacctmgr modify cluster slurm_cluster set MaxTRESPerUser=gres/gpu=2<br>
Unknown option: MaxTRESPerUser=gres/gpu=2<br>
Use keyword 'where' to modify condition<br>
<br>
<br>
Thanks!<br>
<br>
-- <br>
Mike Harvey<br>
Systems Administrator<br>
Engineering Computing<br>
Bucknell University<br>
<a href="mailto:harvey@bucknell.edu" target="_blank">harvey@bucknell.edu</a><br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">David Rhey<br>---------------</div><div dir="ltr"><span style="font-size:12.8px">Advanced Research Computing - Technology Services</span></div><div dir="ltr"><span style="font-size:12.8px">University of Michigan</span></div></div></div></div></div>