[petsc-dev] memory leak in PBJacobi
Mark F. Adams
mark.adams at columbia.edu
Mon Aug 29 12:19:18 CDT 2011
I'm getting this memory leak in PBJacobi.
Barry, I can track it down if its not simple for you to fix.
Mark
==82701== 15,584 bytes in 1 blocks are definitely lost in loss record 67 of 67
==82701== at 0x1221F16: malloc (vg_replace_malloc.c:236)
==82701== by 0x85AC7: PetscMallocAlign(unsigned long, int, char const*, char const*, char const*, void**) (mal.c:37)
==82701== by 0x2CBB9D: MatInvertBlockDiagonal_SeqAIJ(_p_Mat*, double**) (aij.c:2930)
==82701== by 0x27087B: MatInvertBlockDiagonal(_p_Mat*, double**) (matrix.c:8723)
==82701== by 0x36ACFC: MatInvertBlockDiagonal_MPIAIJ(_p_Mat*, double**) (mpiaij.c:2977)
==82701== by 0x27087B: MatInvertBlockDiagonal(_p_Mat*, double**) (matrix.c:8723)
==82701== by 0x7D2E95: PCSetUp_PBJacobi(_p_PC*) (pbjacobi.c:184)
==82701== by 0x762286: PCSetUp(_p_PC*) (precon.c:819)
==82701== by 0x87E3C9: KSPSetUp(_p_KSP*) (itfunc.c:260)
==82701== by 0x87F5E9: KSPSolve(_p_KSP*, _p_Vec*, _p_Vec*) (itfunc.c:379)
==82701== by 0x875DE7: createProlongation(_p_Mat*, double const*, int, int, PetscBool, int, int*, _p_Mat**, double**, PetscBool*, double*) (createProlongation.c:1546)
==82701== by 0x864181: PCSetUp_GAMG(_p_PC*) (gamg.c:493)
==82701== by 0x762286: PCSetUp(_p_PC*) (precon.c:819)
==82701== by 0x87E3C9: KSPSetUp(_p_KSP*) (itfunc.c:260)
==82701== by 0x460A: main (in ./ex56)
More information about the petsc-dev
mailing list