[petsc-dev] [fortran] DAVecGetArrayF90 error

Jed Brown jed at 59A2.org
Thu Sep 2 10:49:38 CDT 2010


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



More information about the petsc-dev mailing list