[petsc-dev] About -ksp_view

Ryan Yan vyan2000 at gmail.com
Sun May 8 10:09:22 CDT 2011


Dear All,
I am using PETSc-dev version.  I am trying to use the following function
call to
replace the command line option "-ksp_view".

PetscOptionsSetValue("-ksp_view","1"); at very begin of the code, right
after
PetscInitialize.

But it seems like only the command line option "-ksp_view " will bring me
the information on ksp.
The function call does not seem to response.

Is there any hint for this?

Many thanks,

Yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110508/e8677ff5/attachment.html>


More information about the petsc-dev mailing list