Skip to content

Commit

Permalink
[develop] Update hashes of UFS_UTILS, ufs-weather-model, and UPP (#354)
Browse files Browse the repository at this point in the history
* update hashes and module list

* update docs

* update hash of ufs weather model

* remove emc_exec_dir

* back crtm to 2.3.0

* back g2tmpl to 1.10.0

* edit comment for bin-dir
  • Loading branch information
chan-hoo authored Sep 20, 2022
1 parent f6a4ac6 commit b3eb96a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
6 changes: 3 additions & 3 deletions Externals.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ protocol = git
repo_url = https://github.com/ufs-community/UFS_UTILS
# Specify either a branch name or a hash but not both.
#branch = develop
hash = c5cfcf4
hash = ca9bed8
local_path = sorc/UFS_UTILS
required = True

Expand All @@ -12,7 +12,7 @@ protocol = git
repo_url = https://github.com/ufs-community/ufs-weather-model
# Specify either a branch name or a hash but not both.
#branch = develop
hash = 65cf401
hash = 52072c5
local_path = sorc/ufs-weather-model
required = True

Expand All @@ -21,7 +21,7 @@ protocol = git
repo_url = https://github.com/NOAA-EMC/UPP
# Specify either a branch name or a hash but not both.
#branch = develop
hash = 8767929
hash = a644aaa
local_path = sorc/UPP
required = True

Expand Down
2 changes: 1 addition & 1 deletion devbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ OPTIONS
--install-dir=INSTALL_DIR
installation prefix
--bin-dir=BIN_DIR
installation binary directory name ("bin" or "exec")
installation binary directory name ("bin" by default; any name is available)
--build-type=BUILD_TYPE
build type; defaults to RELEASE
(e.g. DEBUG | RELEASE | RELWITHDEBINFO)
Expand Down
2 changes: 1 addition & 1 deletion docs/UsersGuide/source/ContributorsGuide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Scientists from across multiple labs and organizations have volunteered to revie
+------------------+------------------------------------------------+-----------------------------------------------------------------------------------+
| **Organization** | **Reviewers** | **Areas of Expertise** |
+==================+================================================+===================================================================================+
| EMC | Chan-Hoo Jeon (@chan-hoo) | Workflow, NCO requirements, and operational platform testing |
| EMC | Chan-Hoo Jeon (@chan-hoo) | Workflow, Operational platform testing (WCOSS/NCO), and Air quality modeling (Online-CMAQ) |
| +------------------------------------------------+-----------------------------------------------------------------------------------+
| | Ben Blake (@BenjaminBlake-NOAA) | Output visualization, Rocoto |
| +------------------------------------------------+-----------------------------------------------------------------------------------+
Expand Down
8 changes: 4 additions & 4 deletions modulefiles/srw_common
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module load g2/3.4.5
module load g2tmpl/1.10.0
module load ip/3.3.3
module load sp/2.3.3
module load w3nco/2.4.1
module load w3emc/2.9.2

module load-any gftl-shared/v1.5.0 gftl-shared/1.5.0
module load-any yafyaml/v0.5.1 yafyaml/0.5.1
Expand All @@ -26,8 +26,8 @@ module load-any mapl/2.22.0-esmf-8.3.0b09 mapl/2.11.0-esmf-8.2.0
module load nemsio/2.5.4
module load sfcio/1.4.1
module load sigio/2.3.2
module load wgrib2/2.0.8

module load w3emc/2.9.2
module load w3nco/2.4.1
module load wrf_io/1.2.0

module load ncio/1.1.2
module load wgrib2/2.0.8
8 changes: 2 additions & 6 deletions sorc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
include(ExternalProject)

# Hack to turn on EMC style bin_dir
if(CMAKE_INSTALL_BINDIR STREQUAL "exec")
set(EMC_EXEC_DIR on)
endif()

# Options
option(BUILD_UFS "Build UFS weather model" ON)
option(BUILD_UFS_UTILS "Build UFS utilities" ON)
Expand All @@ -24,14 +19,15 @@ if(BUILD_UFS_UTILS)

list(APPEND UFS_UTILS_ARGS
"-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}"
"-DCMAKE_INSTALL_BINDIR=${CMAKE_INSTALL_BINDIR}"
"-DBUILD_TESTING=OFF"
)

ExternalProject_Add(UFS_UTILS
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/UFS_UTILS
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/UFS_UTILS
INSTALL_DIR ${CMAKE_INSTALL_PREFIX}
CMAKE_ARGS ${UFS_UTILS_ARGS} -DEMC_EXEC_DIR=${EMC_EXEC_DIR}
CMAKE_ARGS ${UFS_UTILS_ARGS}
BUILD_ALWAYS TRUE
STEP_TARGETS build
)
Expand Down

0 comments on commit b3eb96a

Please sign in to comment.