Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple linear-solver optimize #283

Merged
merged 28 commits into from
Jun 22, 2024
Merged

Simple linear-solver optimize #283

merged 28 commits into from
Jun 22, 2024

Conversation

shaering
Copy link
Contributor

@shaering shaering commented Jun 8, 2024

Exposed solver options of BoomerAMG and HYPRE smoother pre-conditioners, with an MFEM interface, to TPS. All options used should be gpu-friendly. Only a 10-15% reduction in per-step wall-time is observed for hex-mesh torch test case. For HYPRE options, see
https://hypre.readthedocs.io/en/latest/solvers-boomeramg.html
and
https://hypre.readthedocs.io/en/latest/api-sol-parcsr.html
for further details. Note that not all HYPRE options have an MFEM interface, see: mfem/linalg/hypre.hpp. The AMG pre-conditioner options

  • SetCoarsening(amg_coarsening_);
  • SetAggressiveCoarsening(amg_aggresive_);
  • SetRelaxType(amg_relax_);

have been observed to change the test solutions outside of the specified linear solver tol. Additionally, numerical-integ defaults to false now. Low-Mach refn soln's updated accordingly.

Sigfried Haering added 28 commits June 3, 2024 16:53
…. However, setting partial assembly to true is slightly slower
…er as a precon) and apparent smoother relax weight not functioning as intended
…ol tol and replacing ref soln. numerical-integ defaults to false now
@trevilo trevilo merged commit c1a8af5 into main Jun 22, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants