This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Newest PETSc configure with dolfin build fails due to PetscInt64

0 votes

When building dolfin with the newest version of PETSc I get the following error.

    [ 98%] Built target _fem
/home/dokken/dev/dolfin/build/dolfin/swig/modules/la/modulePYTHON_wrap.cxx:4702:27: error: ‘Petsc64bitInt’ was not declared in this scope
 SWIG_From_Petsc64bitInt  (Petsc64bitInt val) {

This is due to a change in PETSc/include/petscsys.h, where
there in line 262 has been a change in the typedef.
Now it says

typedef int64_t PetscInt64; 

and not

typedef int64_t Petsc64bitInt 

as it did in version 3.7.

This is just a heads up that this may be a future issue when building dolfin.

closed with the note: Please send this to the fenics-support mailing list instead
asked Sep 13, 2016 by jdokken FEniCS Novice (120 points)
closed Sep 13, 2016 by johannr
...