There are 2 things that have to be done in order to be able to run a
Open MPI application. First the runtime environment need access to
some of the files in the bin directory so you have to add the Open
MPI bin directory to your path. And second, as we use shared
libraries the OS need to know where they can be found. This is done
using the LD_LIBRARY_PATH environment variable. So suppose that one
has compiled Open MPI like this:
./configure --prefix=/home/one/opt
He has to add in his tcsh startup script (.tcshrc):
setenv PATH "/home/one/opt/bin:${PATH}"
setenv LD_LIBRARY_PATH "/home/one/lib:${LD_LIBRARY_PATH}"