On Thu, 2 Sep 2010 17:37:04 +0200, Leo van Kampenhout <lvankampenhout at gmail.com> wrote: > Hi all, > > since a few days I'm getting these errors during runtime (did not have it > before! ) > > [0]PETSC ERROR: src/dm/da/src/f90-custom/zda1f90.c:109: > __FUNCT__="VecRestoreArrayPrivate3" does not agree with > __func__="davecgetarrayf903_" > [0]PETSC ERROR: src/dm/da/src/f90-custom/zda1f90.c:109: > __FUNCT__="VecRestoreArrayPrivate3" does not agree with > __func__="davecgetarrayf903_"
Thanks for pointing this out. Barry/Satish, should ftn-custom functions use PetscFunctionBegin/Return or not? Most of them don't, but there are a few. In this particular file, there aren't even any PetscFunctionReturns, and there are no __FUNCT__ definitions in the -custom files that do have matching Begin/Returns. Jed
