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.
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.