[petsc-users] checking jacobian

Gideon Simpson gideon.simpson at gmail.com
Tue Aug 11 12:51:19 CDT 2015


#End of PETSc Option Table entries
There is one unused database option. It is:
Option left: name:-snes_check_jacobian_view (no value)

-gideon

> On Aug 11, 2015, at 1:50 PM, Matthew Knepley <knepley at gmail.com> wrote:
> 
> On Tue, Aug 11, 2015 at 12:49 PM, Gideon Simpson <gideon.simpson at gmail.com <mailto:gideon.simpson at gmail.com>> wrote:
> Maybe it’s a quirk of the macports installation of petsc, but nothing seems to be getting generated.
> 
> Run with -options_left. Is it reading the option?
> 
>   Matt
>  
> -gideon
> 
>> On Aug 11, 2015, at 1:40 PM, Jed Brown <jed at jedbrown.org <mailto:jed at jedbrown.org>> wrote:
>> 
>> Gideon Simpson <gideon.simpson at gmail.com <mailto:gideon.simpson at gmail.com>> writes:
>> 
>>> 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?
>> 
>> Nothing to display ASCII to the screen.  You might use
>> "binary:thematrix" if you want to read it in with Python or MATLAB, for
>> example.
> 
> 
> 
> 
> -- 
> 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/fdebc23b/attachment-0001.html>


More information about the petsc-users mailing list