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

Add support for PETSc & SLEPc 3.18 / 3.19 #2704

Merged
merged 18 commits into from
May 2, 2023
Merged

Add support for PETSc & SLEPc 3.18 / 3.19 #2704

merged 18 commits into from
May 2, 2023

Conversation

ZedThree
Copy link
Member

Replace #2698, rebased into master

Unfortunately, newer PETSc defaults have reduced accuracy in our tests. See #2698 (comment) for details

PCJACOBI apparently works on GPU but it seems like a complete downgrade on CPU.

We also need a fix for PETSc reporting errors from our interface mixing VecGetValues and VecSetValues calls. I'm not sure there's a way round this, so we might need a different implementation. I'll make a separate issue for that, because it doesn't seem to affect the result.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

src/solver/impls/petsc/petsc.cxx Show resolved Hide resolved
src/solver/impls/petsc/petsc.cxx Show resolved Hide resolved
src/solver/impls/petsc/petsc.cxx Show resolved Hide resolved
src/solver/impls/petsc/petsc.cxx Show resolved Hide resolved
src/solver/impls/petsc/petsc.cxx Show resolved Hide resolved
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@dschwoerer dschwoerer added this to the BOUT-5.0.1 milestone May 2, 2023
@ZedThree ZedThree merged commit d1f23c0 into master May 2, 2023
24 checks passed
@ZedThree ZedThree deleted the petsc-3-19 branch May 2, 2023 10:29
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.

None yet

2 participants