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

MPI communicators are not freed when reading or writing restarts #3302

Open
atrayano opened this issue Jan 10, 2025 · 0 comments
Open

MPI communicators are not freed when reading or writing restarts #3302

atrayano opened this issue Jan 10, 2025 · 0 comments
Assignees

Comments

@atrayano
Copy link
Contributor

In MAPL2, we use a derived type "ArrDescr" to hold additional information needed for reading or writing restarts. This type contains 6 MPI communicators, most of which are set by calling MPI_Comm_Split. These communicators are not freed at the end of the IO operation, and as a consequence, a very long run with frequent writing checkpoints would fail (most likely due to exhausting some internal MPI limit)

@atrayano atrayano added the 🪲 Bugfix This fixes a bug! label Jan 10, 2025
@atrayano atrayano self-assigned this Jan 10, 2025
@mathomp4 mathomp4 removed the 🪲 Bugfix This fixes a bug! label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants