From c40191286ebef31a6a38a2309d015e216753b344 Mon Sep 17 00:00:00 2001 From: "Jaymes.Kenyon" Date: Thu, 29 Apr 2021 17:01:23 +0000 Subject: [PATCH 1/7] Updating README to describe the steps for enabling 32-bit dynamics --- Externals.cfg | 19 ++++++++++--------- README.md | 10 ++++++++++ 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/Externals.cfg b/Externals.cfg index c8ca30cbb7..2136a7e7bd 100644 --- a/Externals.cfg +++ b/Externals.cfg @@ -1,11 +1,11 @@ -[regional_workflow] -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 = b2b7e959 -local_path = regional_workflow -required = True +#[regional_workflow] +#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 = b2b7e959 +#local_path = regional_workflow +#required = True [ufs_utils] protocol = git @@ -21,7 +21,8 @@ protocol = git repo_url = https://github.com/NOAA-GSL/ufs-weather-model # Specify either a branch name or a hash but not both. #branch = gsd/develop -hash = 77f56a4 +#hash = 77f56a4 +hash = f204bfd local_path = src/ufs_weather_model required = True diff --git a/README.md b/README.md index 495616cf67..131b4d26ba 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,16 @@ Building need be done only once if no source code is changed. source /etc/profile.d/modules.sh source env/build_jet_intel.env ``` +- If building for the 3-km North America domain, enable 32-bit dynamics, otherwise skip +this step. This selection is made at compile time by editing +``` + vi src/ufs_weather_model/CMakeLists.txt +``` + and then locating this line: +``` + set(32BIT OFF CACHE BOOL "Enable 32BIT (single precision arithmetic in dycore)") +``` + where "OFF" should be changed to "ON". - Build the code for UFS_UTILS, ufs_weather_model, and UPP only(from top level SRW App). ``` mkdir build From 69a625dc3d3e014178e9af8e6015339fd93a1357 Mon Sep 17 00:00:00 2001 From: Jaymes Kenyon Date: Thu, 29 Apr 2021 11:05:07 -0600 Subject: [PATCH 2/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 131b4d26ba..8e6f860a0a 100644 --- a/README.md +++ b/README.md @@ -95,11 +95,11 @@ this step. This selection is made at compile time by editing ``` vi src/ufs_weather_model/CMakeLists.txt ``` - and then locating this line: + and then locating this line: ``` set(32BIT OFF CACHE BOOL "Enable 32BIT (single precision arithmetic in dycore)") ``` - where "OFF" should be changed to "ON". + where "OFF" should be changed to "ON". - Build the code for UFS_UTILS, ufs_weather_model, and UPP only(from top level SRW App). ``` mkdir build From 68ee946a63a9739f7fb75bbdb861d71452401c65 Mon Sep 17 00:00:00 2001 From: Jaymes Kenyon Date: Thu, 29 Apr 2021 11:06:00 -0600 Subject: [PATCH 3/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e6f860a0a..eb799572ef 100644 --- a/README.md +++ b/README.md @@ -95,11 +95,11 @@ this step. This selection is made at compile time by editing ``` vi src/ufs_weather_model/CMakeLists.txt ``` - and then locating this line: + and then locating this line: ``` set(32BIT OFF CACHE BOOL "Enable 32BIT (single precision arithmetic in dycore)") ``` - where "OFF" should be changed to "ON". + where "OFF" should be changed to "ON". - Build the code for UFS_UTILS, ufs_weather_model, and UPP only(from top level SRW App). ``` mkdir build From 2a82cb429efaf9e1854bdc43f5c9ae1e7fda0686 Mon Sep 17 00:00:00 2001 From: "Jaymes.Kenyon" Date: Thu, 29 Apr 2021 17:13:41 +0000 Subject: [PATCH 4/7] Reverting Externals.cfg --- Externals.cfg | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Externals.cfg b/Externals.cfg index 2136a7e7bd..c8ca30cbb7 100644 --- a/Externals.cfg +++ b/Externals.cfg @@ -1,11 +1,11 @@ -#[regional_workflow] -#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 = b2b7e959 -#local_path = regional_workflow -#required = True +[regional_workflow] +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 = b2b7e959 +local_path = regional_workflow +required = True [ufs_utils] protocol = git @@ -21,8 +21,7 @@ protocol = git repo_url = https://github.com/NOAA-GSL/ufs-weather-model # Specify either a branch name or a hash but not both. #branch = gsd/develop -#hash = 77f56a4 -hash = f204bfd +hash = 77f56a4 local_path = src/ufs_weather_model required = True From 68581b8a18ba557e4916faac3f5a826d39d16c55 Mon Sep 17 00:00:00 2001 From: "Jaymes.Kenyon" Date: Fri, 30 Apr 2021 20:16:27 +0000 Subject: [PATCH 5/7] Provisional updates to Externals.cfg --- Externals.cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Externals.cfg b/Externals.cfg index 79ef73091b..0136895526 100644 --- a/Externals.cfg +++ b/Externals.cfg @@ -1,8 +1,8 @@ [regional_workflow] protocol = git -repo_url = https://github.com/NOAA-GSL/regional_workflow +repo_url = https://github.com/jaymes-kenyon/regional_workflow # provisional only # Specify either a branch name or a hash but not both. -branch = feature/RRFS_dev1 +branch = deploy_na3km # provisional only #hash = b2b7e959 local_path = regional_workflow required = True @@ -27,10 +27,10 @@ required = True [EMC_post] protocol = git -repo_url = https://github.com/NOAA-GSL/EMC_post +repo_url = https://github.com/NOAA-EMC/EMC_post # provisional only # Specify either a branch name or a hash but not both. -#branch = RRFS_dev -hash = 6ec6c91 +branch = develop # provisional only +#hash = 6ec6c91 local_path = src/EMC_post required = True From 9102246ff4362aa1f9e41d46e3ff028624a0cdab Mon Sep 17 00:00:00 2001 From: "Jaymes.Kenyon" Date: Fri, 30 Apr 2021 20:27:03 +0000 Subject: [PATCH 6/7] Fixing syntax in Externals.cfg --- Externals.cfg | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Externals.cfg b/Externals.cfg index 0136895526..92ea399928 100644 --- a/Externals.cfg +++ b/Externals.cfg @@ -1,8 +1,10 @@ [regional_workflow] protocol = git -repo_url = https://github.com/jaymes-kenyon/regional_workflow # provisional only +repo_url = https://github.com/jaymes-kenyon/regional_workflow +# provisional only # Specify either a branch name or a hash but not both. -branch = deploy_na3km # provisional only +branch = deploy_na3km +# provisional only #hash = b2b7e959 local_path = regional_workflow required = True @@ -27,9 +29,11 @@ required = True [EMC_post] protocol = git -repo_url = https://github.com/NOAA-EMC/EMC_post # provisional only +repo_url = https://github.com/NOAA-EMC/EMC_post +# provisional only # Specify either a branch name or a hash but not both. -branch = develop # provisional only +branch = develop +# provisional only #hash = 6ec6c91 local_path = src/EMC_post required = True From 02ff5a60b9b427a123bfd02993d3fe83c5c92446 Mon Sep 17 00:00:00 2001 From: "Jaymes.Kenyon" Date: Tue, 4 May 2021 22:01:27 +0000 Subject: [PATCH 7/7] Update to Externals.cfg --- Externals.cfg | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Externals.cfg b/Externals.cfg index 92ea399928..9a3ba1fea5 100644 --- a/Externals.cfg +++ b/Externals.cfg @@ -1,10 +1,8 @@ [regional_workflow] protocol = git -repo_url = https://github.com/jaymes-kenyon/regional_workflow -# provisional only +repo_url = https://github.com/NOAA-GSL/regional_workflow # Specify either a branch name or a hash but not both. -branch = deploy_na3km -# provisional only +branch = feature/RRFS_dev1 #hash = b2b7e959 local_path = regional_workflow required = True