[petsc-users] output after updating to petsc-3.3-p4 from p3

Barry Smith bsmith at mcs.anl.gov
Mon Nov 26 12:37:01 CST 2012


   Randy,

         This output comes from having a memory leak in the code. By default we don't print this information. Do you perhaps have an environmental variable PETSC_OPTIONS set to -malloc_test or -malloc_debug etc? 

         Likely this is not a direct result of changing the patch level but something else that changed in your configuration, options etc.

   Barry



On Nov 26, 2012, at 12:16 PM, Randall Mackie <rlmackie862 at gmail.com> wrote:

> I just updated from patch level 3 to patch level 4, and after recompiling and rerunning, I am getting output like the following:
> 
>  
> [0]Total space allocated 1091174672 bytes
> [ 0]48 bytes PetscObjectComposedDataIncreaseReal() line 170 in /home/MackieR/PETSc/petsc-3.3-p4/src/sys/objects/state.c
>       [0]  VecSet() line 494 in /home/MackieR/PETSc/petsc-3.3-p4/src/vec/vec/interface/rvector.c
>       [0]  VecZeroEntries() line 1365 in /home/MackieR/PETSc/petsc-3.3-p4/src/vec/vec/interface/vector.c
>       [0]  PCApply_ASM() line 432 in /home/MackieR/PETSc/petsc-3.3-p4/src/ksp/pc/impls/asm/asm.c
>       [0]  PCApply() line 373 in /home/MackieR/PETSc/petsc-3.3-p4/src/ksp/pc/interface/precon.c
>       [0]  PCApplyBAorAB() line 581 in /home/MackieR/PETSc/petsc-3.3-p4/src/ksp/pc/interface/precon.c
>       [0]  KSPSolve_BCGS() line 54 in /home/MackieR/PETSc/petsc-3.3-p4/src/ksp/ksp/impls/bcgs/bcgs.c
>       [0]  KSPSolve() line 351 in /home/MackieR/PETSc/petsc-3.3-p4/src/ksp/ksp/interface/itfunc.c
> 
> 
> etc
> 
> 
> This must be something new in patch level 4, but what is this and how can it be turned off?
> 
> 
> Thanks, 
> 
> Randy M.



More information about the petsc-users mailing list