[petsc-users] About bcgs and Viewer
Barry Smith
bsmith at mcs.anl.gov
Sun Aug 11 15:00:18 CDT 2013
This issue has been fixed with the 3.4 release of PETSc.
Barry
On Aug 11, 2013, at 2:21 PM, Lu Qiyue <luqiyue at gmail.com> wrote:
> 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
More information about the petsc-users
mailing list