NOAA-EMC / NCEPLIBS-ip

Fortran 90 subprograms to be used for interpolating between nearly all grids used at NCEP.
Other
5 stars 9 forks source link

OpenMP and UFS WM #234

Open AlexanderRichert-NOAA opened 6 months ago

AlexanderRichert-NOAA commented 6 months ago

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 commented 6 months ago

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