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

Make PETSc optional #3123

Merged
merged 30 commits into from
Apr 15, 2024
Merged

Make PETSc optional #3123

merged 30 commits into from
Apr 15, 2024

Conversation

chrisrichardson
Copy link
Contributor

@chrisrichardson chrisrichardson commented Apr 14, 2024

This makes PETSc optional in C++ and Python and tests that dolfinx builds with it disabled.

More could be done:

  • make python check that petsc is enabled (install probably fails in an ungraceful way at the moment, if not)
  • do something with C++ demos. Most demos use PETSc. A few could be improved (e.g. matrix-free demo) to work without any PETSc.

Resolves #2472.

@chrisrichardson chrisrichardson marked this pull request as ready for review April 15, 2024 15:06
cpp/CMakeLists.txt Outdated Show resolved Hide resolved
@garth-wells garth-wells added the enhancement New feature or request label Apr 15, 2024
@garth-wells garth-wells added this to the v0.8.0 milestone Apr 15, 2024
@garth-wells garth-wells changed the title Make PETSc optional in C++ Make PETSc optional Apr 15, 2024
@garth-wells garth-wells added this pull request to the merge queue Apr 15, 2024
Merged via the queue into main with commit e2f55cf Apr 15, 2024
23 checks passed
@garth-wells garth-wells deleted the chris/petsc-optional-cpp branch April 15, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make PETSc an optional dependency
3 participants