[petsc-dev] snes_monitor_residual

Mark Adams mfadams at lbl.gov
Thu Dec 22 09:49:41 CST 2016


OK it works. I added:

ierr = DMViewFromOptions(ctx->dm,NULL,"-dm_view");CHKERRQ(ierr);

Before the solve. There are problems, but nothing fatal:

1) It only plots the first field. I am just debugging so this is not fatal.
2) The current version of Visit v2.11 fails to load it (bad format message)
but the last version v2.10 still works. I've had this problem before and
have switched to vtu in my code.

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


More information about the petsc-dev mailing list