I installed open-mpi with the libnuma library using the --with-libnuma.
Everything installed fine. When I do
./ompi_info |grep maffinity
MCA maffinity: first_use (MCA v2.0, API v2.0, Component v1.4.2)
MCA maffinity: libnuma (MCA v2.0, API v2.0, Component v1.4.2)
I see two policies here. first_use and libnuma
I have two questions regarding these:
1. Which policy will be used in my MPI application?
2. Do I have to specify maffinity when using mpirun command or the open-mpi
runtime will automatically use the allocation policy (first_use or libnuma?)