<div dir="ltr"><div><div class="gmail_signature"><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">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 style><br></div><div style>MatSetOption(A,MAT_SPD,PETSC_TRUE);</div><div style>PCSetType(pc,PCCHOLESKY);</div><div style><br></div><div style>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><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><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">Is this correct?</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">Thanks!</span></font></div><div><font color="#000000" face="Calibri, sans-serif"><span style="font-size:12px">David</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"><br></span></font></div></div></div>
</div>