Skip to content
Snippets Groups Projects
Commit 4e66b4b3 authored by Artem Polyakov's avatar Artem Polyakov Committed by Danny Auble
Browse files

mpi/pmix: Addittional UCX settings to ensure safe fork()


Signed-off-by: default avatarArtem Polyakov <artpol84@gmail.com>
parent 4903c81a
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,11 @@ static int _load_ucx_lib() ...@@ -156,7 +156,11 @@ static int _load_ucx_lib()
* To avoid that we need to disable memory hooks before * To avoid that we need to disable memory hooks before
* loading UCX library. * loading UCX library.
*/ */
setenv("UCX_MEM_MMAP_RELOC", "no", 1);
setenv("UCX_MEM_MALLOC_HOOKS", "no", 1); setenv("UCX_MEM_MALLOC_HOOKS", "no", 1);
setenv("UCX_MEM_MALLOC_RELOC", "no", 1);
setenv("UCX_MEM_EVENTS", "no", 1);
setenv("UCX_IB_FORK_INIT", "no", 1);
#ifdef PMIXP_UCX_LIBPATH #ifdef PMIXP_UCX_LIBPATH
/* If this SLURM build doesn't allow RPATH's /* If this SLURM build doesn't allow RPATH's
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment