On Fri, 4 Jul, 2014 at 10:37 AM, Jan Blechta <[email protected]> wrote:
Hi Garth and others,

after merging 'garth/merge-fix-119' I experience some build problems in
PETScMatrix. With PETSc e660135 (which is 3.4.4+) I have

/usr/users/blechta/fenics/fenics-mkl/src/dolfin/dolfin/la/PETScMatrix.cpp:213:76: error: invalid conversion from 'std::vector<int>::size_type {aka long unsigned int}' to 'const PetscInt* {aka const int*}' [-fpermissive] /usr/users/blechta/fenics/fenics-mkl/src/dolfin/dolfin/la/PETScMatrix.cpp:213:76: error: cannot convert 'int*' to 'PetscCopyMode' for argument '4' to 'PetscErrorCode ISLocalToGlobalMappingCreate(MPI_Comm, PetscInt, const PetscInt*, PetscCopyMode, _p_ISLocalToGlobalMapping**)'

and same on lines 215, 290, 292.

I can build with master prior to the merge. Any ideas?

If you're using PETSc dev, you need to up date it. They changed the interface to ISLocalToGlobalMappingCreate.

Garth


Jan

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to