Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove instances of std::cout due to MPI #393

Open
landinjm opened this issue Jan 7, 2025 · 3 comments
Open

Remove instances of std::cout due to MPI #393

landinjm opened this issue Jan 7, 2025 · 3 comments

Comments

@landinjm
Copy link
Contributor

landinjm commented Jan 7, 2025

No description provided.

@zachcroft
Copy link
Contributor

What's the issue?

@david-montiel-t
Copy link
Contributor

I'm guessing it's because with std::cout every processor prints the same statement when run in parallel. We should use pcout instead. Is this correct, @landinjm?

@landinjm
Copy link
Contributor Author

landinjm commented Jan 8, 2025

With std::cout each processor will write whenever it reaches that section of code. It is better to have a dedicated output on the rank 0 process (as we do with pcout).

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

No branches or pull requests

3 participants