Skip to content

Commit

Permalink
Update libraries
Browse files Browse the repository at this point in the history
  crtm/2.4.0
  g2tmpl/1.10.2
  ip/4.3.0
  w3emc/2.10.0

  openmpi-4.1.5
  • Loading branch information
DusanJovic-NOAA committed Oct 19, 2023
1 parent ebd4253 commit 10169ef
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export ESMFMKFILE=${ufslibs_install_prefix}/esmf/lib/esmf.mk
export FMS_ROOT=${ufslibs_install_prefix}/fms

export bacio_ROOT=${ufslibs_install_prefix}/NCEPLIBS-bacio
export crtm_ROOT=${ufslibs_install_prefix}/EMC_crtm
export crtm_ROOT=${ufslibs_install_prefix}/crtm
export g2_ROOT=${ufslibs_install_prefix}/NCEPLIBS-g2
export g2tmpl_ROOT=${ufslibs_install_prefix}/NCEPLIBS-g2tmpl
export gfsio_ROOT=${ufslibs_install_prefix}/NCEPLIBS-gfsio
Expand Down Expand Up @@ -247,3 +247,4 @@ printf 'done [%4d sec]\n' ${SECONDS}
fi

echo "Done!"

6 changes: 3 additions & 3 deletions libs/mpilibs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ MPICH_MD5SUM=2d680f620583beadd7a08acdcfe355e6
# MPICH=mpich-4.1.1
# MPICH_MD5SUM=bd0ecf550e4a3e54128f377b65743370

OPENMPI=openmpi-4.1.2
OPENMPI_MD5SUM=2f86dc37b7a00b96ca964637ee68826e
OPENMPI=openmpi-4.1.5
OPENMPI_MD5SUM=2593008bea4bc721b9f304428abbf94b

[ $BUILD_MPICH == yes ] && download_and_check_md5sum ${MPICH_MD5SUM} https://www.mpich.org/static/downloads/${MPICH:6}/${MPICH}.tar.gz
[ $BUILD_OPENMPI == yes ] && download_and_check_md5sum ${OPENMPI_MD5SUM} https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.2.tar.gz
[ $BUILD_OPENMPI == yes ] && download_and_check_md5sum ${OPENMPI_MD5SUM} https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.5.tar.gz

#
# print compiler version
Expand Down
27 changes: 21 additions & 6 deletions libs/ufslibs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -384,21 +384,19 @@ ExternalProject_Add_StepDependencies(esmf build netcdf_fortran pio)
##
## NCEPLIBS
##
set(EMC_crtm_tag v2.3.0)
set(NCEPLIBS-bacio_tag v2.4.1)
set(NCEPLIBS-g2_tag v3.4.5)
set(NCEPLIBS-g2tmpl_tag v1.10.0)
set(NCEPLIBS-g2tmpl_tag v1.10.2)
set(NCEPLIBS-gfsio_tag v1.4.1)
set(NCEPLIBS-ip_tag v3.3.3)
set(NCEPLIBS-ip_tag v4.3.0)
set(NCEPLIBS-nemsio_tag v2.5.4)
set(NCEPLIBS-sfcio_tag v1.4.1)
set(NCEPLIBS-sigio_tag v2.3.2)
set(NCEPLIBS-sp_tag v2.3.3)
set(NCEPLIBS-w3emc_tag v2.9.2)
set(NCEPLIBS-w3emc_tag v2.10.0)
set(NCEPLIBS-w3nco_tag v2.4.1)

foreach(lib_name
EMC_crtm
NCEPLIBS-bacio
NCEPLIBS-g2
NCEPLIBS-g2tmpl
Expand All @@ -422,7 +420,6 @@ foreach(lib_name
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_PREFIX_PATH=${install_prefix}/netcdf,${install_prefix}/jpeg,${install_prefix}/jasper,${install_prefix}/libpng,${install_prefix}/zlib
-Dbacio_ROOT=${install_prefix}/NCEPLIBS-bacio
-Dcrtm_ROOT=${install_prefix}/EMC_crtm
-Dg2_ROOT=${install_prefix}/NCEPLIBS-g2
-Dg2tmpl_ROOT=${install_prefix}/NCEPLIBS-g2tmpl
-Dgfsio_ROOT=${install_prefix}/NCEPLIBS-gfsio
Expand All @@ -433,6 +430,7 @@ foreach(lib_name
-Dsp_ROOT=${install_prefix}/NCEPLIBS-sp
-Dw3nco_ROOT=${install_prefix}/NCEPLIBS-w3nco
-Dw3emc_ROOT=${install_prefix}/NCEPLIBS-w3emc
-DBUILD_WITH_BUFR=OFF
LOG_DOWNLOAD ON
LOG_CONFIGURE ON
LOG_BUILD ON
Expand All @@ -446,6 +444,23 @@ ExternalProject_Add_StepDependencies(NCEPLIBS-ip build NCEPLIBS-sp)
ExternalProject_Add_StepDependencies(NCEPLIBS-nemsio build NCEPLIBS-bacio NCEPLIBS-w3emc)
ExternalProject_Add_StepDependencies(NCEPLIBS-w3emc build NCEPLIBS-bacio)

##
## crtm
##
ExternalProject_Add(crtm
URL https://github.com/JCSDA/crtm/archive/refs/tags/v2.4.0_emc.tar.gz
URL_HASH MD5=fc7506c73d042699450c3114ea449ea4
BUILD_IN_SOURCE OFF
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${install_prefix}/crtm
-DCMAKE_INSTALL_LIBDIR=lib
-DNetCDF_ROOT=${install_prefix}/netcdf
LOG_DOWNLOAD ON
LOG_CONFIGURE ON
LOG_BUILD ON
LOG_INSTALL ON
)
ExternalProject_Add_StepDependencies(crtm build netcdf_fortran)

##
## ecbuild
##
Expand Down

0 comments on commit 10169ef

Please sign in to comment.