<div dir="ltr">We don't know the details of hypre, we just provide an interface. For algorithmic questions you would need to ask the hypre tea.<div><br></div><div>Tell them your equations and discretizations and what you have observed. I imagine they can help.</div><div><br></div><div>Mark</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 9, 2020 at 8:59 AM Andrea Iob <<a href="mailto:andrea_iob@hotmail.com">andrea_iob@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Sorry, I've clicked the send button by mistake.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span>The setup I'm using comes from the following guide:</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span><a href="https://mooseframework.inl.gov/application_development/hypre.html" target="_blank">https://mooseframework.inl.gov/application_development/hypre.html</a><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Since I'm new to BoomerAMG I've been using that guide as a reference, but I'm not sure if those setting are appropriate from my system.<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Best regards,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Andrea<br>
</div>
<br>
</div>
<div>
<div id="gmail-m_8212652481884062230appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_8212652481884062230divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Andrea Iob <<a href="mailto:andrea_iob@hotmail.com" target="_blank">andrea_iob@hotmail.com</a>><br>
<b>Sent:</b> Thursday, July 9, 2020 2:55 PM<br>
<b>To:</b> Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>><br>
<b>Cc:</b> Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>>; Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>>; <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a> <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>><br>
<b>Subject:</b> Re: [petsc-users] DIVERGED_NANORINF when using HYPRE/BoomerAMG</font>
<div> </div>
</div>
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Yes, I'm using AIJ matrices.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
These are the options I'm using to set up BoomerAMG:</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span> PCHYPRESetType(preconditioner, "boomeramg");<br>
</span>
<div> PetscOptionsSetValue(nullptr, "-pc_hypre_boomeramg_smooth_type", "Pilut");<br>
</div>
<div> PetscOptionsSetValue(nullptr, "-pc_hypre_boomeramg_relax_type_all", "sequential-Gauss-Seidel");<br>
</div>
<div> PetscOptionsSetValue(nullptr, "-pc_hypre_boomeramg_strong_threshold", "0.7");<br>
</div>
<div> PetscOptionsSetValue(nullptr, "-pc_hypre_boomeramg_coarsen_type", "HMIS");<br>
</div>
<div> PetscOptionsSetValue(nullptr, "-pc_hypre_boomeramg_interp_type", "classical");<br>
</div>
<div> PetscOptionsSetValue(nullptr, "-pc_hypre_boomeramg_interp_type", "ext+i");<br>
</div>
<div> PetscOptionsSetValue(nullptr, "-pc_hypre_boomeramg_P_max", "2");<br>
</div>
<div> PetscOptionsSetValue(nullptr, "-pc_hypre_boomeramg_truncfactor", "0.3");<br>
</div>
<div> PetscOptionsSetValue(nullptr, "-pc_hypre_boomeramg_agg_nl", "4");<br>
</div>
<div> PetscOptionsSetValue(nullptr, "-pc_hypre_boomeramg_agg_num_paths", "5");<br>
</div>
<span> PetscOptionsSetValue(nullptr, "-ksp_error_if_not_converged", "");</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span>This setup come from the following <br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span><a href="https://mooseframework.inl.gov/application_development/hypre.html" target="_blank">https://mooseframework.inl.gov/application_development/hypre.html</a></span><br>
</div>
<div>
<div id="gmail-m_8212652481884062230x_appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_8212652481884062230x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>><br>
<b>Sent:</b> Friday, July 3, 2020 2:58 PM<br>
<b>To:</b> Andrea Iob <<a href="mailto:andrea_iob@hotmail.com" target="_blank">andrea_iob@hotmail.com</a>><br>
<b>Cc:</b> Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>>; Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>>; <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a> <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>><br>
<b>Subject:</b> Re: [petsc-users] DIVERGED_NANORINF when using HYPRE/BoomerAMG</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div><br>
<br>
</div>
<div>3) Schwarz-smoothers<br>
</div>
<div><br>
</div>
<div>#0 0x00007ffff50897f4 in dtrsm_ () from /opt/lapack/3.8.0-gcc.7.4.0/lib64/libblas.so.3<br>
</div>
<div>#1 0x00007ffff550924b in dpotrs_ () from /opt/lapack/3.8.0-gcc.7.4.0/lib64/liblapack.so.3</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>This seems to be Cholesky ... which would not work for you if you are not symmetric (Navier-Stokes).</div>
<div><br>
</div>
<div>If GAMG works then and pilut going crazy but quite there yet, I would think there is a hypre interface problem of some sort.</div>
<div><br>
</div>
<div>Hypre has been used a lot so this is a surprise. Do you use AIJ matrices? Not BAIJ or anything else.</div>
<div> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>