<div dir="ltr"><div><div><div><div>Absolutely not!<br></div>Run your code again with the command line args Barry suggested.<br><br></div>./my.app <span style="font-family:'lucida Grande',arial,sans-serif;line-height:23px">-ksp_monitor_true_residual -ksp_monitor_singular_value</span><br>
</div><br></div>As long as you have called KSPSetFromOptions() (which from your code snippet it seems you have) these options will take effect.<br><br><br><div><div><div class="gmail_extra"><br><br><br><div class="gmail_quote">
On 25 April 2014 00:24, Oo <span dir="ltr"><<a href="mailto:wumeng07maths@qq.com" target="_blank">wumeng07maths@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br></div><div><div>Configure PETSC again?</div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ Original ------------------</div><div style="font-size:12px;background:#efefef;padding:8px">
<div><b>From: </b> "Dave May";<<a href="mailto:dave.mayhem23@gmail.com" target="_blank">dave.mayhem23@gmail.com</a>>;</div><div><b>Send time:</b> Friday, Apr 25, 2014 6:20 AM</div><div><b>To:</b> "Oo      "<<a href="mailto:wumeng07maths@qq.com" target="_blank">wumeng07maths@qq.com</a>>; <u></u></div>
<div><b>Cc:</b> "Barry Smith"<<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>>; "Matthew Knepley"<<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>>; "petsc-users"<<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>>; <u></u></div>
<div><b>Subject: </b> Re: [petsc-users] Convergence_Eigenvalues_k=3</div></div><div><div class="h5"><div><br></div><div dir="ltr">On the command line<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 25 April 2014 00:11, Oo <span dir="ltr"><<a href="mailto:wumeng07maths@qq.com" target="_blank">wumeng07maths@qq.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div>Where should I put "<span>-ksp_monitor_true_residual -ksp_monitor_singular_value </span><span style="line-height:1.5">" ?</span></div>

<div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Thanks,</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Meng</span></div><div><div>

<br></div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ Original ------------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>From: </b> "Barry Smith";<<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>>;</div>

<div><b>Date: </b> Apr 25, 2014</div><div><b>To: </b> "Matthew Knepley"<<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>>; <u></u></div><div><b>Cc: </b> "Oo      "<<a href="mailto:wumeng07maths@qq.com" target="_blank">wumeng07maths@qq.com</a>>; "petsc-users"<<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>>; <u></u></div>

<div><b>Subject: </b> Re: [petsc-users] Convergence_Eigenvalues_k=3</div></div><div><br></div><div><div><br>   There are also a great deal of “bogus” numbers that have no meaning and many zeros. Most of these are not the eigenvalues of anything.<br>

<br>   Run the two cases with -ksp_monitor_true_residual -ksp_monitor_singular_value and send the output<br><br>  Barry<br><br><br>On Apr 24, 2014, at 4:53 PM, Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>> wrote:<br>

<br>> On Thu, Apr 24, 2014 at 12:57 PM, Oo <<a href="mailto:wumeng07maths@qq.com" target="_blank">wumeng07maths@qq.com</a>> wrote:<br>> <br>> Hi,<br>> <br>> For analysis the convergence of linear solver, <br>

> I meet a problem.<br>> <br>> One is the list of Eigenvalues whose linear system which has a convergence solution.<br>> The other is the list of Eigenvalues whose linear system whose solution does not converge (convergenceReason=-3).<br>

> <br>> These are just lists of numbers. It does not tell us anything about the computation. What is the problem you are having?<br>> <br>>   Matt<br>>  <br>> Do you know what kind of method can be used to obtain a convergence solution for our non-convergence case?<br>

> <br>> Thanks,<br>> <br>> Meng<br>> <br>> <br>> <br>> -- <br>> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>

> -- Norbert Wiener<br><br></div></div>.<br></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div></div></div></div>