Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Do MPI calls ever sleep?
From: Jed Brown (jed_at_[hidden])
Date: 2010-07-21 14:24:49


On Wed, 21 Jul 2010 14:10:53 -0400, David Ronis <David.Ronis_at_[hidden]> wrote:
> Is there another MPI routine that polls for data and then gives up its
> time-slice?

You're probably looking for the runtime option -mca yield_when_idle 1.
This will slightly increase latency, but allows other threads to run
without competing with the spinning MPI.

Jed