Skip to content

Commit

Permalink
Add a few flush statements for printing status
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewcarbone committed Dec 17, 2023
1 parent 09072aa commit 1973e4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ json master(const size_t min_index_inclusive, const size_t max_index_exclusive)
duration,
duration / loop_count
);
fflush(stdout);
}
}

Expand Down Expand Up @@ -437,6 +438,7 @@ void auto_determine_dynamics_(utils::SimulationParameters* params)
printf("\tRunning standard dynamics, faster by factor of %.01f\n", gillespie_time / standard_time);
result_int = 0;
}
fflush(stdout);
}

MPI_Bcast(&result_int, 1, MPI_INT, 0, MPI_COMM_WORLD);
Expand Down

0 comments on commit 1973e4f

Please sign in to comment.