[petsc-users] Test Jacobian

Que Cat quecat001 at gmail.com
Tue Apr 15 11:01:13 CDT 2014


Hello Petsc-users,

I tested the hand-coded Jacobian, and received the follow error:

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.
Norm of matrix ratio 7.23832e-10 difference 1.39168e-07 (user-defined state)
Norm of matrix ratio 1.15746e-08 difference 2.2254e-06 (constant state -1.0)
Norm of matrix ratio 7.23832e-10 difference 1.39168e-07 (constant state 1.0)
[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Object is in wrong state!
[0]PETSC ERROR: SNESTest aborts after Jacobian test!
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.4.3, Oct, 15, 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.

What does "Object is in wrong state!" mean? What are the possible sources
of this error? Thank you for your time.

Que
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140415/915102f9/attachment.html>


More information about the petsc-users mailing list