[petsc-users] ksp_monitor_true_residual_norm

Randall Mackie rlmackie862 at gmail.com
Thu Apr 19 14:07:08 CDT 2012


No I did not, but then ex2f.F is also trying to call VecView, which I am not doing in my custom KSP monitor.
I can call KSPMonitorTrueResidualNorm from a c subroutine so that there are no problems, though.

Randy


On Apr 19, 2012, at 12:05 PM, Jed Brown wrote:

> On Thu, Apr 19, 2012 at 12:02, Randall Mackie <rlmackie862 at gmail.com> wrote:
> I am still calling from Fortran, AND using my original Fortran ShellKSPMonitor that calls KSPMonitorTrueResidual.
> Seems to work okay now.
> 
> Did you create a PetscViewer context? I don't think it can work correctly passing PETSC_NULL_OBJECT, it certainly doesn't in ex2f.F

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120419/89850a8b/attachment.htm>


More information about the petsc-users mailing list