diff --git a/Grid/communicator/Communicator_mpi3.cc b/Grid/communicator/Communicator_mpi3.cc index 5c009890..fef4ea1f 100644 --- a/Grid/communicator/Communicator_mpi3.cc +++ b/Grid/communicator/Communicator_mpi3.cc @@ -406,6 +406,7 @@ double CartesianCommunicator::StencilSendToRecvFromBegin(std::vector &list,int dir) { acceleratorCopySynchronise(); + StencilBarrier();// Synch shared memory on a single nodes int nreq=list.size();