Dear All,<br>I am using PETSc-dev version.  I am trying to use the following function call to <br>replace the command line option "-ksp_view".<br><br>PetscOptionsSetValue("-ksp_view","1"); at very begin of the code, right after <br>

PetscInitialize.<br><br>But it seems like only the command line option "-ksp_view " will bring me the information on ksp.<br>The function call does not seem to response.<br><br>Is there any hint for this?<br><br>
Many thanks,<br><br>Yan<br>