On Wed, 20 Aug 2003, Klein, Bernhard wrote:
> I need a solution for a multiple connection between different processes.
> I tested the simple example-programm in the MPI-2 documentation at
> chapter 5.2 but it only accepts a single connection at a time.
>
> How can I make a multiple connection ?
I'm not sure what code examples you're referring to -- section 5.2 of the
MPI-2 spec doesn't have any sample code.
I'm also not quite clear what you are asking -- what do you mean by
"multiple connections"? If you're talking about MPI_COMM_ACCEPT and
MPI_COMM_CONNECT, you can just invoke them multiple times (with different
instances) to generate new communicators. Each communicator could be
viewed as a "connection" (although it's actually abstractly a bit more
than that).
Does that help?
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|