[petsc-dev] Iteration counter depends on KSP monitor!

Thomas Witkowski thomas.witkowski at tu-dresden.de
Wed Nov 7 12:12:08 CST 2012


I have a very curious behavior in one of my codes: Whenever I enable a 
KSP Monitor for an inner solver, the outer iteration count goes down 
from 25 to 18! Okay, this is great :) I like it so see iteration counts 
decreasing, but I would like to know what's going on, and eventually, a 
KSP monitor should not influence the whole game. An to answer your first 
question, I run the code through valgrind and its free of any errors. 
Any idea what to check next? Thanks for any advice.

Thomas




More information about the petsc-dev mailing list