<div dir="ltr"><div>The following is another test, which shows the outer iteration is 2, and MatMult is performed 24 times. So it means the first outer iteration performs 16, and the subsequent iterations performs 8. (24=16+8)</div><div><br></div><div>What parameters can I tune to accelerate the convergence? Will changing ncv work better?</div><div>The following nconv=1 and unconverged value, what do they mean?</div><br>2 EPS nconv=1 first unconverged value (error) 0.0140231 (1.32666590e-02)<div><br>--->test: EPS solve results:<br> the eigenvalue: 0.009301<br> Solution method: krylovschur<br> Number of iterations of the method: 2<br> EPS converged reason : 2<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 2:32 PM, Jose E. Roman <span dir="ltr"><<a href="mailto:jroman@dsic.upv.es" target="_blank">jroman@dsic.upv.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> El 16/9/2015, a las 21:09, Xujun Zhao <<a href="mailto:xzhao99@gmail.com">xzhao99@gmail.com</a>> escribió:<br>
><br>
> Hi all,<br>
><br>
> I am solving a max/min eigenvalue problem, and call EPSGetIterationNumber() to get the iteration number for convergence. However, it always returns 1. This is a little confused, because I can see my subroutine of MATOP_MULT operation has been called 6 or 16 times with different configurations.<br>
><br>
> The ConvergedReason returns 2, so it looks like the eigenvalue is correct.<br>
> also, it shows<br>
> 1 EPS nconv=2 first unconverged value (error) 0.0158234 (2.15550644e-03)<br>
><br>
> what does it mean?<br>
><br>
> Thanks.<br>
><br>
> Xujun<br>
<br>
</span>In EPS the iteration number refers to “outer” iterations, that is, restarts. So in Krylov-Schur with ncv=16 the first outer iteration will perform 16 MatMult’s and in subsequent outer iterations it will perform 8 MatMult’s.<br>
<span class="HOEnZb"><font color="#888888"><br>
Jose<br>
<br>
</font></span></blockquote></div><br></div>