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

Fix minor HYPRE and ADIOS2 compilation issues #3022

Open
wants to merge 24 commits into
base: next
Choose a base branch
from
Open

Conversation

ZedThree
Copy link
Member

@ZedThree ZedThree commented Nov 7, 2024

It turns out we're not building HYPRE on CI at all, and we're silently not actually using ADIOS2, and that's let a couple of compilation issues creep in.

This fixes the compilation and CI issues (hopefully).

@ZedThree
Copy link
Member Author

ZedThree commented Nov 8, 2024

Hmm, more problems with 3D metrics and the Hypre laplacians. Guess I'll have to build that config locally to fix them all.

@dschwoerer
Copy link
Contributor

It would be great to fix that, but I think disabling hypre with 3D is also fine. Hypre is often used - but only via PETSc, so that should be fine ...

So adding a configure time error should be fine ...

@ZedThree
Copy link
Member Author

I think it's mostly just making some types auto instead of Field2D or whatever, but I need to find some time to look into it

@dschwoerer
Copy link
Contributor

I have it fixed, so that it compiles.
I do not think it does the right think, as I need to change Field2D to FieldMetric in many places ...

@dschwoerer
Copy link
Contributor

Fixes #2701

bendudson and others added 12 commits January 9, 2025 10:44
Saved to dmp files by the Laplacian savePerformance monitor.
If the savePerformance() method is called to enable outputs,
the mean solver and AMG iterations, and the final residual,
are saved as time-varying scalars.
Default was "parallel_dirichlet", but no boundary is registered
with that name. Changed to "parallel_dirichlet_o2".
Calling `phiSolver->savePerformance(...)` causes performance (e.g. iteration count)
diagnostics to be saved to the output file.

hypre input did have the wrong parallel transform, boundary conditions
that have not been implemented. Now uses hypre3d as the phiSolver.
The combination doesn't yet work, so disable for now.
Add `override` keyword to squash warning.
- Mesh variable names are case sensitive
- mpirun needs ./ to find executable on some systems
Calls a Hypre function to print the matrix elements.
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.

3 participants