<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div> See the very end of the section <a href="https://petsc.org/release/manual/ksp/#multigrid-preconditioners">https://petsc.org/release/manual/ksp/#multigrid-preconditioners</a> on how to control the smoothers (and coarse grid solve) for multigrid in PETSc including for algebraic multigrid.<div><br></div><div> So, for example, -mg_levels_pc_type fieldsplit would be the starting point. Depending on the block size of the matrices it may automatically do simple splits, you can control the details of the fieldsplit preconditioner with -mg_levels_pc_fieldsplit_... and the details for each split with -mg_levels_fieldsplit_.... </div><div><br></div><div> See src/ksp/ksp/tutorials/ex42.c for example, usage </div><div><br></div><div> Feel free to ask more specific questions once you get started.<br><div><br><blockquote type="cite"><div>On Jul 26, 2023, at 9:47 PM, Michael Wick <michael.wick.1980@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr">Hello PETSc team:<div><br></div><div>I wonder if the current PETSc implementation supports using AMG monolithically for a multi-field problem and using fieldsplit in the smoother.</div><div><br></div><div>Thank you very much,</div><div><br></div><div>Mike</div></div>
</div></blockquote></div><br></div></body></html>