[petsc-users] Preconditioned BiCGStab in PETSC, formulas

Jed Brown jed at jedbrown.org
Mon Jan 26 08:22:17 CST 2015


Kirill Voronin <kvoronin at labchem.sscc.ru> writes:
> But looking at
> http://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/impls/bcgs/bcgs.c,
> I see that there should be two for each iteration of do loop.
> Can this 3-d call happen due to the monitoring routines?

Yes, -ksp_monitor_true_residual computes the true residual explicitly
instead of via the recurrence.

> Actually I run code with -ksp_monitor_max -ksp_monitor_true_residual and
> -ksp_monitor,
> with additional monitor routine which calls KSPBuildResidual() and then
> computes in NORM_1.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150126/3e317f93/attachment.pgp>


More information about the petsc-users mailing list