[petsc-dev] [fortran] DAVecGetArrayF90 error

Leo van Kampenhout lvankampenhout at gmail.com
Fri Sep 3 07:19:00 CDT 2010


Any change of this being fixed in the coming week? I would appreciate it :)



2010/9/2 Barry Smith <bsmith at mcs.anl.gov>

>
> On Sep 2, 2010, at 10:49 AM, Jed Brown wrote:
>
> > 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.
> >
>     We should just be consistent. If they use part of the constructs they
> should use them all. Note you cannot use PetscFunctionReturn(0) for these I
> guess you can use PetscFunctionReturnVoid()
>
>   Ok who will fix these?
>
>   Barry
>
>
> >
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100903/8dc5f06c/attachment.html>


More information about the petsc-dev mailing list