Re: [OMPI users] Can not execute a simple command with openmpi

2007-05-18 Thread Jeff Squyres
Hah! Your reply came in seconds after I replied. Your questions made me notice that we're missing a FAQ entry for the "ssh:rsh" explanation, though, so I'll add an entry for that. Thanks. On May 18, 2007, at 5:15 PM, Steven Truong wrote: Hi, Jeff. Ok. After reading through the FAQ, I m

Re: [OMPI users] Can not execute a simple command with openmpi

2007-05-18 Thread Jeff Squyres
On May 18, 2007, at 5:01 PM, Steven Truong wrote: So my shell might have exited when it detect that I ran non-interactively. But then again, how this parameter MCA pls: parameter "pls_rsh_agent" (current value: "ssh :rsh") affect my outcome? It means that OMPI is going to first look for ssh,

Re: [OMPI users] Can not execute a simple command with openmpi

2007-05-18 Thread Steven Truong
Hi, Jeff. Ok. After reading through the FAQ, I modified .bashrc to set PATH and LD_LIBRARY_PATH and now I could execute: [struong@neptune ~]$ ssh node07 which orted /usr/local/openmpi-1.2.1/bin/orted [struong@neptune ~]$ /usr/local/openmpi-1.2.1/bin/mpirun --host node07 hostname node07.nanostel

Re: [OMPI users] Can not execute a simple command with openmpi

2007-05-18 Thread Steven Truong
Hi, Jeff. Thanks so very much for all your helps so far. I decided that I needed to go back and check whether openmpi even works for simple cases, so here I am. So my shell might have exited when it detect that I ran non-interactively. But then again, how this parameter MCA pls: parameter "pl

Re: [OMPI users] Can not execute a simple command with openmpi

2007-05-18 Thread Jeff Squyres
On May 18, 2007, at 4:38 PM, Steven Truong wrote: [struong@neptune 4cpu4npar10nsim]$ mpirun --mca btl tcp,self -np 1 --host node07 hostname bash: orted: command not found As you noted later in your mail, this is the key problem: orted is not found on the remote node. Notice that you are c

[OMPI users] Can not execute a simple command with openmpi

2007-05-18 Thread Steven Truong
Hi, all. Once again, I am ver y frustrated with what I have run into so far. My system is CentOS 4.4 x86_64, ifort 9.1.043, torque, maui. I configured openmpi 1.2.1 with this command. ./configure --prefix=/usr/local/openmpi-1.2.1 --with-tm=/usr/local/pbs --enable-static Now I just tried to run