From 8036903b056332988f393d401cff9a97be723f7c Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Thu, 13 Jun 2019 09:15:21 +0100 Subject: [PATCH] Added internal infrastructure for dlopen based shared object sources --- src/source.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/source.cpp b/src/source.cpp index b7d1e24990..51d86fcaa5 100644 --- a/src/source.cpp +++ b/src/source.cpp @@ -296,9 +296,8 @@ void initialize_source() // check for any dlsym errors if (dlsym_error) { - std::cout << dlsym_error << std::endl; dlclose(source_library); - fatal_error("Couldnt open the sample_source symbol"); + fatal_error(dlsym_error); } // Generation source sites from specified distribution in the @@ -314,7 +313,7 @@ void initialize_source() } // release the library dlclose(source_library); - + } else { // Generation source sites from specified distribution in user input for (int64_t i = 0; i < simulation::work_per_rank; ++i) {