<div class="gmail_quote">On Thu, Nov 10, 2011 at 14:45, Bao Kai <span dir="ltr">&lt;<a href="mailto:paeanball@gmail.com">paeanball@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">PCFIELDSPLIT seems a little more complex, I will try that. <br><br>I tried some different preconditioners, only lu can get right results. <br><br>With some pc, some wrong results can be obtained, such as the following one.  <br>

<br>tutorials]$ time ./ex78 -Ain A_in -rhs rhs -solu solu -noshift -pc_type hypre -pc_hypre_type parasails -ksp_gmres_restart 600 -ksp_rtol 1e-5 -ksp_typ gmres<br></div></blockquote><div><br></div><div>Always run with -ksp_monitor_true_residual -ksp_converged_reason when checking whether a preconditioner is working.</div>
</div>