On Sep 19, 2008, at 6:50 PM, Santolo Felaco wrote:
> Hi, I try to be clearer:
> osa_at_libertas:~$ echo $LD_LIBRARY_PATH
> osa_at_libertas:~$ echo $PATH
> I compile the file with mpicc, then:
> osa_at_libertas:~/prove/openmpi$ mpirun -np 2 es1
> The comand is blocked. Don't run. CTRL+X does not end the program.
Try ctrl-c -- that's usually the way to kill applications that appear
to have been hung.
> This is ps output:
> osa_at_libertas:~/prove/openmpi$ mpirun -np 2 es1 &
>  6151
> osa_at_libertas:~/prove/openmpi$ ps
> PID TTY TIME CMD
> 6135 pts/2 00:00:00 bash
> 6151 pts/2 00:00:00 mpirun
> 6153 pts/2 00:00:00 ssh
> 6161 pts/2 00:00:00 ps
What is your program doing? Can you tell if it's getting past
MPI_INIT, or even launching at all? Can you mpirun non-MPI
applications, such as "hostname" and "uptime"?
Are you launching this es1 application locally or remotely? From your
command line and previous description, I *assume* that it's local, but
I see an "ssh" in your ps output, possibly meaning that mpirun has
launched the application remotely (e.g., if you specified a default
hostfile or somesuch).