<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div><div>#PETSc Option Table entries:</div><div>-dm_view hdf5:res.h5<br></div><div>-snes_monitor_residual hdf5:res.h5::append<br></div></div><div><br></div><div>ierr = DMViewFromOptions(ctx->dm,NULL<wbr>,"-dm_view");CHKERRQ(ierr);</div></div></div></div></blockquote><div><br></div></span><div>1) You need this in the code. Its in all my examples.</div><div><br></div><div>2) Did you put it before the vec views? Otherwise, it need 'append'.</div></div></div></div></blockquote><div><br></div><div>The vec views are inside of SNES. I added this code before TSSolve and it did not change anything.</div><div><br></div><div>I do not see an example with snes_monitor_residual.</div><div><br></div><div>Thanks,</div></div></div></div>