[petsc-users] About bcgs and Viewer

Lu Qiyue luqiyue at gmail.com
Sun Aug 11 14:21:48 CDT 2013


Dear All:
I am using
/petsc-3.3-p6/src/ksp/ksp/examples/tutorials/ex10.c.html
as the driver to calculate a Ax=b system.
In the job submit line, I am using:
./ex10 -f input.petsc.bin -ksp_type bcgs -ksp_rtol 1.e-5 -ksp_max_it 40000
-ksp_monitor -table

Then I got the error message:

[0]PETSC ERROR: No support for this operation for this object type!
[0]PETSC ERROR: Viewer type string not supported for KSP cg!

Looks bcgs is not compatible with -table option. Because in ex10.c
mentioned above, -table has viewer operations.

And I used cg and cr, both work.
./ex10 -f input.petsc.bin -ksp_type cg -ksp_rtol 1.e-5 -ksp_max_it 40000
-ksp_monitor -table

./ex10 -f input.petsc.bin -ksp_type cr -ksp_rtol 1.e-5 -ksp_max_it 40000
-ksp_monitor -table

So, How could I get the iteration time and other information for bcgs
option?

Thanks

Qiyue Lu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130811/42d4e7fc/attachment.html>


More information about the petsc-users mailing list