[petsc-users] subdomain solver options

Anton Popov popov at uni-mainz.de
Wed Aug 27 02:39:42 CDT 2025


Thanks Matt, it works!

Anton

On 26.08.25 22:34, Matthew Knepley wrote:
> On Tue, Aug 26, 2025 at 12:45 PM Anton Popov <popov at uni-mainz.de> wrote:
>
>     There is an important addition, I use asm and bjacobi as smoothers on
>     multigrid levels.
>
>     So I probably need to set the options with -mg_levels_sub_, or
>     -mg_levels_3_sub_(if they are different on different levels),
>     instead of
>     just -sub_.
>
>     Correct?
>
>
> Yes, and as Mark says, you can see the prefix if you View the solver.
>
>   Thanks,
>
>      Matt
>
>     Anton
>
>
>
>     On 26.08.25 18:20, Anton Popov wrote:
>     > Hi all,
>     >
>     > I have a strange behavior setting the solver options for asm and
>     > bjacobi blocks.
>     >
>     > Irrespective of what I set with -sub_ksp_ -sub_pc_ it just
>     selects the
>     > default preonly and ilu options.
>     >
>     > This behavior does not change no matter how many local blocks
>     per cpu
>     > I try to use, for example with the default one block/cpu it does
>     not
>     > work as well.
>     >
>     > Is there anything wrong?
>     >
>     > Best,
>     >
>     > Anton
>     >
>
>
>
> -- 
> What most experimenters take for granted before they begin their 
> experiments is infinitely more interesting than any results to which 
> their experiments lead.
> -- Norbert Wiener
>
> https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!dduznZr2wz7YJHJJczD2Qkrwr8f7vwu56e_Z3HlM5b0coSWG33ZtoI9QE275Yki2aVtsa8vtSODfzsxo-uZkERvq$  
> <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!dduznZr2wz7YJHJJczD2Qkrwr8f7vwu56e_Z3HlM5b0coSWG33ZtoI9QE275Yki2aVtsa8vtSODfzsxo-qcAS3vN$ >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250827/abed8c5e/attachment.html>


More information about the petsc-users mailing list