Skip to content

Commit

Permalink
Libraries update
Browse files Browse the repository at this point in the history
- ESMA_cmake     3.45.0 -> 3.55.0
- gFTL           1.11.0 -> 1.14.0
- gFTL-shared    1.8.0 -> 1.9.0
- udunits        added 2.2.28
- MAPL           2.46.3 -> 2.51.2
  • Loading branch information
DusanJovic-NOAA committed Dec 27, 2024
1 parent cb6d5fc commit 24a3c88
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 10 deletions.
30 changes: 24 additions & 6 deletions libs/ufslibs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ ExternalProject_Add(ecbuild
##
ExternalProject_Add(esma_cmake
URL ${downloads_prefix}/esma_cmake.tar.gz
URL_HASH MD5=042ed33c7f2621cd021cfcf813b2e24b
URL_HASH MD5=3921ba13701606cc0e55dc046508f66d
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_directory <SOURCE_DIR> ${install_prefix}/esma_cmake
Expand All @@ -537,7 +537,7 @@ ExternalProject_Add(esma_cmake
##
ExternalProject_Add(gftl
URL ${downloads_prefix}/gftl.tar.gz
URL_HASH MD5=e869943e27d5e39db2ffacd960ae3e77
URL_HASH MD5=2f29353658bc8a40cdd453b7870c06ab
BUILD_IN_SOURCE OFF
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${install_prefix}/gftl
LOG_DOWNLOAD ON
Expand All @@ -551,7 +551,7 @@ ExternalProject_Add(gftl
##
ExternalProject_Add(gftl_shared
URL ${downloads_prefix}/gftl_shared.tar.gz
URL_HASH MD5=7d733037a2a2b62c4221ab924c30915c
URL_HASH MD5=4f9413fa40962ea17b37706296c0263e
BUILD_IN_SOURCE OFF
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${install_prefix}/gftl_shared
-DCMAKE_PREFIX_PATH=${install_prefix}/gftl
Expand All @@ -563,6 +563,24 @@ ExternalProject_Add(gftl_shared
ExternalProject_Add_StepDependencies(gftl_shared build gftl)


##
## udunits
##
ExternalProject_Add(udunits
URL ${downloads_prefix}/udunits.tar.gz
URL_HASH MD5=58259d94f766c13b5b0cf1aed92ebbe3
BUILD_IN_SOURCE ON
CONFIGURE_COMMAND env "CFLAGS=-fPIC"
./configure --prefix=${install_prefix}/udunits
--libdir=${install_prefix}/udunits/lib
--disable-shared
LOG_DOWNLOAD ON
LOG_CONFIGURE ON
LOG_BUILD ON
LOG_INSTALL ON
)


##
## mapl
##
Expand Down Expand Up @@ -591,13 +609,13 @@ message(STATUS "Set MAPL MPI_STACK to ${MPITYPE}")

ExternalProject_Add(mapl
URL ${downloads_prefix}/mapl.tar.gz
URL_HASH MD5=8ddf81796cb51a5d48c6989fdb639b9d
URL_HASH MD5=217e13f18baa51b8063288086b3bf989
BUILD_IN_SOURCE OFF
LIST_SEPARATOR ,
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${install_prefix}/mapl
-DCMAKE_C_COMPILER=${MPI_C_COMPILER}
-DCMAKE_Fortran_COMPILER=${MPI_Fortran_COMPILER}
-DCMAKE_PREFIX_PATH=${install_prefix}/ecbuild
-DCMAKE_PREFIX_PATH=${install_prefix}/ecbuild,${install_prefix}/udunits
-DCMAKE_MODULE_PATH=${install_prefix}/esma_cmake,${install_prefix}/ecbuild
-DNetCDF_ROOT=${install_prefix}/netcdf
-DNetCDF_Fortran_EXTRA_LIBRARIES=-L${install_prefix}/netcdf/lib,-lnetcdf,-L${install_prefix}/hdf5/lib,-lhdf5_hl,-lhdf5,-L${install_prefix}/zstd/lib,-lzstd,-L${install_prefix}/zlib/lib,-lz,-ldl,-lm
Expand All @@ -619,7 +637,7 @@ ExternalProject_Add(mapl
LOG_BUILD ON
LOG_INSTALL ON
)
ExternalProject_Add_StepDependencies(mapl build esmf ecbuild esma_cmake gftl gftl_shared)
ExternalProject_Add_StepDependencies(mapl build esmf ecbuild esma_cmake gftl gftl_shared udunits)

##
## scotch
Expand Down
10 changes: 6 additions & 4 deletions libs/ufslibs/fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ download_and_check_md5sum ab162725c04899b8295bd74ed184debf https://github.com/N
download_and_check_md5sum 95a040cdfb0426448f1aab38b0c7601b https://github.com/JCSDA/crtm/archive/refs/tags/v2.4.0_emc.3.tar.gz crtm.tar.gz

download_and_check_md5sum 7a7b4138e0c7e68abcd64e56002cbfcf https://github.com/ecmwf/ecbuild/archive/refs/tags/3.7.2.tar.gz ecbuild.tar.gz
download_and_check_md5sum 042ed33c7f2621cd021cfcf813b2e24b https://github.com/GEOS-ESM/ESMA_cmake/archive/refs/tags/v3.45.0.tar.gz esma_cmake.tar.gz
download_and_check_md5sum e869943e27d5e39db2ffacd960ae3e77 https://github.com/Goddard-Fortran-Ecosystem/gFTL/archive/refs/tags/v1.11.0.tar.gz gftl.tar.gz
download_and_check_md5sum 7d733037a2a2b62c4221ab924c30915c https://github.com/Goddard-Fortran-Ecosystem/gFTL-shared/archive/refs/tags/v1.8.0.tar.gz gftl_shared.tar.gz
download_and_check_md5sum 8ddf81796cb51a5d48c6989fdb639b9d https://github.com/GEOS-ESM/MAPL/archive/refs/tags/v2.46.3.tar.gz mapl.tar.gz
download_and_check_md5sum 3921ba13701606cc0e55dc046508f66d https://github.com/GEOS-ESM/ESMA_cmake/archive/refs/tags/v3.55.0.tar.gz esma_cmake.tar.gz
download_and_check_md5sum 2f29353658bc8a40cdd453b7870c06ab https://github.com/Goddard-Fortran-Ecosystem/gFTL/archive/refs/tags/v1.14.0.tar.gz gftl.tar.gz
download_and_check_md5sum 4f9413fa40962ea17b37706296c0263e https://github.com/Goddard-Fortran-Ecosystem/gFTL-shared/archive/refs/tags/v1.9.0.tar.gz gftl_shared.tar.gz
download_and_check_md5sum 58259d94f766c13b5b0cf1aed92ebbe3 https://downloads.unidata.ucar.edu/udunits/2.2.28/udunits-2.2.28.tar.gz udunits.tar.gz
download_and_check_md5sum 217e13f18baa51b8063288086b3bf989 https://github.com/GEOS-ESM/MAPL/archive/refs/tags/v2.51.2.tar.gz mapl.tar.gz

download_and_check_md5sum da80cae85216f666fc31c45558fee832 https://gitlab.inria.fr/scotch/scotch/-/archive/v7.0.4/scotch-v7.0.4.tar.gz scotch.tar.gz

0 comments on commit 24a3c88

Please sign in to comment.