We never set binding "on" by default, and there is no configure option that 
will do so. Never has been, to my knowledge.

If you truly want it to bind by default, then you need to add that directive to 
your default MCA param file:

<prefix>/etc/openmpi-mca-params.conf


On Oct 21, 2013, at 3:17 AM, Patrick Begou <patrick.be...@legi.grenoble-inp.fr> 
wrote:

> I am compiling OpenMPI 1.7.3 and 1.7.2 with GCC 4.8.1 but I'm unable to 
> activate some binding policy at compile time.
> ompi_info -a shows:
> 
> MCA hwloc: parameter "hwloc_base_binding_policy" (current value: "", data 
> source: default, level: 9 dev/all, type: string)
>                          Policy for binding processes [none (default) | 
> hwthread | core | l1cache | l2cache | l3cache | socket | numa | board] 
> (supported qualifiers: overload-allowed,if-supported)
> MCA hwloc: parameter "hwloc_base_bind_to_core" (current value: "false", data 
> source: default, level: 9 dev/all, type: bool)
>                          Bind processes to cores
>                          Valid values: 0: f|false|disabled, 1: t|true|enabled
> MCA hwloc: parameter "hwloc_base_bind_to_socket" (current value: "false", 
> data source: default, level: 9 dev/all, type: bool)
>                          Bind processes to sockets
>                          Valid values: 0: f|false|disabled, 1: t|true|enabled
> 
> So clearly it is not activated.
> I've tried to set these options to ./configure but it doesn't help:
> --enable-mca-direct=hwloc_base_bind_to_core,hwloc_base_bind_to_socket
> 
> I know it should work because it is working out of the box with OpenMPI-1.6.3 
> that I have compiled several months ago.
> 
> I think I've messed something but where ?
> 
> Thanks for your advices
> 
> Patrick
> 
> -- 
> ===================================================================
> |  Equipe M.O.S.T.         |                                      |
> |  Patrick BEGOU           | mailto:patrick.be...@grenoble-inp.fr |
> |  LEGI                    |                                      |
> |  BP 53 X                 | Tel 04 76 82 51 35                   |
> |  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71                   |
> ===================================================================
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to