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>

Reply via email to