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.
On Fri, Jun 21, 2013 at 1:02 PM, Matthew Knepley <[email protected]> wrote: > On Fri, Jun 21, 2013 at 5:16 AM, Fande Kong <[email protected]> wrote: > >> Hi all, >> >> How to understand this error message? Some things about mpi or something >> else? >> > > This says that you are trying to send values to a negative MPI rank. This > has to be a > memory overwrite somewhere in your code I think. > > Matt > > >> [3229]PETSC ERROR: --------------------- Error Message >> ------------------------------------ >> [3229]PETSC ERROR: Petsc has generated inconsistent data! >> [3229]PETSC ERROR: Negative MPI source!! >> [3229]PETSC ERROR: >> ------------------------------------------------------------------------ >> [3229]PETSC ERROR: Petsc Release Version 3.4.1, unknown >> [3229]PETSC ERROR: See docs/changes/index.html for recent updates. >> [3229]PETSC ERROR: See docs/faq.html for hints about trouble shooting. >> [3229]PETSC ERROR: See docs/index.html for manual pages. >> [3229]PETSC ERROR: >> ------------------------------------------------------------------------ >> [3229]PETSC ERROR: ./linearElasticity on a arch-linux2-cxx-opt named >> ys0850 by fandek Thu Jun 20 07:41:52 2013 >> [3229]PETSC ERROR: Libraries linked from >> /glade/p/work/fandek/petsc/arch-linux2-cxx-opt/lib >> [3229]PETSC ERROR: Configure run at Thu Jun 20 06:23:01 2013 >> [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 >> [3229]PETSC ERROR: >> ------------------------------------------------------------------------ >> [3229]PETSC ERROR: MatStashScatterGetMesg_Private() line 632 in >> /src/mat/utilsmatstash.c >> [3229]PETSC ERROR: MatAssemblyEnd_MPIAIJ() line 676 in >> /src/mat/impls/aij/mpimpiaij.c >> [3229]PETSC ERROR: MatAssemblyEnd() line 4939 in >> /src/mat/interfacematrix.c >> [3229]PETSC ERROR: SpmcsDMMeshCreatVertexMatrix() line 65 in >> meshreorder.cpp >> [3229]PETSC ERROR: SpmcsDMMeshReOrderingMeshPoints() line 125 in >> meshreorder.cpp >> [3229]PETSC ERROR: CreateProblem() line 59 in preProcessSetUp.cpp >> [3229]PETSC ERROR: DMmeshInitialize() line 76 in mgInitialize.cpp >> >> >> The details of the messages are attached. And log files for configure and >> make are also attached. >> >> Regards, >> -- >> Fande Kong >> ShenZhen Institutes of Advanced Technology >> Chinese Academy of Sciences >> > > > > -- > 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 > -- Fande Kong ShenZhen Institutes of Advanced Technology Chinese Academy of Sciences
