Yes, this is a bit confusing. :-(
Bash tries to be extra-flexible to allow all different kinds of
scenarios. Check out
http://www.open-mpi.org/faq/?category=running#adding-ompi-to-path -- we
talk about the different shells and what files to edit (most of that
information is a subset of what is available in the bash(1) man page).
Hope that helps clarify things a bit.
> -----Original Message-----
> From: users-bounces_at_[hidden]
> [mailto:users-bounces_at_[hidden]] On Behalf Of ??
> Sent: Wednesday, May 24, 2006 11:40 AM
> To: users_at_[hidden]
> Subject: [OMPI users] .bashrc or .bash_profile
> I set OMPI bin directory to PATH environment variable in
> .bash_profile, however,it
> seems that doesn't work when I issue "ssh node1 orted" at
> node0. When I set bin
> directory in .bashrc, it works. I think we can find "orted"
> from PATH wherever it
> is set,because users may update PATH in many places. :-)
> users mailing list