<div dir="ltr"><div>Hello,</div><div><br></div><div>Perhaps`scontrol show assoc` might be able to help you here, in part? Or even sshare. Those would be the raw usage numbers, if I remember correctly. But it might help get you some insight as to usages (though not analogous to what sreport would show). As a note: `scontrol show assoc` will be very lengthy output.</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 Sun, Nov 12, 2023 at 6:03 PM Kamil Wilczek <<a href="mailto:kmwil@mimuw.edu.pl">kmwil@mimuw.edu.pl</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">Dear All,<br>
<br>
is is possible to report GPU Minutes per association? Suppose<br>
I have two associations like this:<br>
<br>
   sacctmgr show assoc where user=$(whoami) <br>
format=account%10,user%16,partition%12,qos%12,grptresmins%20<br>
<br>
    Account             User    Partition          QOS          GrpTRESMins<br>
---------- ---------------- ------------ ------------ --------------------<br>
      staff            kmwil      gpu_adv       1gpu1d       gres/gpu=10000<br>
      staff            kmwil       common       4gpu4d         gres/gpu=100<br>
<br>
When I run "sreport" I get (I think) the cumulative report. There<br>
is no "association" option for the "--format" flag for "sreport".<br>
<br>
In my setup I divide the cluster using GPU generations. Older<br>
cards, like TITAN V are accessible for all users (a common<br>
partition), but, for example, a partition with nodes with A100<br>
is accessible only for selected users.<br>
<br>
Each user gets a QoS ("4gpu4d" means that a user can allocate<br>
4 GPUs at most and a single job time limit is 4 days). Each<br>
user is also limited to a number of GPUMinutes for each<br>
association and it would be nice to know how many minutes<br>
are left per assoc.<br>
<br>
Kind regards<br>
-- <br>
Kamil Wilczek [<a href="https://keys.openpgp.org/" rel="noreferrer" target="_blank">https://keys.openpgp.org/</a>]<br>
[6C4BE20A90A1DBFB3CBE2947A832BF5A491F9F2A]<br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><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<br></span></div><div dir="ltr"><span style="font-size:12.8px">University of Michigan</span></div></div></div></div></div>