[mpiwg-rma] [EXTERNAL] Re: Synchronization on shared memory windows

Jeff Hammond jeff.science at gmail.com
Wed Feb 5 11:48:59 CST 2014


I'd like to see the text changes that are proposed before discussing MPI-Next.

Jeff

On Wed, Feb 5, 2014 at 11:47 AM, Dave Goodell (dgoodell)
<dgoodell at cisco.com> wrote:
> On Feb 5, 2014, at 11:43 AM, Rolf Rabenseifner <rabenseifner at hlrs.de> wrote:
>
>> Pavan, Dave, Jeff, and Brian,
>>
>> is it now correct?
>
> As far as I can tell it is correct, modulo any Fortran behavior that I don't understand.
>
>> Should it go in MPI-next into Sect.11.7?
>
> That seems reasonable to me.
>
> -Dave
>
>>> --------------------
>>> X is part of a shared memory window and should mean the same
>>> memory location in both processes produced with
>>> MPI_WIN_ALLOCATE_SHARED.
>>>
>>> Process A               Process B
>>>
>>> MPI_WIN_LOCK_ALL(       MPI_WIN_LOCK_ALL(
>>> MPI_MODE_NOCHECK,win)   MPI_MODE_NOCHECK,win)
>>>
>>> DO ...                  DO ...
>>>  x=...
>>>  MPI_F_SYNC_REG(X)
>>>  MPI_WIN_SYNC(win)
>>>  MPI_Barrier             MPI_Barrier
>>>                          MPI_WIN_SYNC(win)
>>>                          MPI_F_SYNC_REG(X)
>>>                          print X
>>> END DO                  END DO
>>>
>>> MPI_WIN_UNLOCK_ALL(win) MPI_WIN_UNLOCK_ALL(win)
>>> --------------------
>
> _______________________________________________
> mpiwg-rma mailing list
> mpiwg-rma at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma



-- 
Jeff Hammond
jeff.science at gmail.com



More information about the mpiwg-rma mailing list