Make test ran correctly for both debug and optimized builds. It runs fine with plain bJacobi/ilu preconditioning.
On Monday, September 23, 2013, Matthew Knepley wrote: > On Mon, Sep 23, 2013 at 1:14 PM, John Mousel > <[email protected]<javascript:_e({}, 'cvml', '[email protected]');> > > wrote: > >> I just pulled from petsc-dev and I'm now getting the following error. The >> result from valgrind is pasted below the error message. >> Any help would be appreciated. >> > > Looks like BLAS errors, but valgrind has a problem with StateIncrease(). > Jed just changed the size of the > state counter. Are you sure everything rebuilt correctly? > > Matt > > > John > > > [0]PETSC ERROR: PetscMallocValidate: error detected at MatScale_SeqAIJ() > line 2464 in src/mat/impls/aij/seq/aij.c > [0]PETSC ERROR: [1]PETSC ERROR: [2]PETSC ERROR: Memory [id=0(48)] at > address 0x8483450 is corrupted (probably write past end of array) > [0]PETSC ERROR: Memory originally allocated in > PetscObjectComposedDataIncreaseReal() line 171 in src/sys/objects/state.c > PetscMallocValidate: error detected at MatScale_SeqAIJ() line 2464 in > src/mat/impls/aij/seq/aij.c > PetscMallocValidate: error detected at MatScale_SeqAIJ() line 2464 in > src/mat/impls/aij/seq/aij.c > [2]PETSC ERROR: [1]PETSC ERROR: [0]PETSC ERROR: --------------------- > Error Message ------------------------------------ > [0]PETSC ERROR: Memory corruption! > [0]PETSC ERROR: ! > [0]PETSC ERROR: > ------------------------------------------------------------------------ > [0]PETSC ERROR: Petsc Development GIT revision: > b4e904d1358c92c43842a940440f995d2117e40b GIT Date: 2013-09-23 12:36:08 > +0100 > [0]PETSC ERROR: See docs/changes/index.html for recent updates. > [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. > [0]PETSC ERROR: See docs/index.html for manual pages. > [0]PETSC ERROR: > ------------------------------------------------------------------------ > [0]PETSC ERROR: ../src/CYLINDER_EXE on a gnu-debug named wv.iihr.uiowa.eduby > jmousel Mon Sep 23 15:07:15 2013 > [0]PETSC ERROR: Libraries linked from > /home/jmousel/NumericalLibraries/petsc/gnu-debug/lib > [0]PETSC ERROR: Configure run at Mon Sep 23 15:04:14 2013 > [0]PETSC ERROR: Configure options --download-cmake=1 > --download-f-blas-lapack=1 --download-metis=1 --download-mpich=1 > --download-parmetis=1 --with-cc=gcc --with-cxx=g++ --with-fc=gfortran > PETSC_ARCH=gnu-debug > [0]PETSC ERROR: > ------------------------------------------------------------------------ > [0]PETSC ERROR: PetscMallocValidate() line 149 in src/sys/memory/mtr.c > [0]PETSC ERROR: MatScale_SeqAIJ() line 2464 in src/mat/impls/aij/seq/aij.c > [0]PETSC ERROR: MatScale() line 4758 in src/mat/interface/matrix.c > [0]PETSC ERROR: MatScale_MPIAIJ() line 1262 in > src/mat/impls/aij/mpi/mpiaij.c > [0]PETSC ERROR: MatScale() line 4758 in src/mat/interface/matrix.c > [0]PETSC ERROR: MatAYPX() line 279 in src/mat/utils/axpy.c > [0]PETSC ERROR: PCGAMGOptprol_AGG() line 1331 in > src/ksp/pc/impls/gamg/agg.c > [0]PETSC ERROR: PCSetUp_GAMG() line 597 in src/ksp/pc/impls/gamg/gamg.c > [0]PETSC ERROR: PCSetUp() line 890 in src/ksp/pc/interface/precon.c > [0]PETSC ERROR: KSPSetUp() line 278 in src/ksp/ksp/interface/itfunc.c > [0]PETSC ERROR: KSPSolve() line 399 in src/ksp/ksp/interface/itfunc.c > Memory [id=0(48)] at address 0x8556ca0 is corrupted (probably write past > end of array) > [1]PETSC ERROR: Memory originally allocated in > PetscObjectComposedDataIncreaseReal() line 171 in src/sys/objects/state.c > [1]PETSC ERROR: Memory [id=0(48)] at address 0x9308690 is corrupted > (probably write past end of array) > --------------------- Error Message ------------------------------------ > [2]PETSC ERROR: Memory originally allocated in > PetscObjectComposedDataIncreaseReal() line 171 in src/sys/objects/state.c > [1]PETSC ERROR: Memory corruption! > [1]PETSC ERROR: ! > [1]PETSC ERROR: > ------------------------------------------------------------------------ > [1]PETSC ERROR: Petsc Development GIT revision: > b4e904d1358c92c43842a940440f995d2117e40b GIT Date: 2013-09-23 12:36:08 > +0100 > [1]PETSC ERROR: See docs/changes/index.html for recent updates. > [1]PETSC ERROR: See docs/faq.html for hints about trouble shooting. > [1]PETSC ERROR: See docs/index.html for manual pages. > [1]PETSC ERROR: > ------------------------------------------------------------------------ > [1]PETSC ERROR: ../src/CYLINDER_EXE on a gnu-debug named wv.iihr.uiowa.eduby > jmousel Mon Sep 23 15:07:15 2013 > [1]PETSC ERROR: Libraries linked from > /home/jmousel/NumericalLibraries/petsc/gnu-debug/lib > [1]PETSC ERROR: Configure run at Mon Sep 23 15:04:14 2013 > [1]PETSC ERROR: Configure options --download-cmake=1 > --download-f-blas-lapack=1 --download-metis=1 --download-mpich=1 > --download-parmetis=1 --with-cc=gcc --with-cxx=g++ --with-fc=gfortran > PETSC_ARCH=gnu-debug > [1]PETSC ERROR: > ------------------------------------------------------------------------ > [1]PETSC ERROR: PetscMallocValidate() line 149 in src/sys/memory/mtr.c > [2]PETSC ERROR: --------------------- Error Message > ------------------------------------ > [2]PETSC ERROR: Memory corruption! > [2]PETSC ERROR: ! > [2]PETSC ERROR: > ------------------------------------------------------------------------ > [2]PETSC ERROR: Petsc Development GIT revision: b4e904d1 > > > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener >
