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

Upgrade alert when petsc updates to python3 #7

Open
burgreen opened this issue Feb 13, 2019 · 1 comment
Open

Upgrade alert when petsc updates to python3 #7

burgreen opened this issue Feb 13, 2019 · 1 comment

Comments

@burgreen
Copy link

When PETsc upgrades to Python3 compatibility in early 2019, at least one small change needs to be made to DaetkPetscVec.cpp:

replace VecScatterCreate with VecScatterCreateWithData

@jedbrown
Copy link

You don't have to leave this hanging (and it's unrelated from Python3 configure except that PETSc 3.11 will have both changes). You can upgrade the call sites now and add this so it continues to work with the current release.

#if PETSC_VERSION_LT(3,11,0)
#  define VecScatterCreateWithData VecScatterCreate
#endif

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

No branches or pull requests

2 participants