Skip to content

Fix bad PETSc cleanup#3431

Merged
cmacmackin merged 4 commits into
nextfrom
fix-petsc-bad-cleanup
Jul 10, 2026
Merged

Fix bad PETSc cleanup#3431
cmacmackin merged 4 commits into
nextfrom
fix-petsc-bad-cleanup

Conversation

@ZedThree

Copy link
Copy Markdown
Member

PetscVector, PetscMatrix, and LaplacePetsc were not cleaning up their owned PETSc objects correctly, which can lead to some MPI_Comm_free errors on the XZ-communicator. I don't really understand exactly what the issue is, I think it's something to do with PETSc being over-eager to clean up (or not cleaning up enough?).

@ZedThree ZedThree force-pushed the fix-petsc-bad-cleanup branch from 6002fac to a034127 Compare July 10, 2026 14:50
@ZedThree ZedThree requested a review from cmacmackin July 10, 2026 14:52
@ZedThree

Copy link
Copy Markdown
Member Author

Tobias confirmed this is working for him as well

@cmacmackin cmacmackin merged commit 9eb94c7 into next Jul 10, 2026
23 checks passed
@cmacmackin cmacmackin deleted the fix-petsc-bad-cleanup branch July 10, 2026 16:20
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

Successfully merging this pull request may close these issues.

2 participants