Skip to content

Commit

Permalink
Disable dlopen trick on OpenMPI >= 3.0.0 (#3849)
Browse files Browse the repository at this point in the history
It is not needed anymore since open-mpi/ompi#3705. Related: #3812, where we document this trick.
  • Loading branch information
kodiakhq[bot] authored Aug 4, 2020
2 parents f22be4c + cbdf8be commit 0006680
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/communication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ void openmpi_fix_vader() {
* about some weird two-level symbol namespace thing.
*/
void openmpi_global_namespace() {
if (OMPI_MAJOR_VERSION >= 3)
return;
#ifdef RTLD_NOLOAD
const int mode = RTLD_NOW | RTLD_GLOBAL | RTLD_NOLOAD;
#else
Expand Down

0 comments on commit 0006680

Please sign in to comment.