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

Update to 0.8.0 #76

Closed
wants to merge 9 commits into from
Closed

Update to 0.8.0 #76

wants to merge 9 commits into from

Conversation

jorgensd
Copy link
Contributor

@jorgensd jorgensd commented Sep 5, 2024

Preparing irrevolutions for 0.8.0.

API changes

  • dolfinx.fem.Function.vector -> dolfinx.fem.Function.x.petsc_vec
  • Replace all ufl.FiniteElement, ufl.VectorElement with basix.ufl.element.

Notable things
A bug in PETSc 3.21 messed up "netwontr" for all codes using ghosted arrays. There is a fix at: https://gitlab.com/petsc/petsc/-/merge_requests/7866
which will come in a post release of PETSc 3.21.

@jorgensd jorgensd marked this pull request as draft September 5, 2024 09:24
@jorgensd
Copy link
Contributor Author

jorgensd commented Sep 5, 2024

Any idea @jhale? As this is within the SNES-solver I would assume something is wrongly set up there, but I cannot spot it.

@jorgensd
Copy link
Contributor Author

jorgensd commented Sep 5, 2024

This error went away when I removed the option prefix push and pop for some strange reason..

@jorgensd
Copy link
Contributor Author

jorgensd commented Sep 5, 2024

Seems like it is an issue with NewtonTR. Changing the solver to newtonls worked...

@jorgensd jorgensd marked this pull request as ready for review September 5, 2024 14:52
@jorgensd
Copy link
Contributor Author

jorgensd commented Sep 9, 2024

Filed issue regarding PETSc 3.21 and NewtonTR at: https://gitlab.com/petsc/petsc/-/issues/1645

@jorgensd
Copy link
Contributor Author

Should be fixed with: https://gitlab.com/petsc/petsc/-/merge_requests/7866

@jorgensd jorgensd mentioned this pull request Oct 8, 2024
@jorgensd
Copy link
Contributor Author

jorgensd commented Oct 8, 2024

Close due to PETSc bug, move directly to 0.9 once released

@jorgensd jorgensd closed this Oct 8, 2024
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.

1 participant