<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">David ,<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><span style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:12px">I'm curious about how to do a symmetric LDL^T factorization (instead of LU) with MUMPS and SuperLU. Based on this example:</span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:12px"><br></span></div><div><font color="#000000" face="Calibri, sans-serif"><span style="font-size:12px"><a href="http://www.mcs.anl.gov/petsc/petsc-3.4/src/ksp/ksp/examples/tutorials/ex52.c.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-3.4/src/ksp/ksp/examples/tutorials/ex52.c.html</a></span></font><br></div><div><font color="#000000" face="Calibri, sans-serif"><span style="font-size:12px"><br></span></font></div><div><font color="#000000" face="Calibri, sans-serif"><span style="font-size:12px">my understanding is as follows:</span></font></div><div><font color="#000000" face="Calibri, sans-serif"><span style="font-size:12px"><br></span></font></div><div><font color="#000000" face="Calibri, sans-serif"><span style="font-size:12px">- With MUMPS I gather that we need to specify:</span></font></div><div><font color="#000000" face="Calibri, sans-serif"><span style="font-size:12px"><div><br></div><div>MatSetOption(A,MAT_SPD,PETSC_TRUE);</div><div>PCSetType(pc,PCCHOLESKY);</div><div><br></div><div>I guess "-pc_type cholesky" on the command line is equivalent to the PCSetType call, right? Is specifying MAT_SPD required in order for MUMPS to do an LDL^T factorization?</div></span></font></div></div></div></div></blockquote><div>Mumps supports Cholesky factorization for symmetric, and symmetric+spd matrices.  You may consult mumps user manual.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><br></div><div><font color="#000000" face="Calibri, sans-serif"><span style="font-size:12px">- I gather that SuperLU doesn't provide a symmetric factorization.</span></font></div></div></div></div></blockquote><div>SuperLU does not support Cholesky factorization.</div><div><br></div><div>Hong </div></div><br></div></div>