I'm updating our user limits (GrpTRES, GrpTRESRunMins) with a local script and encountered this error message: # sacctmgr modify user where name=mabr set GrpTRES=CPU=1500 Unknown option: GrpTRES=CPU=1500 Use keyword 'where' to modify condition It turns out that "GrpTRES=CPU=1500" must be changed into "GrpTRES=cpu=1500" with lower-case "cpu". I haven't been able to find any documentation pages defining the syntax of GrpTRES, GrpTRESRunMins and giving detailed examples. So the case sensitivity seems confusing here. The page https://slurm.schedmd.com/resource_limits.html has no such examples. Questions: Could the documentation be updated to define clearly, and give examples of, such limits? Could/should limits such as the above made case insensitive (using a tolower() function internally)? FYI: I think we have the default TRES defined: # sacctmgr show tres Type Name ID -------- --------------- ------ cpu 1 mem 2 energy 3 node 4
Created attachment 5362 [details] updated docs for resource limits
This bug has been addressed in the following commits: https://github.com/SchedMD/slurm/commit/2630738766b484cc9a7ab7daf0bb47bd9ea1c623 https://github.com/SchedMD/slurm/commit/03f9488b66d478c5cc2dcc027e078ac66649a067 Thanks! --Isaac