[mvapich-discuss] Multithread MPI_Win_unlock fatal error

Mingzhe Li li.2192 at osu.edu
Sun Nov 17 12:41:46 EST 2013


Hi Ju,

Based on MPI one sided standard, the origin process can not call win_unlock
twice back to back to the same target process. If you want to ensure
communication completion, you could use win_flush with win_unlock instead
of calling win_unlock twice. Since, MVAPICH2-1.9 didn't have that support,
you will need to use our latest release MVAPICH2-2.0b which has support for
win_flush.

Mingzhe


On Fri, Nov 15, 2013 at 10:33 PM, Ju How <jujj603 at gmail.com> wrote:

> Hi all:
>      I have a multithread program which uses passive MPI_Get to access
> remote memory. I got this error sometimes
>
> Fatal error in MPI_Win_unlock:
> Wrong synchronization of RMA calls
>
> i write a test program to reenter MPI_Win_lock of same target in a single
> thread , and unlock twice , to simulate this problem, i got the same error.
> I doubt MPI_Win_lock is non-reenterable with same target in this version
> (1.9) of mvapich2, or it's a bug?
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20131117/95964a63/attachment.html>


More information about the mvapich-discuss mailing list