Hi,
this looks like the expected behavior to me.
can you try to
./configure --enable-mpirun-prefix-by-default ...
and rebuild again ?
iirc, this should add $HOME/PSM2_install/usr/lib64 to the rpath of Open
MPI, and you
will no more need to add it to your LD_LIBRARY_PATH
Cheers,
Gilles
----- Original Message -----
I installed intel PSM2 and then configured open mpi as follow.
./configure \
--prefix=$HOME/ompi_install \
--with-psm2=$HOME/PSM2_install/usr \
--with-psm2-libdir=$HOME/PSM2_install/usr/lib64
however, when I ran a Hello prgram, it said ....
mpirun -n 2 hi0
mca_base_component_repository_open: unable to open mca_mtl_psm2:
libpsm2.so.2: cannot open shared object file: No such file or directory
(ignored)
mca_base_component_repository_open: unable to open mca_mtl_psm2:
libpsm2.so.2: cannot open shared object file: No such file or directory
(ignored)
--- Hi from rank = 0
--- Hi from rank = 1
I had to manually add the following path to let the error message
disappeared:
export LD_LIBRARY_PATH=${MPIDIR}/lib:$HOME/PSM2_install/usr/lib64:$
LD_LIBRARY_PATH
is it the right way to use PSM2 in openmpi?
D.G.
_______________________________________________
devel mailing list
[email protected]
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel