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
--
How did you compile your app? Using mpicc?
> On Mar 28, 2017, at 9:55 AM, Dahai Guo via devel
> wrote:
>
> 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