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

Mcintyre, Sean Michael smm5164 at psu.edu
Fri Jun 14 14:22:46 CDT 2024


I must have copied the wrong line out of the BoomerAMG website. Oops!

I'll probably do that, then.

Thanks,
Sean
________________________________
From: Pierre Jolivet <pierre at joliv.et>
Sent: Friday, June 14, 2024 3:20 PM
To: Mcintyre, Sean Michael <smm5164 at psu.edu>
Cc: petsc-users <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. Learn why this is important<https://urldefense.us/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!G_uCfscf7eWS!fqMtyXmpXhyLmbuySkJstdPyqSidHeTEULH0vxZtYvcQeJP0UBlE8NspnoWucoy3_YWObGB5kVZg3yyPIcaJIA$ >


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!fqMtyXmpXhyLmbuySkJstdPyqSidHeTEULH0vxZtYvcQeJP0UBlE8NspnoWucoy3_YWObGB5kVZg3yyPIcaJIA$ >


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/115a8d2e/attachment-0001.html>


More information about the petsc-users mailing list