Re: [slurm-users] cpu allocation on a NUMA node

2019-04-20 Thread Lincy
Hi, Just for later reference, it turns out I have only to add thing like this in the submission script: ###SBATCH --ntasks-per-socket=4 export OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK} export OMP_PROC_BIND="spread" ## make cores in order inside a task srun --cpu-bind=v,cores -m block:block ./c

[slurm-users] cpu allocation on a NUMA node

2019-04-18 Thread Lincy
Hi all, I have a cpu allocation problem on the 2 socket 18-core machine, with CPUSpecList=17,35 reserved. Ideally, if I submit a job with two 17-core tasks in a node, it allocates each task on a single NUMA node. # *srun -N1 -n2 --cpus-per-task=**17** numactl -s *physcpubind: *0 1 2 3