Re: [OMPI users] cpu binding of mpirun to follow slurm setting

2021-10-10 Thread Ralph Castain via users
Could you please include (a) what version of OMPI you are talking about, and (b) the binding patterns you observed from both srun and mpirun? > On Oct 9, 2021, at 6:41 PM, Chang Liu via users > wrote: > > Hi, > > I wonder if mpirun can follow the cpu binding settings from slurm, when > runn

Re: [OMPI users] [External] Re: cpu binding of mpirun to follow slurm setting

2021-10-10 Thread Chang Liu via users
OMPI v4.1.1-85-ga39a051fd8 % srun bash -c "cat /proc/self/status|grep Cpus_allowed_list" Cpus_allowed_list: 58-59 Cpus_allowed_list: 106-107 Cpus_allowed_list: 110-111 Cpus_allowed_list: 114-115 Cpus_allowed_list: 16-17 Cpus_allowed_list: 36-37 Cpus_allowed_list:

Re: [OMPI users] [External] Re: cpu binding of mpirun to follow slurm setting

2021-10-10 Thread Åke Sandgren via users
On 10/10/21 5:38 PM, Chang Liu via users wrote: > OMPI v4.1.1-85-ga39a051fd8 > > % srun bash -c "cat /proc/self/status|grep Cpus_allowed_list" > Cpus_allowed_list:  58-59 > Cpus_allowed_list:  106-107 > Cpus_allowed_list:  110-111 > Cpus_allowed_list:  114-115 > Cpus_allowed_lis

Re: [OMPI users] [External] Re: cpu binding of mpirun to follow slurm setting

2021-10-10 Thread Chang Liu via users
Yes they are. This is an interactive job from salloc -N 1 --ntasks-per-node=64 --cpus-per-task=2 --gpus-per-node=4 --gpu-mps --time=24:00:00 Chang On 10/11/21 2:09 AM, Åke Sandgren via users wrote: On 10/10/21 5:38 PM, Chang Liu via users wrote: OMPI v4.1.1-85-ga39a051fd8 % srun bash -c