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
devel@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel

Reply via email to