Added internal infrastructure for dlopen based shared object sources

This commit is contained in:
Andrew Davis 2019-06-13 09:15:21 +01:00 committed by Andrew Davis
parent c2ed0ddc75
commit 4fc83ce670

View file

@ -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) {