[petsc-users] subdomain solver options

Matthew Knepley knepley at gmail.com
Wed Aug 27 07:05:38 CDT 2025


See you next week!

   Matt

On Wed, Aug 27, 2025 at 3:39 AM Anton Popov <popov at uni-mainz.de> wrote:

> 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!ae4Aps9OCcaKciUHsxH-E9BnL2D7koMv1G07Exb_JY9ucOmJAyxzUmcN2-yQA2HhQwqM60PF6N6iaxjalQE9$ 
> <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!ae4Aps9OCcaKciUHsxH-E9BnL2D7koMv1G07Exb_JY9ucOmJAyxzUmcN2-yQA2HhQwqM60PF6N6ia_wAppzA$ >
>
>

-- 
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!ae4Aps9OCcaKciUHsxH-E9BnL2D7koMv1G07Exb_JY9ucOmJAyxzUmcN2-yQA2HhQwqM60PF6N6iaxjalQE9$  <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!ae4Aps9OCcaKciUHsxH-E9BnL2D7koMv1G07Exb_JY9ucOmJAyxzUmcN2-yQA2HhQwqM60PF6N6ia_wAppzA$ >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250827/c9bd60a3/attachment.html>


More information about the petsc-users mailing list