<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 19, 2014 at 3:57 AM, Jonathan Wong <span dir="ltr"><<a href="mailto:jon.the.wong@gmail.com" target="_blank">jon.the.wong@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm running into an issue for a symmetric (may not be pd) finite element problem where I am using the cg method and getting an indefinite_mat or indefinite_pc error using the jacobi preconditioner. If I change the pc type to bjacobi, it converges nicely. I am only using 1 process, and I assumed they would produce the same result, as I'm using default options. <div>

<br></div><div>Does anyone have any ideas why this would happen?</div></div></blockquote><div><br></div><div>No, Block-Jacobi and Jacobi are completely different. If you are not positive definite, you should be using MINRES.</div>
<div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>It also works fine with gmres + jacobi pc.</div><div><br>
</div><div>Thanks,</div><div>Jon</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <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
</div></div>