diff --git a/Grid/util/FlightRecorder.cc b/Grid/util/FlightRecorder.cc index 4b8e0346..32fcd48b 100644 --- a/Grid/util/FlightRecorder.cc +++ b/Grid/util/FlightRecorder.cc @@ -290,7 +290,9 @@ void FlightRecorder::xmitLog(void *buf,uint64_t bytes) deviceVector dev(1); acceleratorCopyToDevice(&word,&dev[0],sizeof(uint64_t)); acceleratorCopySynchronise(); +#ifndef GRID_COMMS_NONE MPI_Barrier(MPI_COMM_WORLD); +#endif } } void FlightRecorder::recvLog(void *buf,uint64_t bytes,int rank)