[petsc-users] multigrid implementation problem

Jed Brown jedbrown at mcs.anl.gov
Sun Jun 10 20:22:13 CDT 2012


On Sun, Jun 10, 2012 at 8:19 PM, Nakib Haider Protik <nprot048 at uottawa.ca>wrote:

> With the suggested changes, the code doesn't run.
>

You didn't state the error or show the code.


> Is there any example
> code of KSP solvers using multigrid preconditioning? All the examples of
> multigrid I have come across involve dmmg.
>

Please upgrade to petsc-3.3. DMMG is gone and most examples support
multigrid. In most cases, you can just run with -pc_type mg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120610/e6e50da5/attachment.html>


More information about the petsc-users mailing list