Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Any scientific application heavilyusing MPI_Barrier?
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-03-05 10:36:08

On Mar 5, 2009, at 10:33 AM, Gerry Creager wrote:

> We've been playing with it in a coupled atmosphere-ocean model to
> allow
> the two to synchronize and exchange data. The models have differing
> levels of physics complexity and the time step requirements are
> significantly different. To sync them up we have to know where the
> timesteps are identical, stop the process, exchange data and continue.
> We've been playing with barrier to help.

I'm not sure I understand -- "help" meaning what?

If you're exchanging data at the end of an iteration, then you
effectively have a synchronization anyway -- no need for an extra
barrier synchronization.

Jeff Squyres
Cisco Systems