Skip to content

configuration: OMPI v2.x with external hwloc from the distro #2946

Closed
@artpol84

Description

@artpol84

@dannyauble reported the problem with OMPI configuration.

In the target environment hwloc 1.11.3-2 was installed from the distro package in the default location in /usr/

For the case where we configured without parameters:

./configure ... --with-hwloc ...

not all hwloc paths was properly set and compilation failed.
@dannyauble noticed that MCA_hwloc_external_header was:

#define MCA_hwloc_external_header "hwloc.h"

instead of

#define MCA_hwloc_external_header "/usr/include/hwloc.h"

Problem can be solved by setting full path to hwloc at config time:

./configure ... --with-hwloc=/usr/ ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions