Hi, 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 :).
On Sat, Aug 1, 2009 at 5:25 PM, Tomislav Maric <tomislav.ma...@gmx.com>wrote: > Hello everyone, > > 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 > that mpirun > 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, > > Tomislav > > > > > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > -- http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=3489381