Skip to content
Snippets Groups Projects
Commit 0b031fcc authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

Merge branch 'openmpi-dlopen' into 'master'

Disable dlopen trick on OpenMPI >= 3.0.0

See merge request walberla/walberla!325
parents 2a627991 4783b2a5
No related merge requests found
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "core/debug/CheckFunctions.h" #include "core/debug/CheckFunctions.h"
// Workaround for OpenMPI library: it dynamically loads plugins which causes trouble when walberla itself is a shared lib // Workaround for OpenMPI library: it dynamically loads plugins which causes trouble when walberla itself is a shared lib
#if defined(OPEN_MPI) && !defined(_WIN32) #if defined(OPEN_MPI) && !defined(_WIN32) && OMPI_MAJOR_VERSION < 3
#define OPEN_MPI_WORKAROUND #define OPEN_MPI_WORKAROUND
#include <dlfcn.h> #include <dlfcn.h>
#endif #endif
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment