<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">丁老师 :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Dear friends:<br>     the matrix from spectral method is a dense matrix, and some entries at diagonal may have a zero value. <br>which solver and preconditioner should i use to solve it.<br></div></div></blockquote><div>For dense matrix, you should use dense matrix format. LU/Cholesky preconditioner are provided by Lapack or Elemental. Petsc supports interface to these packages.</div><div><br></div><div>Hong</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br></div></div>