>I was assuming that you are using bash, for csh it would be different.
Yes, I use bash shell.
>>$ ssh c2 which orted
which : no orted in (......). Indeed (.........) contains no openmpi.
so I run ssh c2 first and then run which orted, it displays: /usr/local/openmpi-1.6.5/bin/orted
>must succeed. Does:
>>$ ssh c2 echo \$PATH
>show the path(s) you added in ~/.bashrc on the other machine?
the command doesnt show the path I added in .bashrc