10 Nov
2020
10 Nov
'20
9:03 a.m.
We’ve explicitly avoided requiring specific mechanisms like dlopen so we can support the widest variety of tools on the widest variety of systems. dlopen, for instance, won’t work with static libraries, right? Thanks, Wes
On Nov 9, 2020, at 8:11 AM, Joachim Protze via mpiwg-tools <[email protected]> wrote:
If dlopen causes libdl to load a library (i.e., the library is not yet loaded and can be found and loaded), libdl calls the library constructor as part of dlopen.
Forcing the MPI library to load (dlopen) all tool libraries before the registration window closes, gives all dynamic tools the chance to call the registration function, before MPI will continue initialization.