Skip to content

Conversation

@TomMelt
Copy link
Contributor

@TomMelt TomMelt commented Nov 4, 2025

This is a mostly stylistic change rather than functional. When you run in parallel e.g., mpirun -n N the progress is output N times. This PR makes it only print on the main process (proc 0)

@TomMelt TomMelt self-assigned this Nov 4, 2025
@TomMelt TomMelt added the ICCS Tasks or reviews for the ICCS team label Nov 4, 2025
#ifdef USE_MPI
auto& modelMPI = ModelMPI::getInstance();
if (modelMPI.getRank() == 0) {
std::cout << tst.start << std::endl;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably use a logger here instead. (Can we see if boost log can handle MPI? or can we make it handle MPI?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ICCS Tasks or reviews for the ICCS team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants