[dune-pdelab] petsc test example in pdelab

Jizhou Li jl48 at rice.edu
Wed Mar 12 19:41:09 CET 2014


Hi,
I installed petsc and linked with dune-pdelab and compiled the file /dune/pdelab/test/testpoisson-petsc.cc. But, when I tried to run the code I got following error message.
Is there something wrong with petscbackend in dune-pdelab?

Thanks

Jizhou


[0]PETSC ERROR: --------------------- Error Message ------------------------------------
[0]PETSC ERROR: Argument out of range!
[0]PETSC ERROR: New nonzero at (0,0) caused a malloc!
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.4.2, Jul, 02, 2013
[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: ./testpoisson-petsc on a arch-linux2-c-debug named caampc1305.caam.rice.edu by jl48 Wed Mar 12 13:36:08 2014
[0]PETSC ERROR: Libraries linked from /local/external/petsc/lib
[0]PETSC ERROR: Configure run at Tue Mar 11 16:47:48 2014
[0]PETSC ERROR: Configure options --prefix=/local/external/petsc --with-mpi-dir=/local/mpich2 --with-metis-dir=/local/external/metis
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: MatSetValues_SeqAIJ() line 353 in /opt/local/external/petsc-3.4.2/src/mat/impls/aij/seq/aij.c
[0]PETSC ERROR: MatZeroRows_SeqAIJ() line 1695 in /opt/local/external/petsc-3.4.2/src/mat/impls/aij/seq/aij.c
[0]PETSC ERROR: MatZeroRows() line 5386 in /opt/local/external/petsc-3.4.2/src/mat/interface/matrix.c
Dune reported error: Dune::PDELab::PetscException [flush:../backend/petscmatrixbackend.hh:389]: PETSc problem





More information about the dune-pdelab mailing list