These messages come from MatStashScatterGetMesg_Private() line 632 in /src/mat/utilsmatstash.c. I do not send values. I just try to use MatAssemblyEnd/begin() to assembly stiffness matrix.<div><br><br><div class="gmail_quote">
On Fri, Jun 21, 2013 at 1:02 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="im">On Fri, Jun 21, 2013 at 5:16 AM, Fande Kong <span dir="ltr"><<a href="mailto:fd.kong@siat.ac.cn" target="_blank">fd.kong@siat.ac.cn</a>></span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div><br></div><div>How to understand this error message? Some things about mpi or something else?</div></blockquote>
<div><br></div></div><div>This says that you are trying to send values to a negative MPI rank. This has to be a</div><div>memory overwrite somewhere in your code I think.</div><div><br></div><div> Matt</div><div><div class="h5">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>[3229]PETSC ERROR: --------------------- Error Message ------------------------------------</div>
<div>[3229]PETSC ERROR: Petsc has generated inconsistent data!</div><div>[3229]PETSC ERROR: Negative MPI source!!</div><div>[3229]PETSC ERROR: ------------------------------------------------------------------------</div>
<div>[3229]PETSC ERROR: Petsc Release Version 3.4.1, unknown </div><div>[3229]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[3229]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div>
<div>[3229]PETSC ERROR: See docs/index.html for manual pages.</div><div>[3229]PETSC ERROR: ------------------------------------------------------------------------</div><div>[3229]PETSC ERROR: ./linearElasticity on a arch-linux2-cxx-opt named ys0850 by fandek Thu Jun 20 07:41:52 2013</div>
<div>[3229]PETSC ERROR: Libraries linked from /glade/p/work/fandek/petsc/arch-linux2-cxx-opt/lib</div><div>[3229]PETSC ERROR: Configure run at Thu Jun 20 06:23:01 2013</div><div>[3229]PETSC ERROR: Configure options --with-valgrind=1 --with-clanguage=cxx --with-shared-libraries=1 --with-dynamic-loading=1 --download-f-blas-lapack=1 --with-mpi=1 --download-parmetis=1 --download-metis=1 --with-64-bit-indices=1 --download-netcdf=1 --download-exodusii=1 --download-ptscotch=1 --download-hdf5=1 --with-debugging=no</div>
<div>[3229]PETSC ERROR: ------------------------------------------------------------------------</div><div>[3229]PETSC ERROR: MatStashScatterGetMesg_Private() line 632 in /src/mat/utilsmatstash.c</div><div>[3229]PETSC ERROR: MatAssemblyEnd_MPIAIJ() line 676 in /src/mat/impls/aij/mpimpiaij.c</div>
<div>[3229]PETSC ERROR: MatAssemblyEnd() line 4939 in /src/mat/interfacematrix.c</div><div>[3229]PETSC ERROR: SpmcsDMMeshCreatVertexMatrix() line 65 in meshreorder.cpp</div><div>[3229]PETSC ERROR: SpmcsDMMeshReOrderingMeshPoints() line 125 in meshreorder.cpp</div>
<div>[3229]PETSC ERROR: CreateProblem() line 59 in preProcessSetUp.cpp</div><div>[3229]PETSC ERROR: DMmeshInitialize() line 76 in mgInitialize.cpp</div></div><div><br></div><div><br></div><div>The details of the messages are attached. And log files for configure and make are also attached.</div>
<div><br clear="all"><div>Regards,</div><span><font color="#888888">-- <br><div style="line-height:21px;font-size:14px;font-family:Verdana">Fande Kong</div><div style="line-height:21px;font-size:14px;font-family:Verdana">
ShenZhen Institutes of Advanced Technology</div><div style="line-height:21px;font-size:14px;font-family:Verdana">Chinese Academy of Sciences</div>
</font></span></div>
</blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <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
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div style="line-height:21px;font-family:Verdana;font-size:14px;background-color:rgb(255,255,255)">Fande Kong</div><div style="line-height:21px;font-family:Verdana;font-size:14px;background-color:rgb(255,255,255)">
ShenZhen Institutes of Advanced Technology</div><div style="line-height:21px;font-family:Verdana;font-size:14px;background-color:rgb(255,255,255)">Chinese Academy of Sciences</div>
</div>