Re: [OMPI users] Set maximum number of CPU (or threads) for a user

2023-06-26 Thread John Hearns via users
There are also PAM modules available which forbid user logins to compute nodes unless the user has a job running on that node. I guess the devious user would start an 'empty' job to allocate some nodes then continue to run their excessive workloads via ssh. Do these PAM modules restrict the user s

Re: [OMPI users] Set maximum number of CPU (or threads) for a user

2023-06-26 Thread John Hearns via users
The other method is the use of the clue stick. https://www.urbandictionary.com/define.php?term=LART On Tue, 27 Jun 2023 at 03:31, John Hearns wrote: > There are also PAM modules available which forbid user logins to compute > nodes unless the user has a job running on that node. > > I guess the

Re: [OMPI users] Set maximum number of CPU (or threads) for a user

2023-06-26 Thread John Hearns via users
There is a way to do this. The best way would be a resource management system which allocates cgroups. Without the RMS it is possible to define a cgroup for a given user (group ?) such that they are within the cgroup when logging in. https://github.com/plaguedbypenguins/splosh It would be interes

[OMPI users] Set maximum number of CPU (or threads) for a user

2023-06-26 Thread Dave Martin via users
Hi, I am using OpenMPI 4.1.1 (without a scheduler) and I want to limit the number of CPU or threads a specific user (or host, if I must) can use. Is there a configuration or environment variable I can use? This user has not been following our resource management policy so simply asking him to