<div dir="ltr">Marco,<div><br></div><div>you should define what do you mean by "AMG block preconditioning"; separate AMG on each block? What operator do you plan to precondition?</div><div>AFAIK, MatSetVariableBlockSizes is just exploited by the Jacobi solver .</div><div><br></div><div>Thanks</div><div>Stefano</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 28 ott 2019 alle ore 19:05 Marco Cisternino via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello everybody.<br>
We would like to setup an algebraic multi-grid block preconditioner and I would like to be able to define custom blocks of variable sizes. Reading the documentation, it seems that this can be achieved using the "PCGAMG" preconditioner and defining the blocks with the function "MatSetVariableBlockSizes". Is this correct?<br>
Are the variable blocks exploited by PCGAMG algorithms? We suppose this PC structure is already exploited in PCVPBJACOBI.<br>
Are the different options like PCHYPRE (setting "-pc_hypre_type" to "boomeramg") suitable for AMG preconditioner with variable size blocks?<br>
If none of the above solutions are available, could anyone suggest any other strategy in order to get a preconditioner like this using PETSc?<br>
Any help is much appreciated.<br>
Thanks.<br>
<br>
Best regards,<br>
<br>
Marco Cisternino</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Stefano</div>