<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Thanks.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">I have tried with large problem also (10^7 X 10^7). Even then I got cholesky faster than multigrid. </div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">But, the problem is 1D. May be that's the reason.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Thanks.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Sincerely,</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Huq</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 3, 2018 at 9:43 PM Jed Brown <<a href="mailto:jed@jedbrown.org">jed@jedbrown.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Fazlul Huq via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> writes:<br>
<br>
> Hello PETSc Developers,<br>
><br>
> I am trying to solve a poisson equation using "-pc_type cholesky" and<br>
> "-pc_type hypre -pc_hypre_type boomeramg" and I got that cholesky<br>
> decomposition method takes<br>
> less time then multigrid method.<br>
> Is this expected? <br>
<br>
For small problems, yes.  If using Cholesky in practice, you may want to<br>
install SuiteSparse or MUMPS and use -pc_factor_mat_solver_type cholmod<br>
(or mumps).<br>
<br>
> I thought that multigrid method solve faster than cholesky<br>
> decomposition method.<br>
<br>
For sufficiently large problems (especially in 3D), yes.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><div><font face="comic sans ms, sans-serif">Fazlul Huq</font></div><div><font face="comic sans ms, sans-serif">Graduate Research Assistant</font></div><div><font face="comic sans ms, sans-serif">Department of Nuclear, Plasma & Radiological Engineering (NPRE)</font></div><div><font face="comic sans ms, sans-serif">University of Illinois at Urbana-Champaign (UIUC)</font></div><div><font face="comic sans ms, sans-serif">E-mail: <a href="mailto:huq2090@gmail.com" target="_blank">huq2090@gmail.com</a></font></div></div></div></div></div></div></div>