Skip to content

Commit 220e2ff

Browse files
committed
broadcast reduceCounter after restart
1 parent 06c77ff commit 220e2ff

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • include/picongpu/plugins/binning/binners

include/picongpu/plugins/binning/binners/Binner.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ namespace picongpu
229229
<< std::endl;
230230
}
231231
}
232+
233+
// Broadcast the reduce counter from rank 0 to all other ranks
234+
eventSystem::getTransactionEvent().waitForFinished();
235+
MPI_CHECK(MPI_Bcast(&reduceCounter, 1u, MPI_UINT32_T, 0, gc.getCommunicator().getMPIComm()));
232236
}
233237

234238
private:

0 commit comments

Comments
 (0)