[slurm-users] Re: Using more cores/CPUs that requested with sbatch

2025-03-25 Thread Feng Zhang via slurm-users
Also in the cgroup.conf file, you can add constraints on memory, devices(like GPU), etc. Best, Feng On Tue, Mar 25, 2025 at 3:20 AM megan4slurm--- via slurm-users < slurm-users@lists.schedmd.com> wrote: > Hello Gestió, > > Yes, slurm can restrict the resources that are available to the job usi

[slurm-users] Re: Using more cores/CPUs that requested with sbatch

2025-03-25 Thread megan4slurm--- via slurm-users
Hello Gestió, Yes, slurm can restrict the resources that are available to the job using cgroups. I accidentally send my first reply as a separate email in this mailing list, which you can find here: https://lists.schedmd.com/mailman3/hyperkitty/list/slurm-users@lists.schedmd.com/thread/IJHBUWOU5

[slurm-users] Re: Using more cores/CPUs that requested with sbatch

2025-03-25 Thread Megan via slurm-users
Slurm can restrict jobs to their allocated resources using cgroups. To use cgroups you will have to configure the TaskPlugin cgroup option and specify how the cgroups should behave in cgroup.conf. slurm.conf TaskPlugin=task/cgroup Slurm Workload Manager - slurm.conf