[petsc-dev] Error in PetscMallocValidate

John Mousel john.mousel at gmail.com
Mon Sep 23 15:14:38 CDT 2013


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.

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:
b4e904d1358c92c43842a940440f995d2117e40b  GIT Date: 2013-09-23 12:36:08
+0100
[2]PETSC ERROR: See docs/changes/index.html for recent updates.
[2]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[2]PETSC ERROR: See docs/index.html for manual pages.
[1]PETSC ERROR: [2]PETSC ERROR: MatScale_SeqAIJ() line 2464 in
src/mat/impls/aij/seq/aij.c
------------------------------------------------------------------------
[2]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: [2]PETSC ERROR: MatScale() line 4758 in
src/mat/interface/matrix.c
Libraries linked from /home/jmousel/NumericalLibraries/petsc/gnu-debug/lib
[2]PETSC ERROR: Configure run at Mon Sep 23 15:04:14 2013
[1]PETSC ERROR: [2]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
MatScale_MPIAIJ() line 1262 in src/mat/impls/aij/mpi/mpiaij.c
[2]PETSC ERROR:
------------------------------------------------------------------------
[1]PETSC ERROR: MatScale() line 4758 in src/mat/interface/matrix.c
[2]PETSC ERROR: PetscMallocValidate() line 149 in src/sys/memory/mtr.c
[1]PETSC ERROR: MatAYPX() line 279 in src/mat/utils/axpy.c
[1]PETSC ERROR: PCGAMGOptprol_AGG() line 1331 in src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: PCSetUp_GAMG() line 597 in src/ksp/pc/impls/gamg/gamg.c
[1]PETSC ERROR: PCSetUp() line 890 in src/ksp/pc/interface/precon.c
[1]PETSC ERROR: KSPSetUp() line 278 in src/ksp/ksp/interface/itfunc.c
[1]PETSC ERROR: KSPSolve() line 399 in src/ksp/ksp/interface/itfunc.c
[2]PETSC ERROR: MatScale_SeqAIJ() line 2464 in src/mat/impls/aij/seq/aij.c
[2]PETSC ERROR: MatScale() line 4758 in src/mat/interface/matrix.c
[2]PETSC ERROR: MatScale_MPIAIJ() line 1262 in
src/mat/impls/aij/mpi/mpiaij.c
[2]PETSC ERROR: MatScale() line 4758 in src/mat/interface/matrix.c
[2]PETSC ERROR: MatAYPX() line 279 in src/mat/utils/axpy.c
[2]PETSC ERROR: PCGAMGOptprol_AGG() line 1331 in src/ksp/pc/impls/gamg/agg.c
[2]PETSC ERROR: PCSetUp_GAMG() line 597 in src/ksp/pc/impls/gamg/gamg.c
[2]PETSC ERROR: PCSetUp() line 890 in src/ksp/pc/interface/precon.c
[2]PETSC ERROR: KSPSetUp() line 278 in src/ksp/ksp/interface/itfunc.c
[2]PETSC ERROR: KSPSolve() line 399 in src/ksp/ksp/interface/itfunc.c
***[0]PCReset_GAMG this should not happen, cleaned up in SetUp
[0]PETSC ERROR: PetscTrFreeDefault() called from
PetscComposedQuantitiesDestroy() line 40 in src/sys/objects/destroy.c
[0]PETSC ERROR: Block [id=0(48)] at address 0x8482c00 is corrupted
(probably write past end of array)
[0]PETSC ERROR: Block allocated in PetscObjectComposedDataIncreaseReal()
line 171 in src/sys/objects/state.c
[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Memory corruption!
[0]PETSC ERROR: Corrupted memory!
[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: PetscTrFreeDefault() line 303 in src/sys/memory/mtr.c
[0]PETSC ERROR: PetscComposedQuantitiesDestroy() line 40 in
src/sys/objects/destroy.c
[1]PETSC ERROR: PetscTrFreeDefault() called from
PetscComposedQuantitiesDestroy() line 40 in src/sys/objects/destroy.c
[1]PETSC ERROR: Block [id=0(48)] at address 0x8556450 is corrupted
(probably write past end of array)
[1]PETSC ERROR: Block allocated in PetscObjectComposedDataIncreaseReal()
line 171 in src/sys/objects/state.c
[1]PETSC ERROR: --------------------- Error Message
------------------------------------
[1]PETSC ERROR: Memory corruption!
[1]PETSC ERROR: Corrupted memory!
[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: PetscTrFreeDefault() line 303 in src/sys/memory/mtr.c
[1]PETSC ERROR: PetscComposedQuantitiesDestroy() line 40 in
src/sys/objects/destroy.c
[2]PETSC ERROR: PetscTrFreeDefault() called from
PetscComposedQuantitiesDestroy() line 40 in src/sys/objects/destroy.c
[2]PETSC ERROR: Block [id=0(48)] at address 0x9307e40 is corrupted
(probably write past end of array)
[2]PETSC ERROR: Block allocated in PetscObjectComposedDataIncreaseReal()
line 171 in src/sys/objects/state.c
[2]PETSC ERROR: --------------------- Error Message
------------------------------------
[2]PETSC ERROR: Memory corruption!
[2]PETSC ERROR: Corrupted memory!
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: Petsc Development GIT revision:
b4e904d1358c92c43842a940440f995d2117e40b  GIT Date: 2013-09-23 12:36:08
+0100
[2]PETSC ERROR: See docs/changes/index.html for recent updates.
[2]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[2]PETSC ERROR: See docs/index.html for manual pages.
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: ../src/CYLINDER_EXE on a gnu-debug named
wv.iihr.uiowa.eduby jmousel Mon Sep 23 15:07:15 2013
[2]PETSC ERROR: Libraries linked from
/home/jmousel/NumericalLibraries/petsc/gnu-debug/lib
[2]PETSC ERROR: Configure run at Mon Sep 23 15:04:14 2013
[2]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
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: PetscTrFreeDefault() line 303 in src/sys/memory/mtr.c
[2]PETSC ERROR: PetscComposedQuantitiesDestroy() line 40 in
src/sys/objects/destroy.c
[2]PETSC ERROR: PetscMallocValidate: error detected at formProl0() line 843
in src/ksp/pc/impls/gamg/agg.c
[2]PETSC ERROR: Memory [id=0(48)] at address 0x9308690 is corrupted
(probably write past end of array)
[2]PETSC ERROR: Memory originally allocated in
PetscObjectComposedDataIncreaseReal() line 171 in src/sys/objects/state.c
[2]PETSC ERROR: --------------------- Error Message
------------------------------------
[2]PETSC ERROR: Memory corruption!
[2]PETSC ERROR:  !
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: Petsc Development GIT revision:
b4e904d1358c92c43842a940440f995d2117e40b  GIT Date: 2013-09-23 12:36:08
+0100
[2]PETSC ERROR: See docs/changes/index.html for recent updates.
[2]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[2]PETSC ERROR: See docs/index.html for manual pages.
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: ../src/CYLINDER_EXE on a gnu-debug named
wv.iihr.uiowa.eduby jmousel Mon Sep 23 15:07:15 2013
[2]PETSC ERROR: Libraries linked from
/home/jmousel/NumericalLibraries/petsc/gnu-debug/lib
[2]PETSC ERROR: Configure run at Mon Sep 23 15:04:14 2013
[2]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
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: PetscMallocValidate() line 149 in src/sys/memory/mtr.c
[2]PETSC ERROR: formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[2]PETSC ERROR: PCGAMGProlongator_AGG() line 1196 in
src/ksp/pc/impls/gamg/agg.c
[2]PETSC ERROR: PCSetUp_GAMG() line 588 in src/ksp/pc/impls/gamg/gamg.c
[2]PETSC ERROR: PCSetUp() line 890 in src/ksp/pc/interface/precon.c
[2]PETSC ERROR: KSPSetUp() line 278 in src/ksp/ksp/interface/itfunc.c
[2]PETSC ERROR: KSPSolve() line 399 in src/ksp/ksp/interface/itfunc.c
[1]PETSC ERROR: PetscMallocValidate: error detected at formProl0() line 843
in src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: 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: --------------------- Error Message
------------------------------------
[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
[1]PETSC ERROR: formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: PCGAMGProlongator_AGG() line 1196 in
src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: PCSetUp_GAMG() line 588 in src/ksp/pc/impls/gamg/gamg.c
[1]PETSC ERROR: PCSetUp() line 890 in src/ksp/pc/interface/precon.c
[1]PETSC ERROR: KSPSetUp() line 278 in src/ksp/ksp/interface/itfunc.c
[1]PETSC ERROR: KSPSolve() line 399 in src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: PetscMallocValidate: error detected at formProl0() line 843
in src/ksp/pc/impls/gamg/agg.c
[0]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
[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: formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[0]PETSC ERROR: PCGAMGProlongator_AGG() line 1196 in
src/ksp/pc/impls/gamg/agg.c
[0]PETSC ERROR: PCSetUp_GAMG() line 588 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
***[0]PCReset_GAMG this should not happen, cleaned up in SetUp
[2]PETSC ERROR: [1]PETSC ERROR: PetscMallocValidate: error detected at
formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[2]PETSC ERROR: PetscMallocValidate: error detected at formProl0() line 843
in src/ksp/pc/impls/gamg/agg.c
Memory [id=0(48)] at address 0x9308690 is corrupted (probably write past
end of array)
[1]PETSC ERROR: [2]PETSC ERROR: Memory originally allocated in
PetscObjectComposedDataIncreaseReal() line 171 in src/sys/objects/state.c
Memory [id=0(48)] at address 0x8556ca0 is corrupted (probably write past
end of array)
[2]PETSC ERROR: [1]PETSC ERROR: --------------------- Error Message
------------------------------------
[2]PETSC ERROR: Memory corruption!
Memory originally allocated in PetscObjectComposedDataIncreaseReal() line
171 in src/sys/objects/state.c
[2]PETSC ERROR:  !
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: [1]PETSC ERROR: Petsc Development GIT revision:
b4e904d1358c92c43842a940440f995d2117e40b  GIT Date: 2013-09-23 12:36:08
+0100
[2]PETSC ERROR: See docs/changes/index.html for recent updates.
--------------------- Error Message ------------------------------------
[2]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[2]PETSC ERROR: [1]PETSC ERROR: See docs/index.html for manual pages.
[2]PETSC ERROR: Memory corruption!
------------------------------------------------------------------------
[2]PETSC ERROR: [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: ../src/CYLINDER_EXE on a gnu-debug named
wv.iihr.uiowa.eduby jmousel Mon Sep 23 15:07:15 2013
[2]PETSC ERROR:
------------------------------------------------------------------------
Libraries linked from /home/jmousel/NumericalLibraries/petsc/gnu-debug/lib
[2]PETSC ERROR: Configure run at Mon Sep 23 15:04:14 2013
[1]PETSC ERROR: [2]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
../src/CYLINDER_EXE on a gnu-debug named wv.iihr.uiowa.edu by jmousel Mon
Sep 23 15:07:15 2013
[2]PETSC ERROR:
------------------------------------------------------------------------
[1]PETSC ERROR: [2]PETSC ERROR: PetscMallocValidate() line 149 in
src/sys/memory/mtr.c
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
[2]PETSC ERROR: formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: [2]PETSC ERROR:
------------------------------------------------------------------------
PCGAMGProlongator_AGG() line 1196 in src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: [2]PETSC ERROR: PCSetUp_GAMG() line 588 in
src/ksp/pc/impls/gamg/gamg.c
PetscMallocValidate() line 149 in src/sys/memory/mtr.c
[2]PETSC ERROR: PCSetUp() line 890 in src/ksp/pc/interface/precon.c
[1]PETSC ERROR: formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: PCGAMGProlongator_AGG() line 1196 in
src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: PCSetUp_GAMG() line 588 in src/ksp/pc/impls/gamg/gamg.c
[1]PETSC ERROR: PCSetUp() line 890 in src/ksp/pc/interface/precon.c
[1]PETSC ERROR: KSPSetUp() line 278 in src/ksp/ksp/interface/itfunc.c
[2]PETSC ERROR: KSPSetUp() line 278 in src/ksp/ksp/interface/itfunc.c
[1]PETSC ERROR: [2]PETSC ERROR: KSPSolve() line 399 in
src/ksp/ksp/interface/itfunc.c
KSPSolve() line 399 in src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: PetscMallocValidate: error detected at formProl0() line 843
in src/ksp/pc/impls/gamg/agg.c
[0]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
[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: formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[0]PETSC ERROR: PCGAMGProlongator_AGG() line 1196 in
src/ksp/pc/impls/gamg/agg.c
[0]PETSC ERROR: PCSetUp_GAMG() line 588 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
***[0]PCReset_GAMG this should not happen, cleaned up in SetUp
[2]PETSC ERROR: [0]PETSC ERROR: PetscMallocValidate: error detected at
formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[0]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 formProl0() line 843 in
src/ksp/pc/impls/gamg/agg.c
[0]PETSC ERROR: [2]PETSC ERROR: --------------------- Error Message
------------------------------------
Memory [id=0(48)] at address 0x9308690 is corrupted (probably write past
end of array)
[2]PETSC ERROR: [0]PETSC ERROR: Memory originally allocated in
PetscObjectComposedDataIncreaseReal() line 171 in src/sys/objects/state.c
Memory corruption!
[2]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: [2]PETSC ERROR: Memory corruption!
[2]PETSC ERROR:  !
[2]PETSC ERROR:  !
------------------------------------------------------------------------
[2]PETSC ERROR: [0]PETSC ERROR: Petsc Development GIT revision:
b4e904d1358c92c43842a940440f995d2117e40b  GIT Date: 2013-09-23 12:36:08
+0100
[2]PETSC ERROR: See docs/changes/index.html for recent updates.
------------------------------------------------------------------------
[2]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: formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[0]PETSC ERROR: PCGAMGProlongator_AGG() line 1196 in
src/ksp/pc/impls/gamg/agg.c
[0]PETSC ERROR: PCSetUp_GAMG() line 588 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
See docs/faq.html for hints about trouble shooting.
[2]PETSC ERROR: See docs/index.html for manual pages.
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: ../src/CYLINDER_EXE on a gnu-debug named
wv.iihr.uiowa.eduby jmousel Mon Sep 23 15:07:15 2013
[2]PETSC ERROR: Libraries linked from
/home/jmousel/NumericalLibraries/petsc/gnu-debug/lib
[2]PETSC ERROR: Configure run at Mon Sep 23 15:04:14 2013
[2]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
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: PetscMallocValidate() line 149 in src/sys/memory/mtr.c
[2]PETSC ERROR: formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[2]PETSC ERROR: PCGAMGProlongator_AGG() line 1196 in
src/ksp/pc/impls/gamg/agg.c
[2]PETSC ERROR: PCSetUp_GAMG() line 588 in src/ksp/pc/impls/gamg/gamg.c
[2]PETSC ERROR: PCSetUp() line 890 in src/ksp/pc/interface/precon.c
[2]PETSC ERROR: [1]PETSC ERROR: PetscMallocValidate: error detected at
formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: 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: --------------------- Error Message
------------------------------------
[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: KSPSetUp() line 278 in src/ksp/ksp/interface/itfunc.c
Configure run at Mon Sep 23 15:04:14 2013
[2]PETSC ERROR: [1]PETSC ERROR: KSPSolve() line 399 in
src/ksp/ksp/interface/itfunc.c
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
[1]PETSC ERROR: formProl0() line 843 in src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: PCGAMGProlongator_AGG() line 1196 in
src/ksp/pc/impls/gamg/agg.c
[1]PETSC ERROR: PCSetUp_GAMG() line 588 in src/ksp/pc/impls/gamg/gamg.c
[1]PETSC ERROR: PCSetUp() line 890 in src/ksp/pc/interface/precon.c
[1]PETSC ERROR: KSPSetUp() line 278 in src/ksp/ksp/interface/itfunc.c
[1]PETSC ERROR: KSPSolve() line 399 in src/ksp/ksp/interface/itfunc.c
***[0]PCReset_GAMG this should not happen, cleaned up in SetUp
[1]PETSC ERROR: PetscMallocValidate: error detected at VecAXPY_Seq() line
257 in src/vec/vec/impls/seq/bvec1.c
[1]PETSC ERROR: 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: --------------------- Error Message
------------------------------------
[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
[0]PETSC ERROR: [1]PETSC ERROR: PetscMallocValidate: error detected at
VecAXPY_Seq() line 257 in src/vec/vec/impls/seq/bvec1.c
[0]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
[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.
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
[1]PETSC ERROR: VecAXPY_Seq() line 257 in src/vec/vec/impls/seq/bvec1.c
[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:
------------------------------------------------------------------------
[1]PETSC ERROR: [0]PETSC ERROR: VecAXPY() line 624 in
src/vec/vec/interface/rvector.c
../src/CYLINDER_EXE on a gnu-debug named wv.iihr.uiowa.edu by 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: VecAXPY_Seq() line 257 in src/vec/vec/impls/seq/bvec1.c
[0]PETSC ERROR: VecAXPY() line 624 in src/vec/vec/interface/rvector.c
[2]PETSC ERROR: PetscMallocValidate: error detected at VecAXPY_Seq() line
257 in src/vec/vec/impls/seq/bvec1.c
[2]PETSC ERROR: Memory [id=0(48)] at address 0x9308690 is corrupted
(probably write past end of array)
[2]PETSC ERROR: Memory originally allocated in
PetscObjectComposedDataIncreaseReal() line 171 in src/sys/objects/state.c
[2]PETSC ERROR: --------------------- Error Message
------------------------------------
[2]PETSC ERROR: Memory corruption!
[2]PETSC ERROR:  !
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: Petsc Development GIT revision:
b4e904d1358c92c43842a940440f995d2117e40b  GIT Date: 2013-09-23 12:36:08
+0100
[2]PETSC ERROR: See docs/changes/index.html for recent updates.
[2]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[2]PETSC ERROR: See docs/index.html for manual pages.
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: ../src/CYLINDER_EXE on a gnu-debug named
wv.iihr.uiowa.eduby jmousel Mon Sep 23 15:07:15 2013
[2]PETSC ERROR: Libraries linked from
/home/jmousel/NumericalLibraries/petsc/gnu-debug/lib
[2]PETSC ERROR: Configure run at Mon Sep 23 15:04:14 2013
[2]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
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: PetscMallocValidate() line 149 in src/sys/memory/mtr.c
[2]PETSC ERROR: VecAXPY_Seq() line 257 in src/vec/vec/impls/seq/bvec1.c
[2]PETSC ERROR: VecAXPY() line 624 in src/vec/vec/interface/rvector.c
WARNING! There are options you set that were not used!
WARNING! could be spelling mistake, etc!
Option left: name:-pres_ksp_type value: preonly
Option left: name:-pres_pc_type value: redistribute
Option left: name:-pres_redistribute_ksp_monitor_true_residual (no value)
Option left: name:-pres_redistribute_ksp_type value: bcgsl
Option left: name:-pres_redistribute_mg_coarse_ksp_type value: richardson
Option left: name:-pres_redistribute_mg_coarse_pc_sor_its value: 5
Option left: name:-pres_redistribute_mg_coarse_pc_type value: sor
Option left: name:-pres_redistribute_mg_levels_ksp_type value: richardson
Option left: name:-pres_redistribute_mg_levels_pc_type value: sor
Option left: name:-pres_redistribute_pc_gamg_agg_nsmooths value: 1
Option left: name:-pres_redistribute_pc_gamg_sym_graph value: true
Option left: name:-pres_redistribute_pc_gamg_threshold value: 0.05
Option left: name:-pres_redistribute_pc_gamg_type value: agg
Option left: name:-pres_redistribute_pc_type value: gamg
#-@/home/jmousel/NumericalLibraries/petsc/gnu-debug/bin/mpiexec -n 3
../src/CYLINDER_EXE -ELAFINT_case_name cylinder -lspaint_ksp_type bcgsl
-lspaint_pc_type gamg -lspaint_pc_gamg_type agg
-lspaint_pc_gamg_agg_nsmooths 1 -lspaint_pc_gamg_sym_graph true
-lspaint_ksp_monitor -pres_ksp_type bcgsl -pres_pc_type gamg
-pres_pc_gamg_threshold 0.025 -pres_mg_levels_ksp_type richardson
-pres_mg_levels_pc_type sor -pres_mg_coarse_ksp_type richardson
-pres_mg_coarse_pc_type sor -pres_mg_coarse_pc_sor_its 5 -pres_pc_gamg_type
agg -pres_pc_gamg_agg_nsmooths 2 -pres_pc_gamg_sym_graph true
-pres_ksp_monitor_true_residual





==11740== Invalid write of size 8
==11740==    at 0x5830EF0: PCGAMGOptprol_AGG (agg.c:1320)
==11740==    by 0x5818ED9: PCSetUp_GAMG (gamg.c:597)
==11740==    by 0x5742B21: PCSetUp (precon.c:890)
==11740==    by 0x589BEDE: KSPSetUp (itfunc.c:278)
==11740==    by 0x589D05C: KSPSolve (itfunc.c:399)
==11740==    by 0x58D8CD1: kspsolve_ (itfuncf.c:219)
==11740==    by 0x5697F3: axbsolve_ (Axb.F90:141)
==11740==    by 0x56F768: lspaintcptflag_ (LevelsetPaint.F90:177)
==11740==    by 0x4B72C3: lsinitialize_ (LevelsetInputsInitialize.F90:579)
==11740==    by 0x45BF2D: elafintinitialize_ (ElafintInitialize.F90:48)
==11740==    by 0x45A260: MAIN__ (ELAFINTMain.F90:43)
==11740==    by 0x5A8AC9: main (in
/home/jmousel/Desktop/RobinsBCs/src/CYLINDER_EXE)
==11740==  Address 0x8556cd0 is 2,176 bytes inside a block of size 2,180
alloc'd
==11740==    at 0x4A05548: memalign (vg_replace_malloc.c:727)
==11740==    by 0x4CF3D2D: PetscMallocAlign (mal.c:27)
==11740==    by 0x4CF5914: PetscTrMallocDefault (mtr.c:189)
==11740==    by 0x4D5A0D4: PetscObjectComposedDataIncreaseReal (state.c:171)
==11740==    by 0x5830E97: PCGAMGOptprol_AGG (agg.c:1320)
==11740==    by 0x5818ED9: PCSetUp_GAMG (gamg.c:597)
==11740==    by 0x5742B21: PCSetUp (precon.c:890)
==11740==    by 0x589BEDE: KSPSetUp (itfunc.c:278)
==11740==    by 0x589D05C: KSPSolve (itfunc.c:399)
==11740==    by 0x58D8CD1: kspsolve_ (itfuncf.c:219)
==11740==    by 0x5697F3: axbsolve_ (Axb.F90:141)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130923/4a241119/attachment.html>


More information about the petsc-dev mailing list