From 06c156c8e4eeec76770bd97eb5b66e4af516e802 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Thu, 19 Nov 2020 10:59:21 +0100 Subject: [PATCH] this message does no harm --- src/smpi/internals/smpi_global.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/smpi/internals/smpi_global.cpp b/src/smpi/internals/smpi_global.cpp index 0812ed724e..02af4c9fa0 100644 --- a/src/smpi/internals/smpi_global.cpp +++ b/src/smpi/internals/smpi_global.cpp @@ -429,6 +429,8 @@ static void smpi_init_privatization_dlopen(const std::string& executable) for (auto const& libname : privatize_libs) { // load the library once to add it to the local libs, to get the absolute path void* libhandle = dlopen(libname.c_str(), RTLD_LAZY); + xbt_assert(libhandle != nullptr, + "Cannot dlopen %s - check your settings in smpi/privatize-libs", libname.c_str()); // get library name from path std::string fullpath = libname; #if not defined(__APPLE__) && not defined(__HAIKU__) -- 2.20.1