petsc 3.11 patch: VecScatterCreateWithData

Issue #1069 resolved
Drew Parsons created an issue

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)

  1. Drew Parsons 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.

  2. Jack Hale

    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.

  3. Drew Parsons 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.

  4. Drew Parsons reporter

    That’s correct, thanks Georg. 2019.1.0.post0 should be considered the final release version.

  5. Log in to comment