NOAA-PSL / stochastic_physics

Contains the stochastic physics pattern generator for the Unified Forecast System
Other
6 stars 41 forks source link

CMakeLists.txt changes for FMS 2021.03 #43

Closed mlee03 closed 3 years ago

mlee03 commented 3 years ago

This PR adds the compile-time flag OVERLOAD_R4 for a 32BIT build to the CMakeLists.txt file. This change is required for compatibility with FMS 2021.03 where the scope of the FMS compile-time macros has been changed from PUBLIC to PRIVATE. With this change, stochastic_physics will not inherit FMS compile-time flags and will need to be defined explicitly.

mlee03 commented 3 years ago

@pjpegion, I should have also added, this CMakeLists.txt change will not affect stochastic_physics compilation with the current UFS Weather Model develop branch.

pjpegion commented 3 years ago

In that case, I will merge it in now. Thanks.

mlee03 commented 3 years ago

Thank you!