Skip to content

Print out hypre version#4650

Merged
WeiqunZhang merged 2 commits intoAMReX-Codes:developmentfrom
victorapm:hypre-version
Sep 10, 2025
Merged

Print out hypre version#4650
WeiqunZhang merged 2 commits intoAMReX-Codes:developmentfrom
victorapm:hypre-version

Conversation

@victorapm
Copy link
Copy Markdown
Contributor

Summary

Prints out hypre version or git hash when available

Additional background

Example:

$ mpirun -np 1 ./main3d.gnu.MPI.ex inputs-mlhypre
Initializing AMReX (82eeea53e3f0-dirty)...
MPI initialized with 1 MPI processes
MPI initialized with thread support level 0
HYPRE (v2.33.0-968-g44a173a95 - hypre-3.0 branch) initialized
AMReX (82eeea53e3f0-dirty) initialized

13 Hypre SS BoomerAMG Iterations, Relative Residual 3.028044427e-11
Level 0 max-norm error: 0.06546922279 1-norm error: 0.01697997329 2-norm error: 0.02351729526
Level 1 max-norm error: 0.04195654994 1-norm error: 0.0008741679547 2-norm error: 0.003988995123
AMReX (82eeea53e3f0-dirty) finalized

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@WeiqunZhang WeiqunZhang merged commit 92e9993 into AMReX-Codes:development Sep 10, 2025
73 of 75 checks passed
@victorapm victorapm deleted the hypre-version branch September 10, 2025 00:27
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