<div dir="ltr"><div>I cloned a fresh repo and built from scratch. I'm seeing the same error I previously reported with both intel and gnu compilers. Also, I get warnings in MatSOR_SeqAIJ_Inode during the build.<br><br>
src/mat/impls/aij/seq/inode.c: In function ‘MatSOR_SeqAIJ_Inode’:<br>src/mat/impls/aij/seq/inode.c:2758: warning: ‘sum2’ may be used uninitialized in this function<br>src/mat/impls/aij/seq/inode.c:2758: warning: ‘sum3’ may be used uninitialized in this function<br>
src/mat/impls/aij/seq/inode.c:2758: warning: ‘sum4’ may be used uninitialized in this function<br>src/mat/impls/aij/seq/inode.c:2758: warning: ‘sum5’ may be used uninitialized in this function<br>src/mat/impls/aij/seq/inode.c:2761: warning: ‘v2’ may be used uninitialized in this function<br>
src/mat/impls/aij/seq/inode.c:2761: warning: ‘v3’ may be used uninitialized in this function<br>src/mat/impls/aij/seq/inode.c:2761: warning: ‘v4’ may be used uninitialized in this function<br>src/mat/impls/aij/seq/inode.c:2761: warning: ‘v5’ may be used uninitialized in this function<br>
src/mat/impls/aij/seq/inode.c:2758: warning: ‘sum1’ may be used uninitialized in this function<br>src/mat/impls/aij/seq/inode.c:2761: warning: ‘v1’ may be used uninitialized in this function<br><br><br></div>John<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 23, 2013 at 6:50 PM, John Mousel <span dir="ltr"><<a href="mailto:john.mousel@gmail.com" target="_blank">john.mousel@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Make test ran correctly for both debug and optimized builds. It runs fine with plain bJacobi/ilu preconditioning. <div>
<div class="h5"><span></span><br><br>On Monday, September 23, 2013, Matthew Knepley wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div class="h5">On Mon, Sep 23, 2013 at 1:14 PM, John Mousel <span dir="ltr"><<a>john.mousel@gmail.com</a>></span> wrote:<br>
</div></div><div class="gmail_extra"><div><div class="h5"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I just pulled from petsc-dev and I'm now getting the following error. The result from valgrind is pasted below the error message.<br>
</div>Any help would be appreciated.</div></blockquote><div><br></div><div>Looks like BLAS errors, but valgrind has a problem with StateIncrease(). Jed just changed the size of the</div><div>state counter. Are you sure everything rebuilt correctly?</div>
<div><br></div><div> Matt</div><div> </div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>John<br><div><br>
<br>[0]PETSC ERROR: PetscMallocValidate: error detected at MatScale_SeqAIJ() line 2464 in src/mat/impls/aij/seq/aij.c<br>[0]PETSC ERROR: [1]PETSC ERROR: [2]PETSC ERROR: Memory [id=0(48)] at address 0x8483450 is corrupted (probably write past end of array)<br>
[0]PETSC ERROR: Memory originally allocated in PetscObjectComposedDataIncreaseReal() line 171 in src/sys/objects/state.c<br>PetscMallocValidate: error detected at MatScale_SeqAIJ() line 2464 in src/mat/impls/aij/seq/aij.c<br>
PetscMallocValidate: error detected at MatScale_SeqAIJ() line 2464 in src/mat/impls/aij/seq/aij.c<br>[2]PETSC ERROR: [1]PETSC ERROR: [0]PETSC ERROR: --------------------- Error Message ------------------------------------<br>
[0]PETSC ERROR: Memory corruption!<br>[0]PETSC ERROR: !<br>[0]PETSC ERROR: ------------------------------------------------------------------------<br>[0]PETSC ERROR: Petsc Development GIT revision: b4e904d1358c92c43842a940440f995d2117e40b GIT Date: 2013-09-23 12:36:08 +0100<br>
[0]PETSC ERROR: See docs/changes/index.html for recent updates.<br>[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.<br>[0]PETSC ERROR: See docs/index.html for manual pages.<br>[0]PETSC ERROR: ------------------------------------------------------------------------<br>
[0]PETSC ERROR: ../src/CYLINDER_EXE on a gnu-debug named <a href="http://wv.iihr.uiowa.edu" target="_blank">wv.iihr.uiowa.edu</a> by jmousel Mon Sep 23 15:07:15 2013<br>[0]PETSC ERROR: Libraries linked from /home/jmousel/NumericalLibraries/petsc/gnu-debug/lib<br>
[0]PETSC ERROR: Configure run at Mon Sep 23 15:04:14 2013<br>[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<br>
[0]PETSC ERROR: ------------------------------------------------------------------------<br>[0]PETSC ERROR: PetscMallocValidate() line 149 in src/sys/memory/mtr.c<br>[0]PETSC ERROR: MatScale_SeqAIJ() line 2464 in src/mat/impls/aij/seq/aij.c<br>
[0]PETSC ERROR: MatScale() line 4758 in src/mat/interface/matrix.c<br>[0]PETSC ERROR: MatScale_MPIAIJ() line 1262 in src/mat/impls/aij/mpi/mpiaij.c<br>[0]PETSC ERROR: MatScale() line 4758 in src/mat/interface/matrix.c<br>
[0]PETSC ERROR: MatAYPX() line 279 in src/mat/utils/axpy.c<br>[0]PETSC ERROR: PCGAMGOptprol_AGG() line 1331 in src/ksp/pc/impls/gamg/agg.c<br>[0]PETSC ERROR: PCSetUp_GAMG() line 597 in src/ksp/pc/impls/gamg/gamg.c<br>[0]PETSC ERROR: PCSetUp() line 890 in src/ksp/pc/interface/precon.c<br>
[0]PETSC ERROR: KSPSetUp() line 278 in src/ksp/ksp/interface/itfunc.c<br>[0]PETSC ERROR: KSPSolve() line 399 in src/ksp/ksp/interface/itfunc.c<br>Memory [id=0(48)] at address 0x8556ca0 is corrupted (probably write past end of array)<br>
[1]PETSC ERROR: Memory originally allocated in PetscObjectComposedDataIncreaseReal() line 171 in src/sys/objects/state.c<br>[1]PETSC ERROR: Memory [id=0(48)] at address 0x9308690 is corrupted (probably write past end of array)<br>
--------------------- Error Message ------------------------------------<br>[2]PETSC ERROR: Memory originally allocated in PetscObjectComposedDataIncreaseReal() line 171 in src/sys/objects/state.c<br>[1]PETSC ERROR: Memory corruption!<br>
[1]PETSC ERROR: !<br>[1]PETSC ERROR: ------------------------------------------------------------------------<br>[1]PETSC ERROR: Petsc Development GIT revision: b4e904d1358c92c43842a940440f995d2117e40b GIT Date: 2013-09-23 12:36:08 +0100<br>
[1]PETSC ERROR: See docs/changes/index.html for recent updates.<br>[1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.<br>[1]PETSC ERROR: See docs/index.html for manual pages.<br>[1]PETSC ERROR: ------------------------------------------------------------------------<br>
[1]PETSC ERROR: ../src/CYLINDER_EXE on a gnu-debug named <a href="http://wv.iihr.uiowa.edu" target="_blank">wv.iihr.uiowa.edu</a> by jmousel Mon Sep 23 15:07:15 2013<br>[1]PETSC ERROR: Libraries linked from /home/jmousel/NumericalLibraries/petsc/gnu-debug/lib<br>
[1]PETSC ERROR: Configure run at Mon Sep 23 15:04:14 2013<br>[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<br>
[1]PETSC ERROR: ------------------------------------------------------------------------<br>[1]PETSC ERROR: PetscMallocValidate() line 149 in src/sys/memory/mtr.c<br>[2]PETSC ERROR: --------------------- Error Message ------------------------------------<br>
[2]PETSC ERROR: Memory corruption!<br>[2]PETSC ERROR: !<br>[2]PETSC ERROR: ------------------------------------------------------------------------<br>[2]PETSC ERROR: Petsc Development GIT revision: b4e904d1</div></div>
</div></blockquote></div><br><br clear="all"><div><br></div></div></div><div class="im">-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div></div>
</blockquote>
</blockquote></div><br></div>