When I do mpirun --map-by node --bind-to numa --report-bindings ./out 26, --bind-to option causes the following error:
On Linux, lack of the functionality can mean that you are on a platform where processor and memory affinity is not supported in Linux itself, or that hwloc was built without NUMA and/or processor affinity support. When building hwloc (which, depending on your Open MPI installation, may be embedded in Open MPI itself), it is important to have the libnuma header and library files available. Different linux distributions package these files under different names; look for packages with the word "numa" in them. You may also need a developer version of the package (e.g., with "dev" or "devel" in the name) to obtain the relevant header files.
ompi_info | grep hwloc shows:
MCA hwloc: hwloc1117 (MCA v2.1.0, API v2.0.0, Component v3.0.0) MCA
rtc: hwloc (MCA v2.1.0, API v1.0.0, Component v3.0.0)
So I guess processes affinity is supported. I have 26 dual core nodes and I want to use only 1 CPU per node. Why I can't bind processes?