[petsc-users] Local sizes when creating PETSC MatIS
Jed Brown
jed at jedbrown.org
Sat Jun 15 19:27:26 CDT 2019
José Lorenzo via petsc-users <petsc-users at mcs.anl.gov> writes:
> I'm using PETSC 3.10 with 64 bits indices.
>
> When I run valgrind I get the following message at the end of the report,
> which I don't know how to interpret:
>
> ==399672== Invalid read of size 8
> ==399672== at 0x5627D05: MatZeroEntries_SeqAIJ (aij.c:1077)
> ==399672== by 0x5394A61: MatZeroEntries (matrix.c:5664)
> ==399672== by 0x53DEF3F: MatZeroEntries_IS (matis.c:3064)
> ==399672== by 0x5394A61: MatZeroEntries (matrix.c:5664)
> ==399672== by 0x53B682C: matzeroentries_ (matrixf.c:1024)
> ==399672== by 0x415C0B: parallmodule_mp_elementarymatrices_
> (parallModule.F90:101)
> ==399672== by 0x424C40: MAIN__ (main.F90:414)
> ==399672== by 0x40303D: main (in /myproject/)
> ==399672== Address 0x4c30 is not stack'd, malloc'd or (recently) free'd
This "address" looks an awful lot like a typical integer. Is this really the *first* Valgrind warning?
More information about the petsc-users
mailing list