Another thing one might look at is to update some documentation related
to KSPSetNormType:
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPSetNormType.html
KSP_NORM_NATURAL works for example also with KSPPIPECG (actually it's
the only norm working ATM, see my last e-mail to the list)...
Håkon
On 20. nov. 2014 16:09, Jed Brown wrote:
Sascha Schnepp <[email protected]> writes:
The issue could be related to this code in
KSPCreate_PIPECG
ierr =
KSPSetSupportedNorm(ksp,KSP_NORM_UNPRECONDITIONED,PC_LEFT,2);CHKERRQ(ierr);
ierr =
KSPSetSupportedNorm(ksp,KSP_NORM_PRECONDITIONED,PC_LEFT,2);CHKERRQ(ierr);
ierr = KSPSetSupportedNorm(ksp,KSP_NORM_NATURAL,PC_LEFT,2);CHKERRQ(ierr);
ierr = KSPSetSupportedNorm(ksp,KSP_NORM_NONE,PC_LEFT,2);CHKERRQ(ierr);
where all norms have the same priority.
Yes, this commit was buggy, but somehow when we merged the PIPECG
implementation, it didn't come with any tests, so we didn't notice.
I'll fix it after my meeting this morning and we'll get it into the
upcoming petsc-3.5.3.
https://bitbucket.org/petsc/petsc/commits/04d66c6e00809e52f621f72696de30b33e3deda5