Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Accessing OpenMPI processes on EC2 machine over Internet using ssh
From: Ralph Castain (rhc_at_[hidden])
Date: 2011-12-18 21:55:29

On Dec 18, 2011, at 4:43 PM, Jaison Paul wrote:

> We have reported this before. We are still not able to do it, fully.
> However partially successful, now. We have used a machine with static IP address
> and modified the router settings by opening all ssh ports. Master runs on this
> machine and the slaves on EC2.
> Now we can run the "Hello world" over internet using ssh. It starts MPI
> executables in EC2 (we can see on 'top') and print back "hello" to our
> home/master machine.
> But send/recv doesnt work. send/recv hang between master(home PC)<->slave(EC2),
> both ways.
> What are the port settings for send/recv? Do we need to modify anything?

Have you looked at all the other EC2 discussions on the user list? Several people have provided instructions on how to deal with the EC2 security settings. Unfortunately, this is all a firewall/security issue.

It sounds like the out-of-band connections required by the RTE are getting through. However, the MPI connections are created separately. You can force the selection by setting the mca parameters to fit the EC2 and local firewall settings:

                 MCA btl: parameter "btl_tcp_if_include" (current value: <none>, data source: default value)
                          Comma-delimited list of devices or CIDR notation of networks to use for MPI communication (e.g.,
                          "eth0,eth1" or ","). Mutually exclusive with btl_tcp_if_exclude.
                 MCA btl: parameter "btl_tcp_port_min_v4" (current value: <1024>, data source: default value)
                          The minimum port where the TCP BTL will try to bind (default 1024)
                 MCA btl: parameter "btl_tcp_port_range_v4" (current value: <64511>, data source: default value)
                          The number of ports where the TCP BTL will try to bind (default 64511). This parameter together with
                          the port min, define a range of ports where Open MPI will open sockets.

> Any help is very much appreciated.
> Jaison
> Australian National Uni
> _______________________________________________
> users mailing list
> users_at_[hidden]