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 trouble through ssh
From: Baptiste Robert (baptisterobert38_at_[hidden])
Date: 2013-03-25 10:13:07


Yes, I read that we don't have the choice, we have to disable iptables.
This information is not crystal clear in the user manual.
Furthermore this mean that we can't launch mpi on a remote web server in
total security.

Thank you for your help, I really appreciate it.

2013/3/25 Ralph Castain <rhc_at_[hidden]>

>
> On Mar 25, 2013, at 3:26 AM, Baptiste Robert <baptisterobert38_at_[hidden]>
> wrote:
>
> Hi.
>
> Thank you very much for your answer. I've disabled iptables on both
> computers and then... work like a charm. But here's come my next question,
> what are the ports that the daemon use ? Because I haven't set iptables,
> it's by default and I don't understand why is filtered.
>
>
> iptables will block all ports other than the specific ones you list in its
> config file. Since the daemon takes a random port, that means it will be
> blocked.
>
>
>
>
> 2013/3/25 Ralph Castain <rhc_at_[hidden]>
>
>> Check if iptables or some other firewall is running. Configure mpirun
>> with --enable-debug and then add "-mca plm_base_verbose 10" to your cmd
>> line to see if the remote daemon is communicating back correctly.
>>
>>
>> On Mar 24, 2013, at 1:50 PM, Baptiste Robert <baptisterobert38_at_[hidden]>
>> wrote:
>>
>> Hi everybody !
>>
>> Here's my problem. I've installed openmpi on my two machines running on
>> fedora 17. I've set the path and LD_LIBRARY_PATH correctly, mpirun and
>> mpicc work on the two machines without trouble.
>>
>> My problem is when I try to run the helloWorld on all node through ssh
>> (already configure with certificate) nothing append, I've to kill mpi to
>> get the prompt back.
>>
>> I launched this command : mpirun -d -host myRemoteNode -n 2 hello_c
>> And this give me :
>>
>> [baptiste_at_baptiste RE51]$ mpirun -d -hostfile hosts hello_c
>> [baptiste.thinkFed:02666] procdir: /tmp/openmpi-sessions-baptiste_at_baptiste.thinkFed_0/53471/0/0
>> [baptiste.thinkFed:02666] jobdir: /tmp/openmpi-sessions-baptiste_at_baptiste.thinkFed_0/53471/0
>> [baptiste.thinkFed:02666] top: openmpi-sessions-baptiste_at_baptiste.thinkFed_0
>> [baptiste.thinkFed:02666] tmp: /tmp
>> [roommateServer:01102] procdir: /tmp/openmpi-sessions-baptiste_at_roommateServer_0/53471/0/1
>> [roommateServer:01102] jobdir: /tmp/openmpi-sessions-baptiste_at_roommateServer_0/53471/0
>> [roommateServer:01102] top: openmpi-sessions-baptiste_at_roommateServer_0
>> [roommateServer:01102] tmp: /tmp
>>
>> And nothing else. But if I run the hello_c on a single machine, separately, the job is done and work well.
>>
>>
>> If anyone have an idea it would be awesome.. I don't have a clue why it isn't work.
>>
>> Thank.
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>