Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't use deepbind in cases it's not needed (I think)
authordegomme <augustin.degomme@unibas.ch>
Fri, 16 Feb 2018 10:00:00 +0000 (11:00 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Fri, 16 Feb 2018 10:00:00 +0000 (11:00 +0100)
src/smpi/internals/smpi_global.cpp

index 19ee935..a865e7b 100644 (file)
@@ -545,7 +545,7 @@ int smpi_main(const char* executable, int argc, char *argv[])
   else {
 
     // Load the dynamic library and resolve the entry point:
-    void* handle = dlopen(executable, RTLD_LAZY | RTLD_LOCAL | RTLD_DEEPBIND);
+    void* handle = dlopen(executable, RTLD_LAZY | RTLD_LOCAL);
     if (handle == nullptr)
       xbt_die("dlopen failed for %s: %s (errno: %d -- %s)", executable, dlerror(), errno, strerror(errno));
     smpi_entry_point_type entry_point = smpi_resolve_function(handle);