mpi/pmix: Use dlopen for the UCX library to disable memory hooks
Memory hooks are installed by UCX during it's load time. To prevent
that we need to `export UCX_MEM_MALLOC_HOOKS=no`.
With the previous approach ucx lib was loaded during pmix plugin
dlopen and we had no control over environment variables from the
plugin itself. The only working variant was to add mentioned variable
to slurmd's environment.
To improve user experience with this feature we want to be able to
transparently disable memory hooks from the plugin itself.
Signed-off-by: Artem Polyakov <artpol84@gmail.com>
Please register or sign in to comment