From 4fc83ce67005519a64101330359181b69c5f3c7f 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/source.cpp b/src/source.cpp index b856a8d2a..089dbddef 100644 --- a/src/source.cpp +++ b/src/source.cpp @@ -312,10 +312,9 @@ void initialize_source() // sample external source distribution simulation::source_bank[i] = sample_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) {