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

Set FV3_PRECISION to DOUBLE in CMakeLists.txt #60

Merged
merged 3 commits into from
Apr 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ 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 and fv3-jedi-linearmodel.
set(FV3_PRECISION DOUBLE CACHE STRING "Precision of FV3 core (SINGLE, DOUBLE)")

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