Skip to content

Add more PETSc destruction notes to assembly functionality that creates PETSc.Mat/Vec objects - #3524

Merged
jhale merged 2 commits into
mainfrom
dokken/petsc_destruction_docs
Nov 21, 2024
Merged

Add more PETSc destruction notes to assembly functionality that creates PETSc.Mat/Vec objects#3524
jhale merged 2 commits into
mainfrom
dokken/petsc_destruction_docs

Conversation

@jorgensd

Copy link
Copy Markdown
Member

Continuation of: #3329
Uncovered in: #3522 (comment)

@jhale
jhale added this pull request to the merge queue Nov 21, 2024
Merged via the queue into main with commit b23410d Nov 21, 2024
@jhale
jhale deleted the dokken/petsc_destruction_docs branch November 21, 2024 13:38
@garth-wells

Copy link
Copy Markdown
Member

I think we should have the 'note' text appear in one place in the docs and refer (link) to it where appropriated. We have duplicated the text in a lot of places.

@jorgensd

Copy link
Copy Markdown
Member Author

I think we should have the 'note' text appear in one place in the docs and refer (link) to it where appropriated. We have duplicated the text in a lot of places.

I guess the most natural place is to have one under create_matrix and another under create_vector, and the have references everywhere else.

schnellerhase pushed a commit to schnellerhase/fenics-dolfinx that referenced this pull request Dec 28, 2024
…es PETSc.Mat/Vec objects (FEniCS#3524)

* Add more PETSc destruction notes to assembly functionality that creates petsc vec/mat objects.
Uncovered in: FEniCS#3522 (comment)

* Ruff formatting
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.

Unresolved PETSc memory leaks in dolfinx.fem when running in parallel with MPI

3 participants