Testing hand-coded Jacobian, if the ratio is O(1.e-8), the hand-coded Jacobian is probably correct. Run with -snes_test_display to show difference of hand-coded and finite difference Jacobian.
[1]PETSC ERROR: --------------------- Error Message ------------------------------------ [1]PETSC ERROR: Unknown type. Check for miss-spelling or missing external package needed for type see http://www.mcs.anl.gov/petsc/petsc-as/documentation/installation.html#external! [1]PETSC ERROR: Unknown Mat type given: same! [1]PETSC ERROR: ------------------------------------------------------------------------ [1]PETSC ERROR: Petsc Release Version 3.1.0, Patch 8, Thu Mar 17 13:37:48 CDT 2011 [1]PETSC ERROR: See docs/changes/index.html for recent updates. [1]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [1]PETSC ERROR: See docs/index.html for manual pages. [1]PETSC ERROR: ------------------------------------------------------------------------ [1]PETSC ERROR: ./ppm_pf on a darwin10. named milan-mitrovics-macbook-pro.local by milan Sat Aug 27 19:11:18 2011 [1]PETSC ERROR: Libraries linked from /Users/milan/Work/Library/petsc/lib [1]PETSC ERROR: Configure run at Fri May 6 16:32:02 2011 [1]PETSC ERROR: Configure options --with-mpi=true --with-mpi-dir=/Users/milan/Work/Library/openmpi.gcc/ --with-fortran=true --with-sundials=true --with-sundials-dir=/Users/milan/Work/Library/sundials/ --prefix=/Users/milan/Work/Library/petsc --------------------- Error Message ------------------------------------ [0]PETSC ERROR: [1]PETSC ERROR: ------------------------------------------------------------------------ [1]PETSC ERROR: MatSetType() line 51 in src/mat/interface/matreg.c [1]PETSC ERROR: MatConvert() line 3521 in src/mat/interface/matrix.c [1]PETSC ERROR: SNESSolve_Test() line 47 in src/snes/impls/test/snestest.c [1]PETSC ERROR: SNESSolve() line 2255 in src/snes/interface/snes.c
