Skip to content

Libraries are not being added to wrapper compiler when building with external hwloc #1655

@rhc54

Description

@rhc54

When building with an external hwloc and devel headers, I'm finding that the wrapper compilers are not getting the required flags to build the ORTE tests:

$ mpicc --showme
gcc -I/home/common/openmpi/build/foobar/include/openmpi -I/home/common/local/include
-I/home/common/openmpi/build/foobar/include -pthread -L/home/common/local/lib -Wl,-rpath
-Wl,/home/common/local/lib -Wl,-rpath -Wl,/home/common/openmpi/build/foobar/lib
-Wl,--enable-new-dtags -L/home/common/openmpi/build/foobar/lib -lmpi

I have to manually add -lhwloc -lopen-rte -lopen-pal to get it to build. Will check to see if this impacts 2.x as well

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions