Open MPI logo

Open MPI User's Mailing List Archives

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

From: Jean Latour (latour_at_[hidden])
Date: 2006-03-27 03:45:56


It seems to me there is only one way to create a communication between
two MPI_COMM_WORLD : use MPI_Open_Port with a specific
IP + port address, and then MPI_comm_connect / MPI_comm_accept.

In order to ease the port number communication, the use of MPI_publish-name
/ MPI_lookup_name is also possible with the constraint that the "publish"
must be done before the "lookup", and this involves some synchronization
between the processes anyway.

Simple examples can be found in the handbook on MPI : "Using MPI-2"
by William Gropp et al.

Best Regards,

Ali Eghlima wrote:

> Hello,
> I have read MPI-2 documents as well as FAQ. I am confused as the best
> way to establish communication
> between two MPI_COMM_WORLD which has been created by two mpiexec
> calls on the same node.
> mpiexec -conf config1
> This start 20 processes on 7 nodes
> mpiexec -conf config2
> This start 18 processes on 5 nodes
> I do appreciate any comments or pointer to a document or example.
> Thanks
> Ali,
>users mailing list