Re: [slurm-users] Maxjobs to accrue age priority points
On Friday, 13 December 2019 7:01:48 AM PST Christopher Benjamin Coffey wrote: > Maybe because that setting is just not included in the default list of > settings shown? That is counterintuitive to this in the man page for > sacctmgr: > > show [] > Display information about the specified entity. By default, > all entries are displayed, you can narrow results by specifying SPECS in > your query. Identical to the list command. > > Thoughts? Thanks! I _suspect_ what that's saying is that it is has a default list that you can narrow, not that specifying it there will show it if it's not part of the default list. All the best, Chris -- Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA
Re: [slurm-users] Maxjobs to accrue age priority points
Hey Chris, Thanks! Ya, my qos name is billybob for testing. I believe I was setting it right, but not able to confirm it correctly. sacctmgr update qos name=billybob set maxjobsaccrueperuser=8 -i [ddd@radar ~ ]$ sacctmgr show qos where name=billybob format=MaxJobsAccruePerUser MaxJobsAccruePU --- 8 I guess it's getting set right, but I wonder why its not shown by: [ddd@radar ~ ]$ sacctmgr show qos where name=billybob Name Priority GraceTimePreempt PreemptExemptTime PreemptMode Flags UsageThres UsageFactor GrpTRES GrpTRESMins GrpTRESRunMin GrpJobs GrpSubmit GrpWall MaxTRES MaxTRESPerNode MaxTRESMins MaxWall MaxTRESPU MaxJobsPU MaxSubmitPU MaxTRESPA MaxJobsPA MaxSubmitPA MinTRES -- -- -- -- --- --- -- --- - - - --- - --- - -- - --- - - --- - - --- - billybob 0 00:00:00 explorato+ cluster 1.00 [ddd@radar ~ ]$ sacctmgr show qos where name=billybob format=maxjobsaccrueperuser MaxJobsAccruePU --- 8 Maybe because that setting is just not included in the default list of settings shown? That is counterintuitive to this in the man page for sacctmgr: show [] Display information about the specified entity. By default, all entries are displayed, you can narrow results by specifying SPECS in your query. Identical to the list command. Thoughts? Thanks! Best, Chris -- Christopher Coffey High-Performance Computing Northern Arizona University 928-523-1167 On 12/12/19, 10:46 PM, "slurm-users on behalf of Chris Samuel" wrote: Hi Chris, On 12/12/19 3:16 pm, Christopher Benjamin Coffey wrote: > What am I missing? It's just a setting on the QOS, not the user: csamuel@cori01:~> sacctmgr show qos where name=regular_1 format=MaxJobsAccruePerUser MaxJobsAccruePU --- 2 So any user in that QOS can only have 2 jobs ageing at any one time. All the best, Chris -- Chris Samuel : https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.csamuel.org%2Fdata=02%7C01%7Cchris.coffey%40nau.edu%7C70ddcd0c108d49a5daba08d77f8fcccb%7C27d49e9f89e14aa099a3d35b57b2ba03%7C0%7C0%7C637118127915006547sdata=KXW%2B4pHkgymQLBLLbv2PK7bk0Nb0rGOBTd9nvwQR9mU%3Dreserved=0 : Berkeley, CA, USA
Re: [slurm-users] Maxjobs to accrue age priority points
Hi Chris, On 12/12/19 3:16 pm, Christopher Benjamin Coffey wrote: What am I missing? It's just a setting on the QOS, not the user: csamuel@cori01:~> sacctmgr show qos where name=regular_1 format=MaxJobsAccruePerUser MaxJobsAccruePU --- 2 So any user in that QOS can only have 2 jobs ageing at any one time. All the best, Chris -- Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA
Re: [slurm-users] Maxjobs to accrue age priority points
Hmm, after trying this out I'm confused. I don't see the limit placed on the qos. Infact, I see that the qos header is missing some other options that are available in the man page. Maybe I'm missing an option that enables some of the options. [ddd@siris /home/ddd]$ sacctmgr update qos name=billybob set maxjobsaccrueperuser=8 -i Modified qos... billybob [ddd@siris /home/ddd ]$ sacctmgr list qos -p|grep billybob billybob|0|00:00:00|exploratory,free||cluster|||1.00|| [ddd@siris /home/ddd ]$ sacctmgr list qos -p|grep Name Name|Priority|GraceTime|Preempt|PreemptExemptTime|PreemptMode|Flags|UsageThres|UsageFactor|GrpTRES|GrpTRESMins|GrpTRESRunMins|GrpJobs|GrpSubmit|GrpWall|MaxTRES|MaxTRESPerNode|MaxTRESMins|MaxWall|MaxTRESPU|MaxJobsPU|MaxSubmitPU|MaxTRESPA|MaxJobsPA|MaxSubmitPA|MinTRES| What am I missing? Best, Chris -- Christopher Coffey High-Performance Computing Northern Arizona University 928-523-1167 On 12/12/19, 3:23 PM, "slurm-users on behalf of Christopher Benjamin Coffey" wrote: Ahh hah! Thanks Killian! Best, Chris -- Christopher Coffey High-Performance Computing Northern Arizona University 928-523-1167 On 12/12/19, 3:03 PM, "slurm-users on behalf of Kilian Cavalotti" wrote: Hi Chris, On Thu, Dec 12, 2019 at 10:47 AM Christopher Benjamin Coffey wrote: > I believe I heard recently that you could limit the number of users jobs that accrue age priority points. Yet, I cannot find this option in the man pages. Anyone have an idea? Thank you! It's the *JobsAccrue* options in https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fslurm.schedmd.com%2Fsacctmgr.htmldata=02%7C01%7Cchris.coffey%40nau.edu%7Cec2ec92361224b31670908d77f51ef7e%7C27d49e9f89e14aa099a3d35b57b2ba03%7C0%7C0%7C637117862191747391sdata=3W%2BYSp7LmvoqzEzIjT2iVK3wGDv1hlJ1J7gCgdFmyvs%3Dreserved=0 Cheers, -- Kilian
Re: [slurm-users] Maxjobs to accrue age priority points
Ahh hah! Thanks Killian! Best, Chris -- Christopher Coffey High-Performance Computing Northern Arizona University 928-523-1167 On 12/12/19, 3:03 PM, "slurm-users on behalf of Kilian Cavalotti" wrote: Hi Chris, On Thu, Dec 12, 2019 at 10:47 AM Christopher Benjamin Coffey wrote: > I believe I heard recently that you could limit the number of users jobs that accrue age priority points. Yet, I cannot find this option in the man pages. Anyone have an idea? Thank you! It's the *JobsAccrue* options in https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fslurm.schedmd.com%2Fsacctmgr.htmldata=02%7C01%7Cchris.coffey%40nau.edu%7Cb66846b949a540ccd0eb08d77f4f2185%7C27d49e9f89e14aa099a3d35b57b2ba03%7C0%7C0%7C637117850150219525sdata=HRMH7Po4fuHiExnVde%2FPTdM784v91OMHwrROlOVLuf0%3Dreserved=0 Cheers, -- Kilian
Re: [slurm-users] Maxjobs to accrue age priority points
Hi Chris, On Thu, Dec 12, 2019 at 10:47 AM Christopher Benjamin Coffey wrote: > I believe I heard recently that you could limit the number of users jobs that > accrue age priority points. Yet, I cannot find this option in the man pages. > Anyone have an idea? Thank you! It's the *JobsAccrue* options in https://slurm.schedmd.com/sacctmgr.html Cheers, -- Kilian
[slurm-users] Maxjobs to accrue age priority points
Hi, I believe I heard recently that you could limit the number of users jobs that accrue age priority points. Yet, I cannot find this option in the man pages. Anyone have an idea? Thank you! Best, Chris -- Christopher Coffey High-Performance Computing Northern Arizona University 928-523-1167