Commit 7414cfba authored by Artem Polyakov's avatar Artem Polyakov Committed by Danny Auble
Browse files

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: default avatarArtem Polyakov <artpol84@gmail.com>
parent 5068ee00
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment