[petsc-users] checking jacobian

Matthew Knepley knepley at gmail.com
Tue Aug 11 12:39:47 CDT 2015


On Tue, Aug 11, 2015 at 12:36 PM, Gideon Simpson <gideon.simpson at gmail.com>
wrote:

> I’m a bit confused by the following options:
>
> Run with -snes_check_jacobian_view [viewer][:filename][:format] to show
> difference of hand-coded and finite difference Jacobian.
>
> What flags do I pass it to get some output to diagnose my Jacobian error?
>

I would start with

  -snes_check_jacobian_view ascii:bug.txt

   Matt


> -gideon
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150811/d52d26a1/attachment.html>


More information about the petsc-users mailing list