Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] MPI_Init() and MPI_Init_thread()
From: Dave Goodell (goodell_at_[hidden])
Date: 2010-03-03 15:06:47


On Mar 3, 2010, at 11:35 AM, Richard Treumann wrote:
> If the application will make MPI calls from multiple threads and
> MPI_INIT_THREAD has returned FUNNELED, the application must be
> willing to take the steps that ensure there will never be concurrent
> calls to MPI from the threads. The threads will take turns - without
> fail.
>
Minor nitpick: if the implementation returns FUNNELED, only the main
thread (basically the thread that called MPI_INIT_THREAD, see MPI-2.2
pg 386 for def'n) may make MPI calls. Dick's paragraph above is
correct if you replace FUNNELED with SERIALIZED.

-Dave