This commit is contained in:
Christian
2019-07-19 15:16:49 +02:00
parent a60bcd2823
commit 64345e5252
+1
View File
@@ -139,6 +139,7 @@ void Simulation::sync_cpus() {
MPI_Allreduce(&number_local_decays, &number_global_decays, 1, MPI_INT, MPI_SUM, MPI_COMM_WORLD);
looper.set_global_decays(number_global_decays - number_local_decays);
sync_populations();
std::cout<<rank<<"\n";
}
void Simulation::sync_populations() {