<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">There is a fix there: <a href="https://gitlab.com/petsc/petsc/-/commit/ea41da7ae9ca74379a24f049c09adf372dd0fe67" class="">https://gitlab.com/petsc/petsc/-/commit/ea41da7ae9ca74379a24f049c09adf372dd0fe67</a><div class="">It’s a spin-off of <a href="https://gitlab.com/petsc/petsc/-/commit/83f9b43b15ff2b6a8a4ff6970cc325feb78dc91b?merge_request_iid=3608" class="">https://gitlab.com/petsc/petsc/-/commit/83f9b43b15ff2b6a8a4ff6970cc325feb78dc91b?merge_request_iid=3608</a></div><div class="">I don’t think it’s OK to have different behaviors between PCASM/PCGASM/PCBJacobi_Multiblock on one side and PCBJacobi_Singleblock on the other.</div><div class="">I’m also not sure what was the rationale for setting the same prefix for the SubMats and the Mat, as it makes it very hard to scope options properly, I think.</div><div class="">I can make a MR if you are OK with this change.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Pierre</div><div class=""><br class=""></div><div class="">$ mpirun -n 1 src/ksp/ksp/tests/ex60 -ksp_view -pc_type bjacobi</div><div class="">[…]</div><div class=""><div class=""> Mat Object: (sub_) 1 MPI processes</div><div class=""> type: seqaij</div><div class=""> rows=64, cols=64</div><div class="">[…]</div><div class="">$ mpirun -n 4 src/snes/tutorials/ex56 -cells 2,2,1 -max_conv_its 2 -petscspace_degree 2 -snes_max_it 2 -ksp_max_it 100 -ksp_type cg -ksp_rtol 1.e-10 -ksp_norm_type unpreconditioned -snes_rtol 1.e-10 -pc_type gamg -pc_gamg_type agg -pc_gamg_agg_nsmooths 1 -pc_gamg_coarse_eq_limit 10 -pc_gamg_reuse_interpolation true -pc_gamg_square_graph 1 -pc_gamg_threshold 0.05 -pc_gamg_threshold_scale .0 -ksp_converged_reason -snes_monitor_short -ksp_monitor_short -snes_converged_reason -use_mat_nearnullspace true -mg_levels_ksp_max_it 2 -mg_levels_ksp_type chebyshev -mg_levels_ksp_chebyshev_esteig 0,0.05,0,1.1 -mg_levels_pc_type jacobi -petscpartitioner_type simple -matptap_via scalable -ex56_dm_view -snes_view -mg_coarse_sub_pc_factor_mat_solver_type mumps -mg_coarse_sub_mat_mumps_icntl_11 1</div><div class="">[…]</div><div class=""> ICNTL(11) (error analysis): 1</div><div class="">[…]</div><div class=""><div class=""> linear system matrix = precond matrix:</div><div class=""> Mat Object: (mg_coarse_sub_) 1 MPI processes</div><div class=""> type: seqaij</div><div class=""> rows=6, cols=6, bs=6</div></div><div class="">[…]</div><div><br class=""><blockquote type="cite" class=""><div class="">On 19 Mar 2021, at 12:01 PM, Pierre Jolivet <<a href="mailto:pierre@joliv.et" class="">pierre@joliv.et</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">On 19 Mar 2021, at 5:00 AM, Barry Smith <<a href="mailto:bsmith@petsc.dev" class="">bsmith@petsc.dev</a>> wrote:<br class=""><br class=""><br class="">Eric,<br class=""><br class=""><blockquote type="cite" class="">-Options_ProjectionL2_0mg_coarse_sub_mat_mumps_icntl_24 value: 1<br class=""></blockquote><br class="">If an option is skipped it is often due to the exact string name used with the option. I see your KSP option is Options_ProjectionL2_0mg_coarse_sub_mat_mumps_icntl_24 but then below I see<span class="Apple-converted-space"> </span><br class=""><br class=""><blockquote type="cite" class="">Coarse grid solver -- level -------------------------------<br class=""> KSP Object: (Options_ProjectionL2_0mg_coarse_) 1 MPI processes<br class=""> type: preonly<br class=""></blockquote><br class="">That is, it seems to be looking for an option without the sub. This is normal. For the coarsest level of multigrid it uses coarse otherwise it uses levels. Sub is used for block methods in PETSc such as block Jacobi methods but that doesn't seem to apply in your run with one process. It is possible since the run is on one process without a method such as block Jacobi the sub is just not relevant.<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">There is something wrong with the option, IMHO, Eric is right in thinking that he should prepend sub_.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">The prefix is not being propagated properly, I’ll investigate.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Here is a simple reproducer:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">$ mpirun -n 1 src/ksp/ksp/tests/ex60 -ksp_view -pc_type bjacobi // KO</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">[…]</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> linear system matrix = precond matrix:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> Mat Object: 1 MPI processes</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> type: seqaij</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">[…]</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">$ mpirun -n 1 src/ksp/ksp/tests/ex60 -ksp_view -pc_type asm // OK</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">[…]</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> linear system matrix = precond matrix:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> Mat Object: (sub_) 1 MPI processes</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> type: seqaij</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">[…]</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">$ mpirun -n 1 src/ksp/ksp/tests/ex60 -ksp_view -pc_type gasm // OK</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">[…]</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> linear system matrix = precond matrix:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> Mat Object: (sub_) 1 MPI processes</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> type: seqaij</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">[…]</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">$ mpirun -n 4 src/ksp/ksp/tests/ex60 -ksp_view -pc_type bjacobi -pc_bjacobi_blocks 1 // OK</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">[…]</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> linear system matrix = precond matrix:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> Mat Object: (sub_) 4 MPI processes</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""> type: mpiaij</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">[…]</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Eric, in the meantime, you can just put the MUMPS options in the global scope, i.e., -mat_mumps_icntl_24 1, but this will apply to all unprefixed MUMPS instances.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Thanks,</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Pierre</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">You can run any code with your current options and with -help and then grep for particular options that you may wish to add. Or you can run with -ts/snes/ksp_view to see the option prefixes needed for each inner solve.<span class="Apple-converted-space"> </span><br class=""><br class="">I am not sure how to make the code bullet proof in your situation. ideally it would explain why your options don't work but I am not sure if that is possible.<br class=""><br class="">Barry<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Mar 18, 2021, at 8:46 PM, Eric Chamberland <<a href="mailto:Eric.Chamberland@giref.ulaval.ca" class="">Eric.Chamberland@giref.ulaval.ca</a>> wrote:<br class=""><br class="">Hi again,<br class=""><br class="">ok, just saw that some matrices have lines of "0" in case of 3D hermite DOFs (ex: du/dz derivatives) when used into a 2D plane mesh...<br class=""><br class="">So, my last problem about hypre smoother is "normal".<br class=""><br class="">However, just to play with one of this matrix, I tried to do a "LU" with mumps icntl_24 option activated on the global system: fine it works.<br class=""><br class="">Then I tried to switche to GAMG with mumps for the coarse_sub level, but it seems my icntl_24 option is then ignored and I don't know why...<br class=""><br class="">See my KSP:<br class=""><br class="">KSP Object: (Options_ProjectionL2_0) 1 MPI processes<br class="">type: bcgs<br class="">maximum iterations=10000, initial guess is zero<br class="">tolerances: relative=1e-15, absolute=1e-15, divergence=1e+12<br class="">left preconditioning<br class="">using PRECONDITIONED norm type for convergence test<br class="">PC Object: (Options_ProjectionL2_0) 1 MPI processes<br class="">type: gamg<br class=""> type is MULTIPLICATIVE, levels=2 cycles=v<br class=""> Cycles per PCApply=1<br class=""> Using externally compute Galerkin coarse grid matrices<br class=""> GAMG specific options<br class=""> Threshold for dropping small values in graph on each level =<br class=""> Threshold scaling factor for each level not specified = 1.<br class=""> AGG specific options<br class=""> Symmetric graph false<br class=""> Number of levels to square graph 1<br class=""> Number smoothing steps 1<br class=""> Complexity: grid = 1.09756<br class="">Coarse grid solver -- level -------------------------------<br class=""> KSP Object: (Options_ProjectionL2_0mg_coarse_) 1 MPI processes<br class=""> type: preonly<br class=""> maximum iterations=10000, initial guess is zero<br class=""> tolerances: relative=1e-05, absolute=1e-50, divergence=10000.<br class=""> left preconditioning<br class=""> using NONE norm type for convergence test<br class=""> PC Object: (Options_ProjectionL2_0mg_coarse_) 1 MPI processes<br class=""> type: bjacobi<br class=""> number of blocks = 1<br class=""> Local solver is the same for all blocks, as in the following KSP and PC objects on rank 0:<br class=""> KSP Object: (Options_ProjectionL2_0mg_coarse_sub_) 1 MPI processes<br class=""> type: preonly<br class=""> maximum iterations=1, initial guess is zero<br class=""> tolerances: relative=1e-05, absolute=1e-50, divergence=10000.<br class=""> left preconditioning<br class=""> using NONE norm type for convergence test<br class=""> PC Object: (Options_ProjectionL2_0mg_coarse_sub_) 1 MPI processes<br class=""> type: lu<br class=""> out-of-place factorization<br class=""> tolerance for zero pivot 2.22045e-14<br class=""> using diagonal shift on blocks to prevent zero pivot [INBLOCKS]<br class=""> matrix ordering: nd<br class=""> factor fill ratio given 0., needed 0.<br class=""> Factored matrix follows:<br class=""> Mat Object: 1 MPI processes<br class=""> type: mumps<br class=""> rows=8, cols=8<br class=""> package used to perform factorization: mumps<br class=""> total: nonzeros=64, allocated nonzeros=64<br class=""> MUMPS run parameters:<br class=""> SYM (matrix type): 0<br class=""> PAR (host participation): 1<br class=""> ICNTL(1) (output for error): 6<br class=""> ICNTL(2) (output of diagnostic msg): 0<br class=""> ICNTL(3) (output for global info): 0<br class=""> ICNTL(4) (level of printing): 0<br class=""> ICNTL(5) (input mat struct): 0<br class=""> ICNTL(6) (matrix prescaling): 7<br class=""> ICNTL(7) (sequential matrix ordering):7<br class=""> ICNTL(8) (scaling strategy): 77<br class=""> ICNTL(10) (max num of refinements): 0<br class=""> ICNTL(11) (error analysis): 0<br class=""> ICNTL(12) (efficiency control): 1<br class=""> ICNTL(13) (sequential factorization of the root node): 0<br class=""> ICNTL(14) (percentage of estimated workspace increase): 20<br class=""> ICNTL(18) (input mat struct): 0<br class=""> ICNTL(19) (Schur complement info): 0<br class=""> ICNTL(20) (RHS sparse pattern): 0<br class=""> ICNTL(21) (solution struct): 0<br class=""> ICNTL(22) (in-core/out-of-core facility): 0<br class=""> ICNTL(23) (max size of memory can be allocated locally):0<br class=""> ICNTL(24) (detection of null pivot rows): 0<br class=""> ICNTL(25) (computation of a null space basis): 0<br class=""> ICNTL(26) (Schur options for RHS or solution): 0<br class=""> ICNTL(27) (blocking size for multiple RHS): -32<br class=""> ICNTL(28) (use parallel or sequential ordering): 1<br class=""> ICNTL(29) (parallel ordering): 0<br class=""> ICNTL(30) (user-specified set of entries in inv(A)): 0<br class=""> ICNTL(31) (factors is discarded in the solve phase): 0<br class=""> ICNTL(33) (compute determinant): 0<br class=""> ICNTL(35) (activate BLR based factorization): 0<br class=""> ICNTL(36) (choice of BLR factorization variant): 0<br class=""> ICNTL(38) (estimated compression rate of LU factors): 333<br class=""> CNTL(1) (relative pivoting threshold): 0.01<br class=""> CNTL(2) (stopping criterion of refinement): 1.49012e-08<br class=""> CNTL(3) (absolute pivoting threshold): 0.<br class=""> CNTL(4) (value of static pivoting): -1.<br class=""> CNTL(5) (fixation for null pivots): 0.<br class=""> CNTL(7) (dropping parameter for BLR): 0.<br class=""> RINFO(1) (local estimated flops for the elimination after analysis):<br class=""> [0] 308.<br class=""> RINFO(2) (local estimated flops for the assembly after factorization):<br class=""> [0] 0.<br class=""> RINFO(3) (local estimated flops for the elimination after factorization):<br class=""> [0] 0.<br class=""> INFO(15) (estimated size of (in MB) MUMPS internal data for running numerical factorization):<br class=""> [0] 0<br class=""> INFO(16) (size of (in MB) MUMPS internal data used during numerical factorization):<br class=""> [0] 0<br class=""> INFO(23) (num of pivots eliminated on this processor after factorization):<br class=""> [0] 6<br class=""> RINFOG(1) (global estimated flops for the elimination after analysis): 308.<br class=""> RINFOG(2) (global estimated flops for the assembly after factorization): 0.<br class=""> RINFOG(3) (global estimated flops for the elimination after factorization): 0.<br class=""> (RINFOG(12) RINFOG(13))*2^INFOG(34) (determinant): (0.,0.)*(2^0)<br class=""> INFOG(3) (estimated real workspace for factors on all processors after analysis): 64<br class=""> INFOG(4) (estimated integer workspace for factors on all processors after analysis): 35<br class=""> INFOG(5) (estimated maximum front size in the complete tree): 8<br class=""> INFOG(6) (number of nodes in the complete tree): 1<br class=""> INFOG(7) (ordering option effectively use after analysis): 2<br class=""> INFOG(8) (structural symmetry in percent of the permuted matrix after analysis): 100<br class=""> INFOG(9) (total real/complex workspace to store the matrix factors after factorization): 64<br class=""> INFOG(10) (total integer space store the matrix factors after factorization): 35<br class=""> INFOG(11) (order of largest frontal matrix after factorization): 8<br class=""> INFOG(12) (number of off-diagonal pivots): 0<br class=""> INFOG(13) (number of delayed pivots after factorization): 0<br class=""> INFOG(14) (number of memory compress after factorization): 0<br class=""> INFOG(15) (number of steps of iterative refinement after solution): 0<br class=""> INFOG(16) (estimated size (in MB) of all MUMPS internal data for factorization after analysis: value on the most memory consuming processor): 0<br class=""> INFOG(17) (estimated size of all MUMPS internal data for factorization after analysis: sum over all processors): 0<br class=""> INFOG(18) (size of all MUMPS internal data allocated during factorization: value on the most memory consuming processor): 0<br class=""> INFOG(19) (size of all MUMPS internal data allocated during factorization: sum over all processors): 0<br class=""> INFOG(20) (estimated number of entries in the factors): 64<br class=""> INFOG(21) (size in MB of memory effectively used during factorization - value on the most memory consuming processor): 0<br class=""> INFOG(22) (size in MB of memory effectively used during factorization - sum over all processors): 0<br class=""> INFOG(23) (after analysis: value of ICNTL(6) effectively used): 0<br class=""> INFOG(24) (after analysis: value of ICNTL(12) effectively used): 1<br class=""> INFOG(25) (after factorization: number of pivots modified by static pivoting): 0<br class=""> INFOG(28) (after factorization: number of null pivots encountered): 0<br class=""> INFOG(29) (after factorization: effective number of entries in the factors (sum over all processors)): 0<br class=""> INFOG(30, 31) (after solution: size in Mbytes of memory used during solution phase): 0, 0<br class=""> INFOG(32) (after analysis: type of analysis done): 1<br class=""> INFOG(33) (value used for ICNTL(8)): 7<br class=""> INFOG(34) (exponent of the determinant if determinant is requested): 0<br class=""> INFOG(35) (after factorization: number of entries taking into account BLR factor compression - sum over all processors): 0<br class=""> INFOG(36) (after analysis: estimated size of all MUMPS internal data for running BLR in-core - value on the most memory consuming processor): 0<br class=""> INFOG(37) (after analysis: estimated size of all MUMPS internal data for running BLR in-core - sum over all processors): 0<br class=""> INFOG(38) (after analysis: estimated size of all MUMPS internal data for running BLR out-of-core - value on the most memory consuming processor): 0<br class=""> INFOG(39) (after analysis: estimated size of all MUMPS internal data for running BLR out-of-core - sum over all processors): 0<br class=""> linear system matrix = precond matrix:<br class=""> Mat Object: 1 MPI processes<br class=""> type: seqaij<br class=""> rows=8, cols=8, bs=4<br class=""> total: nonzeros=64, allocated nonzeros=64<br class=""> total number of mallocs used during MatSetValues calls=0<br class=""> using I-node routines: found 2 nodes, limit used is 5<br class=""> linear system matrix = precond matrix:<br class=""> Mat Object: 1 MPI processes<br class=""> type: seqaij<br class=""> rows=8, cols=8, bs=4<br class=""> total: nonzeros=64, allocated nonzeros=64<br class=""> total number of mallocs used during MatSetValues calls=0<br class=""> using I-node routines: found 2 nodes, limit used is 5<br class="">Down solver (pre-smoother) on level 1 -------------------------------<br class=""> KSP Object: (Options_ProjectionL2_0mg_levels_1_) 1 MPI processes<br class=""> type: chebyshev<br class=""> eigenvalue estimates used: min = 0., max = 0.<br class=""> eigenvalues estimate via gmres min 0., max 0.<br class=""> eigenvalues estimated using gmres with translations [0. 0.1; 0. 1.1]<br class=""> KSP Object: (Options_ProjectionL2_0mg_levels_1_esteig_) 1 MPI processes<br class=""> type: gmres<br class=""> restart=30, using Classical (unmodified) Gram-Schmidt Orthogonalization with no iterative refinement<br class=""> happy breakdown tolerance 1e-30<br class=""> maximum iterations=10, initial guess is zero<br class=""> tolerances: relative=1e-12, absolute=1e-50, divergence=10000.<br class=""> left preconditioning<br class=""> using PRECONDITIONED norm type for convergence test<br class=""> PC Object: (Options_ProjectionL2_0mg_levels_1_) 1 MPI processes<br class=""> type: sor<br class=""> type = local_symmetric, iterations = 1, local iterations = 1, omega = 1.<br class=""> linear system matrix = precond matrix:<br class=""> Mat Object: (Options_ProjectionL2_0) 1 MPI processes<br class=""> type: seqaij<br class=""> rows=36, cols=36, bs=4<br class=""> total: nonzeros=656, allocated nonzeros=656<br class=""> total number of mallocs used during MatSetValues calls=0<br class=""> using I-node routines: found 9 nodes, limit used is 5<br class=""> estimating eigenvalues using noisy right hand side<br class=""> maximum iterations=2, nonzero initial guess<br class=""> tolerances: relative=1e-05, absolute=1e-50, divergence=10000.<br class=""> left preconditioning<br class=""> using NONE norm type for convergence test<br class=""> PC Object: (Options_ProjectionL2_0mg_levels_1_) 1 MPI processes<br class=""> type: sor<br class=""> type = local_symmetric, iterations = 1, local iterations = 1, omega = 1.<br class=""> linear system matrix = precond matrix:<br class=""> Mat Object: (Options_ProjectionL2_0) 1 MPI processes<br class=""> type: seqaij<br class=""> rows=36, cols=36, bs=4<br class=""> total: nonzeros=656, allocated nonzeros=656<br class=""> total number of mallocs used during MatSetValues calls=0<br class=""> using I-node routines: found 9 nodes, limit used is 5<br class="">Up solver (post-smoother) same as down solver (pre-smoother)<br class="">linear system matrix = precond matrix:<br class="">Mat Object: (Options_ProjectionL2_0) 1 MPI processes<br class=""> type: seqaij<br class=""> rows=36, cols=36, bs=4<br class=""> total: nonzeros=656, allocated nonzeros=656<br class=""> total number of mallocs used during MatSetValues calls=0<br class=""> using I-node routines: found 9 nodes, limit used is 5<br class=""><br class="">but I have this option left:<br class=""><br class="">Option left: name:-Options_ProjectionL2_0mg_coarse_sub_mat_mumps_icntl_24 value: 1<br class=""><br class="">and as you can see above I end with:<br class=""><br class=""> ICNTL(24) (detection of null pivot rows): 0<br class=""><br class="">which is fatal in my case...<br class=""><br class="">Can you see where I did wrong?<br class=""><br class="">Thanks,<br class=""><br class="">Eric</blockquote></blockquote></div></blockquote></div><br class=""></div></body></html>