[petsc-users] Strange behavior of -log_summary and final answer
Gaurish Telang
gaurish108 at gmail.com
Fri Feb 18 12:11:22 CST 2011
Hi I am using petsc-3.1-p7.
My code seems to be behaving strangely during the execution step.
I am solving a simple least squares problem with the LSQR routine. The
options that I am using at the terminal are.:
mpiexec -n 1 ./rect_input -f A2 -vector b2 -ksp_type lsqr -pc_type none
-log_summary -ksp_max_it 1038
Even though I have used the -log_summary flag the performance summary does
*not* get displayed on some occasions. The answer also is different from the
answer I expect (which I obtain from matlab).
But after running the executable twice or thrice, I get the performance
summary along with the correct answer. Why is this happening?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110218/08429ed2/attachment.htm>
More information about the petsc-users
mailing list