[slurm-users] Alocating a subset cores to each job

Kilian Cavalotti kilian.cavalotti.work at gmail.com
Tue Jun 12 02:30:22 MDT 2018

Hi Nadav,

On Tue, Jun 12, 2018 at 8:18 AM, Nadav Toledo
<nadavtoledo at cs.technion.ac.il> wrote:
> How can one send a few jobs running in parallel with different cpus
> allocation on the same node?

According to https://slurm.schedmd.com/srun.html#OPT_cpu-bind, you may
want to use "srun --exclusive":

    By default, a job step has access to every CPU allocated to the
job. To ensure that distinct CPUs are allocated to each job step, use
the --exclusive option.

I agree that the option could be named better, especially since it has
a completely different meaning when used with sbatch, for instance.


More information about the slurm-users mailing list