petsc4py/slepc4py should check for compatible integer types

Issue #479 resolved
Prof Garth Wells created an issue

petsc4py detection does not check that it matches the PETSc installation, e.g. DOLFIN will configure a 32-bit int petsc4py with a 64-bit int PETSc library.

Comments (5)

  1. Jan Blechta

    Generally speaking, this particular petsc4py should be built with that particular PETSc. Maybe by comparing os.path.abspath(petsc4py.get_includes()) with include path obtained by FindPETSc.cmake.

  2. Log in to comment