<div dir="ltr"><div class="gmail_extra">Qiyue:</div><div class="gmail_extra">For linear solvers, bjacobi/ilu(0) is the <span class="" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">default PETSc preconditioner.</span></div>
<div class="gmail_extra"><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse">You can change it with option '-pc_type <>', and</span></font></div>
<div class="gmail_extra"><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse">use '-ksp_view' to check what solver is being used.</span></font></div>
<div class="gmail_extra"><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font></div><div class="gmail_extra"><span class="Apple-style-span" style="border-collapse:collapse;font-family:arial,sans-serif">Hong</span><br>
</div><div class="gmail_extra"><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div dir="ltr">Dear All:<br>When I am solving a linear system. in command line I use:<br>-ksp_type=cr <br>then in the output file: <br>I have : job75557 7959 5e+00 2.8e+02 1.0e-01 2.8e+02 bjacobi blks=128 ilu lvls=0,order=natural<br>
<br>When I am using: <br>-ksp_type cr _pc_type bjacobi<br>the output file looks the same. <br><br>From the driver source code: <br>bjacobi blks=128 ilu<br>is the kspinfo output. <br><br>I am wondering, Does this mean that bjacobi is the default preconditioner for cr? <br>
<br><br>Thanks<span class=""><font color="#888888"><br><br>Qiyue Lu<br><br><br><br> </font></span></div></div>
</blockquote></div><br></div></div>