One workaround is you can define PATH and LD_LIBRARY_PATH in your common .bashrc and have a resembling paths of installation in two nodes. This works for me nicely with my three node installation :).
I'm trying to run an OpenFOAM simulation on two hosts on my home LAN.
I've managed to make the hosts communicate via ssh without giving
passwords as instructed on Open MPI web page.
The problem with running mpirun is in the enviromental variables for the
non interactive login bash on the slave node. How
exactly can I tell bash where to look for the binaries and headers of
OpenFOAM and Open MPI, or to be precise, set PATH and LD_LIBRARY_PATH so
will work without "orted command not found" or similar happening.
I've been reading the instructions on the web site and I've copied the
commands that set my enviromental variables in all necessary files (.bashrc,
.bash_profile ...), but nothing has changed.
My excuse is that I'm a Mechanical Engineering student. :)
Thank you in advance for your understanding and help,
users mailing list