X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/64321801c5ecb0214e4f8f3681723f551fddb79d..e8a7500b69476b76f596e2a52209fd1abdd1969d:/src/smpi/smpi_global.cpp diff --git a/src/smpi/smpi_global.cpp b/src/smpi/smpi_global.cpp index 9b6cb53df9..ff7c129f1b 100644 --- a/src/smpi/smpi_global.cpp +++ b/src/smpi/smpi_global.cpp @@ -617,7 +617,7 @@ int smpi_main(const char* executable, int argc, char *argv[]) // Load the dynamic library and resolve the entry point: void* handle = dlopen(executable, RTLD_LAZY | RTLD_LOCAL | RTLD_DEEPBIND); if (handle == nullptr) - xbt_die("dlopen failed for %s", executable); + 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); if (!entry_point) xbt_die("main not found in %s", executable);