#1679: Update OpenMPI, hwloc
| Reporter: | Erik Schnetter |
| Status: | resolved |
| Milestone: | |
| Version: | development version |
| Type: | enhancement |
| Priority: | minor |
| Component: | Other |
Comment (by Roland Haas):
Updating hwloc and building it causes unexpected side effects when using the Intel MPI stack.
Intel’s libmpi.so library contains its own copy of hwloc and exports the hwloc functions eg hwloc_get_api_version. This causes conflicts with the copy of hwloc provided by the tarball in the hwloc ExternalLibrary thorn. A workaround is to modify MPI_LIBS to ensure that libhwloc.a is linked first (normally it appears after libmpi.so b/c MPI optinally uses hwloc):
# list hwloc here before mpich so that out own, self-build hwloc gets used and # not the one embedded in libmpich MPI_LIBS = -Wl,--exclude-libs,libhwloc.a hwloc mpi mpifort
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/1679/update-openmpi-hwloc