Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] is there an equiv of iprove for bcast?
From: Randolph Pullen (randolph_pullen_at_[hidden])
Date: 2011-05-03 04:07:38


From: Randolph Pullen <randolph_pullen_at_[hidden]>
Subject: Re: Re: [OMPI users] is there an equiv of iprove for bcast?
To: users_at_open-mpi.or
Received: Monday, 2 May, 2011, 12:53 PM

Non blocking Bcasts or tests would do it.I currently have the clearing-house solution working but it is unsatisfying because of its serial node. - As it scales it will overload this node.

The problem rephrased:Instead of n*2 processes, I am having to use n*2+1 with the extra process serially receiving listener messages on behalf of the workers before transmitting these messages to workers in its comm_group.
Is there a way to Bcast directly from each listener to the worker pool?  (listeners must monitor their ports most of the time and cant participate in global bcasts)Not knowing which listener is going to transmit prevents the correct comm_group being used with Bcast calls.
--- On Sat, 30/4/11, Jeff Squyres <jsquyres_at_[hidden]> wrote:

From: Jeff Squyres <jsquyres_at_[hidden]>
Subject: Re: [OMPI users] is there an equiv of iprove for bcast?
To: randolph_pullen_at_[hidden], "Open MPI Users" <users_at_[hidden]>
Received: Saturday, 30 April, 2011, 7:17 AM

On Apr 29, 2011, at 1:21 AM, Randolph Pullen wrote:

> I am having a design issue:
> My server application has 2 processes per node, 1 listener and 1 worker.
> Each listener monitors a specified port for incoming TCP connections with the goal that on receipt of a request it will distribute it over the workers in a SIMD fashion.
>
> My problem is this: how can I get the workers to accept work from any of the listeners?
> Making a separate communicator does not help as the sender is unknown.  Other than making a serial 'clearing house' process I cant think of a way  - Iprobe for Bcast would be useful.

I'm not quite sure I understand your question.

There currently is no probe for collectives, but MPI-3 has non-blocking collectives which you could MPI_Test for.  There's a 3rd party library implementation called libNBC (non-blocking collectives) that you could use until such things become natively available.

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/