Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Mpirun don't execute
From: Santolo Felaco (ahuramazda10_at_[hidden])
Date: 2008-09-22 17:03:10


Hi, this is my openmpi-default-hostfile:
127.0.0.1 slots=2

If I invoke comand CTRL+C the application is not killed.
With mpirun -np 1 uptime the comand is ever blocked.

The comand is blocked with any comand, also comands not existent.

Thanks.

2008/9/22 Jeff Squyres <jsquyres_at_[hidden]>

> On Sep 19, 2008, at 6:50 PM, Santolo Felaco wrote:
>
> Hi, I try to be clearer:
>> osa_at_libertas:~$ echo $LD_LIBRARY_PATH
>> /usr/local/lib:/home/osa/blcr/lib
>> osa_at_libertas:~$ echo $PATH
>>
>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/osa/blcr/bin
>>
>> 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 &
>> [1] 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).
>
>
> --
> Jeff Squyres
> Cisco Systems
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>