Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Compiling OpenMPI 1.7.x with core afinity
From: Patrick Begou (Patrick.Begou_at_[hidden])
Date: 2013-10-21 06:17:38


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.Begou_at_[hidden] |
|  LEGI                    |                                      |
|  BP 53 X                 | Tel 04 76 82 51 35                   |
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71                   |
===================================================================