<div dir="ltr"><div>If you need to use SuperLU_DIST, the pivoting is done statically, using maximum weighted matching, so the small diagonals are usually taken care as well. It is not as good as partial pivoting, but works most of the time.<br><br></div><div>Sherry<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 10, 2017 at 12:07 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
   I would suggest using ./configure --download-superlu and then when running the program -pc_type lu -pc_factor_mat_solver_package superlu<br>
<br>
   Note that this is SuperLU, it is not SuperLU_DIST.  Superlu uses partial pivoting for numerical stability so should be able to handle the small or zero diagonal entries.<br>
<br>
    Barry<br>
<br>
> On Apr 10, 2017, at 1:17 PM, Kaushik Kulkarni <<a href="mailto:kaushikggg@gmail.com">kaushikggg@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
> I am trying to solve a 2500x2500 sparse matrix. To get an idea about the matrix structure I have added a file matrix.log which contains the output of MatView() and also the output of Matview_draw in the image file.<br>
><br>
> From the matrix structure it can be seen that Jacobi iteration won't work and some of the diagonal entries being very low(of the order of 1E-16) LU factorization would also fail.<br>
><br>
> C​an someone please suggest what all could I try next, in order to make the solution converge?<br>
><br>
> Thanks,<br>
> Kaushik<br>
> ​<br>
<span class="HOEnZb"><font color="#888888">> --<br>
> Kaushik Kulkarni<br>
> Fourth Year Undergraduate<br>
> Department of Mechanical Engineering<br>
> Indian Institute of Technology Bombay<br>
> Mumbai, India<br>
> <a href="https://kaushikcfd.github.io/About/" rel="noreferrer" target="_blank">https://kaushikcfd.github.io/<wbr>About/</a><br>
> <a href="tel:%2B91-9967687150" value="+919967687150">+91-9967687150</a><br>
> <matrix.log><matrix_pattern.<wbr>png><br>
<br>
</font></span></blockquote></div><br></div>