From 8565e6da195a8cd58d48d4e125d414a59fe622e8 Mon Sep 17 00:00:00 2001 From: Ming Hu Date: Wed, 9 Aug 2023 14:50:35 -0600 Subject: [PATCH] Update hash for using 32-bit CCPP for RRFS, including: (#238) 1) model code 2) rrfs_utl 3) compiling option --- Externals.cfg | 6 +++--- src/CMakeLists.txt | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Externals.cfg b/Externals.cfg index 495cf49a6a..ee84eeb920 100644 --- a/Externals.cfg +++ b/Externals.cfg @@ -3,7 +3,7 @@ protocol = git repo_url = https://github.com/NOAA-GSL/regional_workflow # Specify either a branch name or a hash but not both. #branch = feature/RRFS_dev1 -hash = 2848f24 +hash = 5996ac7 local_path = regional_workflow required = True @@ -21,7 +21,7 @@ protocol = git repo_url = https://github.com/ufs-community/ufs-weather-model.git # Specify either a branch name or a hash but not both. #branch = develop -hash = ed7fc88 +hash = f1f0180 local_path = src/ufs_weather_model required = True @@ -57,7 +57,7 @@ protocol = git repo_url = https://github.com/NOAA-GSL/rrfs_utl.git # Specify either a branch name or a hash but not both. # branch = develop -hash = 0000349 +hash = ecef5a2 local_path = src/rrfs_utl required = True diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 08bc4f0b4a..dad662d60a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -22,6 +22,8 @@ ExternalProject_Add(ufs_weather_model "-DCMAKE_CXX_COMPILER=${MPI_CXX_COMPILER}" "-DCMAKE_Fortran_COMPILER=${MPI_Fortran_COMPILER}" "-D32BIT=ON" + "-DCCPP_32BIT=ON" + "-DFASTER=ON" "-DAPP=ATM" "-DNETCDF_DIR=$ENV{NETCDF}" INSTALL_COMMAND mkdir -p ${CMAKE_INSTALL_PREFIX}/bin && cp ${CMAKE_CURRENT_BINARY_DIR}/ufs_weather_model/src/ufs_weather_model-build/ufs_model ${CMAKE_INSTALL_PREFIX}/bin/