<div dir="ltr"><div><div><div><div>Dear All:<br></div>I am using <br>/petsc-3.3-p6/src/ksp/ksp/examples/tutorials/ex10.c.html<br></div>as the driver to calculate a Ax=b system.<br></div>In the job submit line, I am using:<br>
./ex10 -f input.petsc.bin -ksp_type bcgs -ksp_rtol 1.e-5 -ksp_max_it 40000 -ksp_monitor -table<br><br></div>Then I got the error message:<br><br><div>[0]PETSC ERROR: No support for this operation for this object type!<br>
[0]PETSC ERROR: Viewer type string not supported for KSP cg!<br><br></div><div>Looks bcgs is not compatible with -table option. Because in ex10.c mentioned above, -table has viewer operations.<br><br></div><div>And I used cg and cr, both work.  <br>
./ex10 -f input.petsc.bin -ksp_type cg -ksp_rtol 1.e-5 -ksp_max_it 40000 -ksp_monitor -table<br><br>./ex10 -f input.petsc.bin -ksp_type cr -ksp_rtol 1.e-5 -ksp_max_it 40000 -ksp_monitor -table<br><br></div><div>So, How could I get the iteration time and other information for bcgs option?<br>
<br></div><div>Thanks<br><br></div><div>Qiyue Lu<br></div></div>