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
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_reposit