How do I build Open MPI with processor affinity support?
Open MPI currently only supports processor affinity for some platforms. In general, processor affinity will automatically be built if it is supported — no additional command line flags to configure should be necessary. See this FAQ entry for more details. 31. How do I build Open MPI with memory affinity / NUMA support (e.g., libnuma)? Open MPI currently only supports libnuma memory affinity for Linux-based systems (please let us know if there are other NUMA libraries that you need supported!). Support for libnuma must be explicitly requested with the “–with-libnuma” command line switch to Open MPI’s configure script. In general, the procedure is the same building support for high-speed interconnect networks, except that you use –with-libnuma. For example: shell$ ./configure –with-libnuma=/path/to/libnuma/installation After Open MPI is installed, you should see an maffinity component named “libnuma”: shell$ ompi_info | grep libnuma MCA maffinity: libnuma (MCA v1.0, API v1.0, Compone