Created attachment 28374 [details] slurm.conf cseraphine@LAPTOP-16:19:54-/Users/cseraphine$ sacctmgr -n show users |wc -l 75 cseraphine@LAPTOP-16:20:00-/Users/cseraphine$ sreport user topuser "topcount=-1" "format=login%-20,proper%-24,account%-32,used" | head -3 -------------------------------------------------------------------------------- Top 4294967295 Users 2023-01-05T00:00:00 - 2023-01-05T23:59:59 (86400 secs) Usage reported in CPU Minutes I suspect that the user count in the second command is high by around 4,294,967,220 users. (That, or the number means something very different from what it reads like it should mean.) Not causing any production pain, just makes the reports I pass onto the accounting folks seem less trustworthy.
All silliness aside, it's obviously reading the topcount as an unsigned int instead of counting the rows of output.
Internally, all negative numbers for "topcount" are currently being represented by a uint. Anything negative gets our representation of INFINITE, which you are seeing. If you are worried about your reports for the time being you can set topcount=75 if that is how many users you have. I am looking into how to make this scenario better.
Commit 7da8867f5c on master will now print "Top ALL Users" when topcount = -1, hopefully making the accounting folks more confident in your report.
Thank you! That's an excellent solution.
If there are no further related questions, I'll go ahead and close. Caden