[mpich-discuss] Race condition in MPI3 (Fortran, shared memory)
C.Friedrich
c.friedrich at fz-juelich.de
Wed Apr 13 11:28:06 CDT 2016
Thanks for the suggestion! Adding MPI_WIN_SYNC in this way:
do i = 1,10000
call mpe_win_fence(a,0,Nwin,err)
a = a + 1
call mpi_win_sync(Nwin,err)
call mpe_win_fence(a,0,Nwin,err)
enddo
does not work. The compiled executable either issues the error
Fatal error in MPI_Win_sync: Wrong synchronization of RMA calls , error
stack:
MPI_Win_sync(115)..: MPI_Win_sync(win=0xa0000000) failed
MPID_Win_sync(1805): Wrong synchronization of RMA calls
or simply dies (without writing the numbers). Perhaps I use it
incorrectly...
Christoph
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
_______________________________________________
discuss mailing list discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list