Hello, I'm trying to run step-36 and it bails out with a message I can't track. The error message is below. I've tried various petsc and slepc versions (including petsc-dev and slepc-dev). They *all* report the same problem. The complete error message is posted below. The most interesting line is this one:
[0]PETSC ERROR: Corrupt argument: see http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Corrupt! [0]PETSC ERROR: MPI_Comm does not have tag/name counter nor does it have inner MPI_Comm! [0]PETSC ERROR: ------------------------------------------------------------------------ Up to now I can only say that matrices and vectors report the same error with VecDestroy() or MatDestroy(). I get the same error compiling with mpicxx and gcc (ie. with and without MPI). I get the same error with PETScWrappers::Vector and PETScWrappers::MPI::Vector.... Something changed in dealii-dev the last few days only. I am sure this has nothing to do with the PETScWrappers nor the SLEPcWrappers. So why does this change *not* affect on step-17 (which uses petsc)? Any ideas? Did something change with MPI_Comm? Or is this something to do with multi-threading? It makes no sense that a petsc example (step-17) is ok but a slepc example (step-36) is not. They actually use the same objects, only the solver base is different.... This is too weird for me; I am completely clueless. Thanks in advance. Best, Toby ============================ Remaking Makefile.dep ==============debug========= step-36.cc ============================ Linking step-36 tyo...@maly:~/research.code/deal.II/examples/step-36$ ./step-36 Number of active cells: 1024 Number of degrees of freedom: 1089 [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Corrupt argument: see http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Corrupt! [0]PETSC ERROR: MPI_Comm does not have tag/name counter nor does it have inner MPI_Comm! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 3.1.0, Patch 4, Fri Jul 30 14:42:02 CDT 2010 [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: ./step-36 on a linux-gnu named maly by tyoung Sat Aug 28 16:03:24 2010 [0]PETSC ERROR: Libraries linked from /home/tyoung/research.code/petsc-3.1-p4/linux-gnu-cxx-opt/lib [0]PETSC ERROR: Configure run at Sat Aug 28 13:55:56 2010 [0]PETSC ERROR: Configure options --with-mpi=0 --with-shared=1 --with-x=0 --with-debugging=0 --with-clanguage=C++ [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: PetscCommDestroy() line 239 in src/sys/objects/tagm.c [0]PETSC ERROR: PetscHeaderDestroy_Private() line 75 in src/sys/objects/inherit.c [0]PETSC ERROR: PCDestroy() line 90 in src/ksp/pc/interface/precon.c [0]PETSC ERROR: KSPDestroy() line 695 in src/ksp/ksp/interface/itfunc.c [0]PETSC ERROR: STDestroy() line 127 in src/st/interface/stfunc.c [0]PETSC ERROR: EPSDestroy() line 589 in src/eps/interface/basic.c [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Corrupt argument: see http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Corrupt! [0]PETSC ERROR: MPI_Comm does not have tag/name counter nor does it have inner MPI_Comm! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 3.1.0, Patch 4, Fri Jul 30 14:42:02 CDT 2010 [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: ./step-36 on a linux-gnu named maly by tyoung Sat Aug 28 16:03:24 2010 [0]PETSC ERROR: Libraries linked from /home/tyoung/research.code/petsc-3.1-p4/linux-gnu-cxx-opt/lib [0]PETSC ERROR: Configure run at Sat Aug 28 13:55:56 2010 [0]PETSC ERROR: Configure options --with-mpi=0 --with-shared=1 --with-x=0 --with-debugging=0 --with-clanguage=C++ [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: PetscCommDestroy() line 239 in src/sys/objects/tagm.c [0]PETSC ERROR: PetscHeaderDestroy_Private() line 75 in src/sys/objects/inherit.c [0]PETSC ERROR: VecDestroy() line 530 in src/vec/vec/interface/vector.c [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Corrupt argument: see http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Corrupt! [0]PETSC ERROR: MPI_Comm does not have tag/name counter nor does it have inner MPI_Comm! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 3.1.0, Patch 4, Fri Jul 30 14:42:02 CDT 2010 [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: ./step-36 on a linux-gnu named maly by tyoung Sat Aug 28 16:03:24 2010 [0]PETSC ERROR: Libraries linked from /home/tyoung/research.code/petsc-3.1-p4/linux-gnu-cxx-opt/lib [0]PETSC ERROR: Configure run at Sat Aug 28 13:55:56 2010 [0]PETSC ERROR: Configure options --with-mpi=0 --with-shared=1 --with-x=0 --with-debugging=0 --with-clanguage=C++ [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: PetscCommDestroy() line 239 in src/sys/objects/tagm.c [0]PETSC ERROR: PetscHeaderDestroy_Private() line 75 in src/sys/objects/inherit.c [0]PETSC ERROR: MatDestroy() line 888 in src/mat/interface/matrix.c terminate called after throwing an instance of 'dealii::PETScWrappers::MatrixBase::ExcPETScError' what(): -------------------------------------------------------- An error occurred in line <94> of file </home/tyoung/research.code/deal.II/lac/source/petsc_matrix_base.cc> in function virtual dealii::PETScWrappers::MatrixBase::~MatrixBase() The violated condition was: ierr == 0 The name and call sequence of the exception was: ExcPETScError(ierr) Additional Information: An error with error number 1 occured while calling a PETSc function -------------------------------------------------------- Aborted ----- Toby D. Young Assistant Professor Institute of Fundamental Technological Problems Polish Academy of Sciences ul Adolfa Pawinskiego 5b 02-106 Warsaw Poland www: http://www.ippt.gov.pl/~tyoung skype: stenografia _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
