Lukas
Lukas

Reputation: 163

Is process-pinning like with Intel-MPI possible in OpenMPI?

With Intel-MPI I can pin the MPI processes started by mpirun to a certain cores on a node. For example with 24 cores and Intel-MPI:

mpirun -np 12 -genv I_MPI_PIN_PROCESSOR_LIST=0-11 ./some.exe &
mpirun -np 12 -genv I_MPI_PIN_PROCESSOR_LIST=12-23 ./other.exe &

With OpenMPI there is the option --bind-to with one these arguments: none, hwthread, core, l1cache, l2cache, l3cache, socket, numa, board.

I noticed that --bind-to socket binds process 0 to socket 0 and process 1 to socket 1, and so on. This is bad, since for best communication between some.exe processes, all of them should be on one socket and other.exe processes should be on the other socket.

Is there no equivalent pin option in OpenMPI?

Upvotes: 1

Views: 1444

Answers (0)

Related Questions