[petsc-users] GAMG PC dependence on right-hand side

John Mousel john.mousel at gmail.com
Thu Jul 11 11:18:43 CDT 2013


I'm trying to reuse the PC constructed by GAMG during a sub-iterative
procedure where KSPSolve is called with the same matrix repeatedly. The
right-hand side changes during the sub-iteration. I've been attempting to
use SAME_PRECONDITIONER for nit = 2..., but this seems to lead to very
different results than using DIFFERENT_PRECONDITIONER each sub-iteration.
I'm using the following options:

-pres_ksp_type preonly -pres_pc_type redistribute
-pres_redistribute_ksp_type bcgsl -pres_redistribute_pc_type gamg
-pres_redistribute_pc_gamg_threshold 0.01
-pres_redistribute_mg_levels_ksp_type richardson
-pres_redistribute_mg_levels_pc_type sor
-pres_redistribute_mg_coarse_ksp_type richardson
-pres_redistribute_mg_coarse_pc_type sor
-pres_redistribute_mg_coarse_pc_sor_its 5 -pres_redistribute_pc_gamg_type
agg -pres_redistribute_pc_gamg_agg_nsmooths 1
-pres_redistribute_pc_gamg_sym_graph true
-pres_redistribute_ksp_initial_guess_nonzero 0

Is there a dependence on the right-hand side in GAMG somewhere?


John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130711/f918c586/attachment.html>


More information about the petsc-users mailing list