Zero pivot in ml_amg coarse solver

Bug #984802 reported by Joachim Haga
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
New
Undecided
Unassigned

Bug Description

I sometimes see the PETSc-ML preconditioner failing with zero pivot in the coarse-grid solver.

The attached patch seems to help. I don't have the experience to tell if -mg_coarse_pc_factor_shift_type should be a parameter or if it can be set unconditionally like here.

Additionally, some minor fixes ("amg_ml" is wrong, plain "amg" can be either HYPRE or PCML, etc.).

Revision history for this message
Joachim Haga (jobh) wrote :
Revision history for this message
Joachim Haga (jobh) wrote :

Oh, and perhaps PCML/PCHYPRE are undefined when PETSC_HAS_ML/PETSC_HAS_HYPRE are not set. If so, the patch is faulty (the mg_coarse_pc_factor_shift_type is valid, but not the other minor fixes).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.