Re: [OMPI devel] How to build Open MPI so the UCX used can be changed at runtime?

2021-01-24 Thread Gilles Gouaillardet via devel
Tim, Have you tried using LD_LIBRARY_PATH? I guess "hardcoding the full path" means "link with -rpath", and IIRC, LD_LIBRARY_PATH overrides this setting. If this does not work, here something you can try (disclaimer: I did not) export LD_LIBRARY_PATH=/same/install/prefix/ucx/1.9.0/lib

Re: [OMPI devel] How to build Open MPI so the UCX used can be changed at runtime?

2021-01-24 Thread Tim Mattox via devel
I'm specifically wanting my users to be able to load a "debug" vs. "tuned" UCX module, without me having to make two different Open MPI installs... the combinatorics get bad after a few versions (I'm already having multiple versions of Open MPI to handle the differences in Fortran mpi mod

[OMPI devel] How to build Open MPI so the UCX used can be changed at runtime?

2021-01-24 Thread Tim Mattox via devel
Hello, I've run into an application that has its performance dramatically affected by some configuration options to the underlying UCX library. Is there a way to configure/build Open MPI so that which UCX library is used is determined at runtime (e.g. by an environment module), rather than having