test
This commit is contained in:
@@ -136,10 +136,10 @@ void Simulation::do_decays(int number_decays) {
|
||||
}
|
||||
|
||||
void Simulation::sync_cpus() {
|
||||
std::cout<<mpi_rank<<"\n";
|
||||
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<<mpi_rank<<"\n";
|
||||
}
|
||||
|
||||
void Simulation::sync_populations() {
|
||||
|
||||
Reference in New Issue
Block a user