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

OpenMP and UFS WM #234

Open
AlexanderRichert-NOAA opened this issue Mar 25, 2024 · 1 comment
Open

OpenMP and UFS WM #234

AlexanderRichert-NOAA opened this issue Mar 25, 2024 · 1 comment

Comments

@AlexanderRichert-NOAA
Copy link
Contributor

In spack-stack, ip uses OpenMP, whereas sp does not. When using ip v5 to compile UFS WM, the OpenMP flags get propagated into the CMake, which causes some files that need to be compiled without '-qopenmp' (or equivalent) to fail building. I'm not sure what the best solution here is. We could have separate ip and sp targets with separate OpenMP settings. I may also be able to modify the UFS WM CMake config (specifically, FV3/ccpp/physics/CMakeLists.txt) to exclude the ip flags for those files if they're not actually used.

@AlexanderRichert-NOAA
Copy link
Contributor Author

I think this can be resolved through the downstream applications, but I'll keep this open until the transition to ip@5 is complete.

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

No branches or pull requests

1 participant