[mpich-discuss] One-sided communication: MPI_Win_lock inside MPI_Win_fence

Ziaul Haque Olive mzh.olive at gmail.com
Tue May 29 14:51:59 CDT 2012


Hello,

I am getting incorrect result while using lock/unlock synchronization
inside fence. the pattern is as follows,

          MPI_Win_fence(win1);
              ..........
          MPI_Win_lock(exclusive, win1);

          MPI_Accumulate(MPI_BOR, win1);

          MPI_Win_unlock(win1);

          MPI_Win_fence(win1);

is it invalid to use lock in this way?

Thanks,
Ziaul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120529/eb811772/attachment.html>


More information about the mpich-discuss mailing list