Skip to content

Commit

Permalink
Set FV3_PRECISION to DOUBLE in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
climbfuji committed Apr 19, 2024
1 parent 7d252ad commit c597050
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ if(NOT UFS_APP MATCHES "^(ATM|ATMAERO|NG-GODAS|S2S)$")
endif()
ecbuild_info("Building with UFS application: ${UFS_APP}")
set(FV3_FORECAST_MODEL "UFS")
# Warning! The ufs-weather-model configuration below compiles the
# FV3 dycore in double precision. Set FV3_PRECISION accordingly.
# If the ufs-weather-model FV3 dycore precision is changed to
# something else (e.g. via -D32BIT=ON), remember to adjust
# FV3_PRECISION and check if this configuration exists in fv3-jedi.
set(FV3_PRECISION DOUBLE CACHE STRING "Precision of FV3 core (SINGLE, DOUBLE)")

# fv3-jedi linear model
# ---------------------
Expand Down

0 comments on commit c597050

Please sign in to comment.