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

CMake: Fix missing compile time definitions for HYPRE/PETSc #1436

Merged
merged 1 commit into from
Oct 3, 2020

Conversation

sayerhs
Copy link
Contributor

@sayerhs sayerhs commented Oct 3, 2020

When building application codes with an external AMReX install, the AMReX_Config.H file that is used does not include the required AMREX_USE_HYPRE and AMREX_USE_PETSC compile time definitions enabled, even if AMReX was compiled with these options. This PR adds the necessary entries in CMake/AMReX_Config.H.in to add these if these were enabled during the CMake build.

@WeiqunZhang WeiqunZhang requested a review from mic84 October 3, 2020 16:45
@mic84
Copy link
Contributor

mic84 commented Oct 3, 2020

Thank you very much for catching this!

@mic84 mic84 merged commit 362f23d into AMReX-Codes:development Oct 3, 2020
@sayerhs sayerhs deleted the d/cmake-config branch October 3, 2020 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants