Commit b1d407ac authored by psamfass's avatar psamfass

started to fix distribution of heartbeats

parent e90a7fc6
......@@ -91,10 +91,14 @@ void Timing::compareProgressWithReplicas() {
// Receive deltas from other replicas;;
PMPI_Irecv(&, 1, MPI_DOUBLE,
int received = 0;
PMPI_Iprobe(mapTeamToWorldRank(getTeamRank(),r), r, getLibComm(), &received, MPI_STATUS_IGNORE);
if(received) {;;
PMPI_Irecv(&, 1, MPI_DOUBLE,
mapTeamToWorldRank(getTeamRank(), r), r, getLibComm(), &;
// Progress on outstanding receives and sends
auto it =;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment