daniel
August 22, 2019, 5:27pm
1
Hello,
Is there a way to limit the maximum number of running core for all whole users in PBSPro with pbs_sched like MAUI?
Example: In maui.cfg it is possible to declare this:
# users
USERCFG[DEFAULT] MAXPROC=100 # default user cpu limit
In PBS I found the command: qmgr -c “s s max_run_res.ncpus=[u:foo=100]”, but do I need to execute this command for every single user?
Thanks
mkaro
August 22, 2019, 5:48pm
2
Is there a group all of your users belong to?
qmgr -c "s s max_run_res.ncpus=[g:users=100]"
daniel
August 22, 2019, 6:53pm
3
Hi @mkaro .
No there isn’t. But if this is the only way, I can try to create it.
Thanks
mkaro
August 22, 2019, 6:58pm
4
That’s the only solution I’m aware of because wildcards aren’t an option. Using groups might also offer some flexibility if there are a subset of users needing a higher limit. Hope that helps.
Try -
qmgr -c “set server max_run_res.ncpus=[u:PBS_GENERIC=100]”
This means it is a generic limit for every user
2 Likes