[petsc-users] Specify BoomerAMG aggressive coarsening interpolation type via options database

Pierre Jolivet pierre at joliv.et
Fri Jun 14 14:20:14 CDT 2024



> On 14 Jun 2024, at 9:15 PM, Mcintyre, Sean Michael <smm5164 at psu.edu> wrote:
> 
> Pierre,
> 
> That only specifies it for AMG levels that are not coarsened aggressively. Aggressively coarsened levels end up with the default multipass long-range interpolation.

My bad, in your initial message, you mentioned the HYPRE_BoomerAMGSetInterpType() API, but I guess you meant to write HYPRE_BoomerAMGSetAggInterpType()?
This is indeed not interfaced right now, but you could copy what’s currently done for -pc_hypre_boomeramg_interp_type and submit an MR.

Thanks,
Pierre

> Thanks,
> Sean
> From: Pierre Jolivet <pierre at joliv.et <mailto:pierre at joliv.et>>
> Sent: Friday, June 14, 2024 3:05 PM
> To: Mcintyre, Sean Michael <smm5164 at psu.edu <mailto:smm5164 at psu.edu>>
> Cc: petsc-users at mcs.anl.gov <mailto:petsc-users at mcs.anl.gov> <petsc-users at mcs.anl.gov <mailto:petsc-users at mcs.anl.gov>>
> Subject: Re: [petsc-users] Specify BoomerAMG aggressive coarsening interpolation type via options database
>  
> You don't often get email from pierre at joliv.et <mailto:pierre at joliv.et>. Learn why this is important <https://urldefense.us/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!G_uCfscf7eWS!ZMkIqDj9wjnbJJJRwjpSKWP_9bMqsx4I-iuBNeSAp6_8RFDzh-EIAoNvZjpO5ZJPD9eYvIA-O5IK6XUkDjkRPA$ >	
> 
> 
>> On 14 Jun 2024, at 8:42 PM, Mcintyre, Sean Michael <smm5164 at psu.edu <mailto:smm5164 at psu.edu>> wrote:
>> 
>> This Message Is From an External Sender
>> This message came from outside your organization.
>> Hi there,
>> 
>> I'd like to try a different long-range interpolation scheme with BoomerAMG's aggressive coarsening (defaults to multipass). Is there a way to specify this via the PETSc options database? I see in the BoomerAMG documentation that the appropriate function call would be HYPRE_BoomerAMGSetInterpType. I'd prefer to do it via the options database than put it directly into my code. Adding the -help option, I don't see anything like pc_hypre_boomeramg_agg_interp_type. Could this perhaps be added if there isn't currently a way to do it?
> 
> It’s there already.
> $ ./ex1 -pc_type hypre -help|grep multipass
>   -pc_hypre_boomeramg_interp_type: <now classical : formerly classical> Interpolation type (choose one of) classical   direct multipass multipass-wts ext+i ext+i-cc standard standard-wts block block-wtd FF FF1 ext ad-wts ext-mm ext+i-mm ext+e-mm (None)
> 
> Thanks,
> Pierre
> 
>> Thanks,
>> Sean McIntyre

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


More information about the petsc-users mailing list