Amit Kumar Saha wrote:
> what i find bizarre is that I used Open MPI 1.2.3 to install on all my
> 4 machines. whereas, 'orted' is installed in /usr/local/bin on all the
> other 3 machines, the 4th machine which is giving me trouble has got
> it installed in '/usr/bin' . Yes, 'orted' is accessible from a ssh
> login as well.

Note that on Ubuntu (at least on 7.04) the default ~/.bashrc contains the 
following line:

# If not running interactively, don't do anything
[ -z "$PS1" ] && return  

This results in different behavior of 'ssh somehost command' and 'ssh somehost' 
followed by 'command'.
So if your want to control PATH from .bashrc, make sure you delete this line.

This would explain why orted is found in an interactive shell while ompi 
startup can't find it. The strange thing is, that /usr/bin/orted is not found 
while /usr/local/bin/orted is. Usually /usr/bin is always in Ubuntu's PATH ...

Regards 
Sebastian

Reply via email to