-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add AMReX_SPACEDIM flag to CMake configure step #142
Add AMReX_SPACEDIM flag to CMake configure step #142
Conversation
@ax3l is this change okay with you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good!
We added this manually so far, but this is better 👍
https://github.com/ECP-WarpX/WarpX/blob/24.06/Regression/WarpX-tests.ini#L1857-L1859
Oh, well, technically in CMake we delegate this to application code (e.g., This PR only sets Maybe we could add an option how we like to call the CMake |
In Quokka, we set |
Yes, abstraction. They are different software packages. In practice AMReX can be pre-installed, with 3 different dims at a time. We might just want to build a specific dim or 2 out of three dims of our app. |
Ah, ok. That makes sense. We have always done superbuilds. But in any case, having a var to change the name of the dim parameter makes sense to me. |
Oops, should have removed approval. I think we should first add the extra option we mentioned |
This adds
-DAMReX_SPACEDIM=
to the CMake configure step when building tests.Closes #138.