Skip to content

Commit

Permalink
Update PETSc version in devenv container
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Hirschvogel committed Mar 13, 2024
1 parent 4dd6c5c commit 3e905bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile_devenv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ambit-compatible dolfinx dev-env Docker image
FROM ghcr.io/fenics/dolfinx/dev-env@sha256:fd50a8e829595e3ef33933a42997e96446053d04ff0d3c09884e7b6b91be8646
FROM ghcr.io/fenics/dolfinx/dev-env@sha256:8abdd30f7315deddd79277542639a3c2676d7a21451a6a669c7ce150c2ce5ae9

LABEL org.opencontainers.image.source=https://github.com/marchirschvogel/ambit
LABEL org.opencontainers.image.description="ambit_devenv"
Expand Down
1 change: 1 addition & 0 deletions src/ambit_fe/solver/preconditioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def create(self, pc):
opts = PETSc.Options()
for o in opt_dict:
opts.setValue(o, opt_dict[o])
# opts.setValue('pc_hypre_parasails_reuse', True) # TODO: There seems to be a memory leak when using ParaSails, even with this option. What is going on??!
self.ksp_fields[n].getPC().setFromOptions()
# print to view some settings...
# print(self.ksp_fields[n].getPC().view())
Expand Down

0 comments on commit 3e905bc

Please sign in to comment.