Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Open MPI and env. variables (LD_LIBRARY_PATH and PATH) - complete and utter Open MPI / Linux noob
From: Prasadcse Perera (prasadcse0_at_[hidden])
Date: 2009-08-02 05:39:04


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.maric_at_[hidden]>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
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=3489381