petsc 3.11 patch: VecScatterCreateWithData
Jed Brown suggested a patch to keep dolfin working with latest PETSc. - #include petscsys.h instead of petscoptions.h - VecScatterCreateWithData instead of VecScatterCreate
It's been applied to Debian builds, it's working fine. Perhaps it might be useful for the jackhale/petsc-3.10 branch?
Comments (8)
-
-
reporter Looks like you're right, the (3,9,0) test is in master.
In that case Jed's patch could be applied directly to master rather than your petsc-3.10 branch.
-
By my reading, the patch is for upcoming PETSC 3.11? Make a PR on master and I'll get it put in, and into the 2019.1.0 branch.
-
reporter That's right. If I remember right the original patch dealt with SNESTEST same as your 3.10 patch. I refreshed the patch for dolfin 2019.1 What's left are the other bits for petsc 3.11. I'll prepare a PR.
-
reporter Created PR519. Threw in a couple of other Debian patches, baker's half dozen.
-
Just a short remark for everyone else who ends up here: dolfin 2019.1 does not compile with petsc 3.11.1 due to the undeclared “VecScatterCreateWithData”. I saw two commits fixing this
https://bitbucket.org/fenics-project/dolfin/commits/57bb03fe018506d05f795f44a73e94b15821b9a4
https://bitbucket.org/fenics-project/dolfin/commits/74d7efe1e84d65e9433fd96c50f1d278fa3e3f3f
Version 2019.1.0.post0 with petsc 3.11.1 compiles fine.
Cheers
-
reporter That’s correct, thanks Georg. 2019.1.0.post0 should be considered the final release version.
-
reporter - changed status to resolved
The commits have been made, 2019.1.0.post0 is tagged and released. We can close this bug now.
- Log in to comment
That branch is already merged on master I think?