[petsc-dev] snes_monitor_residual

Mark Adams mfadams at lbl.gov
Thu Dec 22 08:02:30 CST 2016


>
>
>> #PETSc Option Table entries:
>> -dm_view hdf5:res.h5
>> -snes_monitor_residual hdf5:res.h5::append
>>
>> ierr = DMViewFromOptions(ctx->dm,NULL,"-dm_view");CHKERRQ(ierr);
>>
>
> 1) You need this in the code. Its in all my examples.
>
> 2) Did you put it before the vec views? Otherwise, it need 'append'.
>

The vec views are inside of SNES. I added this code before TSSolve and it
did not change anything.

I do not see an example with snes_monitor_residual.

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20161222/f3431d2a/attachment.html>


More information about the petsc-dev mailing list