Re: [slurm-users] Exposing only requested CPUs to a job on a given node.

2021-07-01 Thread Christopher Samuel
On 7/1/21 3:26 pm, Sid Young wrote: I have exactly the same issue with a user who needs the reported cores to reflect the requested cores. If you find a solution that works please share. :) The number of CPUs in teh system vs the number of CPUs you can access are very different things. You c

Re: [slurm-users] Exposing only requested CPUs to a job on a given node.

2021-07-01 Thread Sid Young
Hi Luis, I have exactly the same issue with a user who needs the reported cores to reflect the requested cores. If you find a solution that works please share. :) Thanks Sid Young Translational Research Institute Sid Young W: https://off-grid-engineering.com W: (personal) https://sidyoung

Re: [slurm-users] Exposing only requested CPUs to a job on a given node.

2021-07-01 Thread Luis R. Torres
Hi Folks, Thank you for your responses, I wrote the following configuration in cgroup.conf along the appropriate slurm.conf changes and I wrote a program to verify affinity whe queued or running in the cluster. results are below. Thanks so much. ### # # Slurm cgroup support configuration file

Re: [slurm-users] Exposing only requested CPUs to a job on a given node.

2021-05-14 Thread Ryan Cox
lurm-users] Exposing only requested CPUs to a job on a given node. *External Email Warning* *This email originated from outside the university. Please use caution when opening attachments, clicking links, or responding to requests.* ---

Re: [slurm-users] Exposing only requested CPUs to a job on a given node.

2021-05-14 Thread Renfro, Michael
14, 2021 at 5:17 PM To: Slurm User Community List Subject: Re: [slurm-users] Exposing only requested CPUs to a job on a given node. External Email Warning This email originated from outside the university. Please use caution when opening attachments, clicking links, or responding to requests.

Re: [slurm-users] Exposing only requested CPUs to a job on a given node.

2021-05-14 Thread Rodrigo Santibáñez
Hi you all, I'm replying to have notifications answering this question. I have a user whose python script used almost all CPUs, but configured to use only 6 cpus per task. I reviewed the code, and it doesn't have an explicit call to multiprocessing or similar. So the user is unaware of this behavi

[slurm-users] Exposing only requested CPUs to a job on a given node.

2021-05-14 Thread Luis R. Torres
Hi Folks, We are currently running on SLURM 20.11.6 with cgroups constraints for memory and CPU/Core. Can the scheduler only expose the requested number of CPU/Core resources to a job? We have some users that employ python scripts with the multi processing modules, and the scripts apparently use