Re: [OMPI users] Open MPI installation problem

2019-01-25 Thread Gilles Gouaillardet
Great point from David ! As a side note, you can configure --enable-mpirun-prefix-by-default ... && make install If you choose to do so, you will not have to set LD_LIBRARY_PATH since it will be "built in" the Open MPI binaries/libraries (via the -rpath linker option) Cheers, Gilles On Sat, Ja

[OMPI users] rmaps_base_oversubscribe Option in Open MPI 4.0

2019-01-25 Thread Benjamin Brock
I used to be able to (e.g. in Open MPI 3.1) put the line rmaps_base_oversubscribe = true in my `openmpi-mca-params.conf`, and this would enable oversubscription by default. In 4.0.0, it appears that this option doesn't work anymore, and I have to use `--oversubscribe`. Am I missing something, o

Re: [OMPI users] Open MPI installation problem

2019-01-25 Thread Shrader, David Lee via users
The error about not finding shared libraries can be fixed by adding the proper path to LD_LIBRARY_PATH, which Ralph has already mentioned. If Open MPI is installed in $HOME/openmpi, LD_LIBRARY_PATH needs to be set like this: export LD_LIBRARY_PATH=$HOME/openmpi/lib:$LD_LIBRARY_PATH The mpi libr

Re: [OMPI users] Open MPI installation problem

2019-01-25 Thread gilles
Serdar, you need to export PATH and LD_LIBRARY_PATH in your .bashrc (e.g. export PATH=$HOME/openmpi/bin:$PATH) Also, make sure you built your application with Open MPI installed in $ HOME/openmpi Cheers, Gilles - Original Message - Hi folks, After installing OpenMPI, I

Re: [OMPI users] Open MPI installation problem

2019-01-25 Thread Serdar Hiçdurmaz
Hi folks, After installing OpenMPI, I executed these lines echo 'PATH=$HOME/openmpi/bin:$PATH' >> ~/.bashrc echo 'LD_LIBRARY_PATH=$HOME/openmpi/' >> ~/.bashrc source. bashrc and run a simple file by using mpirun np 1 helloworld The error message is helloworld: error while loading shared libr