replace barrier with fence
This commit is contained in:
@@ -39,7 +39,7 @@ int main(int argc, char **argv) {
|
||||
std::cout << "rank " << rank << " put to " << target << std::endl << std::flush;
|
||||
MPI_Put(&rank, 1, MPI_INT, target, 0, 1, MPI_INT, win);
|
||||
|
||||
MPI_Barrier(MPI_COMM_WORLD);
|
||||
MPI_Win_fence(0, win);
|
||||
|
||||
int err = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user