Error: too few arguments to function 'VecScatterCreate' during setup.py build/install

Issue #114 resolved
Eder Medina created an issue

Built petsc from source using most recent src code. When installing petsc4py I get a petsc4py error.

Reason for update-- previous versions of petsc4py where unable to run scaled versions of the examples. i.e running each example using mpiexec -n # python "scriptname" would segv. The problems however were executable using only one process.

Comments (4)

  1. Patrick Farrell

    PETSc recently changed its scatter API. petsc4py has also changed its API to match. The version of petsc4py you're compiling is not consistent with the version of PETSc you've compiled. If you're using PETSc master, you need petsc4py master; if you're using PETSc version X, you need branch X of petsc4py.

  2. Log in to comment