<div class="gmail_extra">On Sat, Nov 24, 2012 at 5:38 PM, w_ang_temp <span dir="ltr"><<a href="mailto:w_ang_temp@163.com" target="_blank">w_ang_temp@163.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>    So, is there no effective way to determine a suitable m? Only by doing lots of tests to find</div>
<div>an appropriate value in practical application? Or something need to be noticeable of using GMRES</div>
<div>with an effective way?</div></blockquote></div><br></div><div class="gmail_extra">Just use the default until it doesn't converge well or until you run out of memory. You're not going to have any theory here unless you know a lot of about your problem and want to think carefully about it, neither of which seem to be true, and even if it was, it's unlikely to be practically important. If you want some entertainment, read Mark Embree's 2003 SIAM Review article "The tortoise and the hare restart GMRES".</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Consider using MINRES instead of GMRES.</div>