<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body 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">https://mooseframework.inl.gov/application_development/hypre.html</a></span><br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Mark Adams <mfadams@lbl.gov><br>
<b>Sent:</b> Friday, July 3, 2020 2:58 PM<br>
<b>To:</b> Andrea Iob <andrea_iob@hotmail.com><br>
<b>Cc:</b> Barry Smith <bsmith@petsc.dev>; Matthew Knepley <knepley@gmail.com>; petsc-users@mcs.anl.gov <petsc-users@mcs.anl.gov><br>
<b>Subject:</b> Re: [petsc-users] DIVERGED_NANORINF when using HYPRE/BoomerAMG</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="x_gmail_quote">
<blockquote class="x_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)">
<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>
</body>
</html>