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

Duplicated info messages when running in parallel #848

Open
KulaginVladimir opened this issue Jul 31, 2024 · 6 comments
Open

Duplicated info messages when running in parallel #848

KulaginVladimir opened this issue Jul 31, 2024 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@KulaginVladimir
Copy link
Collaborator

When a simulation is run in parallel with mpirun, info messages (e.g. here, here, etc.) are printed by each rank.

Before #731, a simple solution can be to call print if fenics.MPI.comm_world.rank == 0.

@KulaginVladimir KulaginVladimir added the good first issue Good for newcomers label Jul 31, 2024
@RemDelaporteMathurin RemDelaporteMathurin added this to the UKAEA workshop milestone Jul 31, 2024
@RemDelaporteMathurin RemDelaporteMathurin added the enhancement New feature or request label Aug 1, 2024
@KulaginVladimir
Copy link
Collaborator Author

@RemDelaporteMathurin, do we have instructions on how to run in parallel?

@RemDelaporteMathurin
Copy link
Collaborator

No we don't!

@RemDelaporteMathurin RemDelaporteMathurin removed this from the UKAEA workshop milestone Oct 8, 2024
@KulaginVladimir
Copy link
Collaborator Author

@RemDelaporteMathurin, do we need this issue if we have #731?

@RemDelaporteMathurin
Copy link
Collaborator

@KulaginVladimir I see these two issues are separate for now as one is just for parallel and the other is more general and also applies to serial

@KulaginVladimir
Copy link
Collaborator Author

@RemDelaporteMathurin. So, you'd keep both? This one is simpler and can help us to temporarily improve the behaviour (info, erros, etc) in parallel

@RemDelaporteMathurin
Copy link
Collaborator

Agreed!

@KulaginVladimir KulaginVladimir added this to the 1.4 milestone Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants