diff --git a/bundle/CMakeLists.txt b/bundle/CMakeLists.txt index 9493ac0c8..ab6f7c7e2 100644 --- a/bundle/CMakeLists.txt +++ b/bundle/CMakeLists.txt @@ -36,6 +36,19 @@ option(BUILD_GDASBUNDLE "Build GDAS Bundle" ON) option(CLONE_JCSDADATA "Clone JCSDA test data repositories" OFF) option(WORKFLOW_TESTS "Include global-workflow dependent tests" OFF) +# Depend path for non-ecbuild packages +set(DEPEND_LIB_ROOT ${CMAKE_CURRENT_BINARY_DIR}/Depends) +list(APPEND CMAKE_PREFIX_PATH ${DEPEND_LIB_ROOT}) + +# Library path for non-ecbuild packages +link_directories(${CMAKE_CURRENT_BINARY_DIR}/lib) + +include( GNUInstallDirs ) +if(APPLE) + list( APPEND CMAKE_INSTALL_RPATH $ENV{llvm_openmp_ROOT}/lib ) +endif() +list( APPEND CMAKE_INSTALL_RPATH ${CMAKE_CURRENT_BINARY_DIR}/fv3 ) + # Initialize bundle # ----------------- ecbuild_bundle_initialize() @@ -85,7 +98,8 @@ if(BUILD_GDASBUNDLE) ecbuild_bundle( PROJECT ufo SOURCE "../sorc/ufo" ) # FMS and FV3 dynamical core - ecbuild_bundle( PROJECT fms SOURCE "../sorc/fms" ) + #ecbuild_bundle( PROJECT fms SOURCE "../sorc/fms" ) + include(fv3-interface.cmake) ecbuild_bundle( PROJECT fv3 SOURCE "../sorc/fv3" ) # fv3-jedi and associated repositories @@ -100,7 +114,7 @@ if(BUILD_GDASBUNDLE) if ( BUILD_ICEPACK ) ecbuild_bundle( PROJECT icepack SOURCE "../sorc/icepack" ) endif() - ecbuild_bundle( PROJECT mom6 SOURCE "../sorc/mom6" ) + #ecbuild_bundle( PROJECT mom6 SOURCE "../sorc/mom6" ) ecbuild_bundle( PROJECT soca SOURCE "../sorc/soca" ) # Build JEDI/DA or other peripherals diff --git a/modulefiles/GDAS/gaea.intel.lua b/modulefiles/GDAS/gaea.intel.lua index e2da9aea6..85d779669 100644 --- a/modulefiles/GDAS/gaea.intel.lua +++ b/modulefiles/GDAS/gaea.intel.lua @@ -43,6 +43,7 @@ load("fftw/3.3.10") load("fckit/0.11.0") load("fiat/1.2.0") load("ectrans/1.2.0") +load("fms/2023.04") load("atlas/0.35.1") load("sp/2.5.0") load("gsl-lite/0.37.0") diff --git a/modulefiles/GDAS/hera.intel.lua b/modulefiles/GDAS/hera.intel.lua index 230498252..0d5c080c3 100644 --- a/modulefiles/GDAS/hera.intel.lua +++ b/modulefiles/GDAS/hera.intel.lua @@ -43,6 +43,7 @@ load("fftw/3.3.10") load("fckit/0.11.0") load("fiat/1.2.0") --load("ectrans/1.2.0") +load("fms/2023.04") load("atlas/0.35.1") load("sp/2.5.0") load("gsl-lite/0.37.0") diff --git a/modulefiles/GDAS/hercules.intel.lua b/modulefiles/GDAS/hercules.intel.lua index b5d5f6cce..c59b26482 100644 --- a/modulefiles/GDAS/hercules.intel.lua +++ b/modulefiles/GDAS/hercules.intel.lua @@ -40,6 +40,7 @@ load("fftw/3.3.10") load("fckit/0.11.0") load("fiat/1.2.0") load("ectrans/1.2.0") +load("fms/2023.04") load("atlas/0.35.1") load("sp/2.5.0") load("gsl-lite/0.37.0") diff --git a/modulefiles/GDAS/noaacloud.intel.lua b/modulefiles/GDAS/noaacloud.intel.lua index 2fcfb4af4..dec012d26 100644 --- a/modulefiles/GDAS/noaacloud.intel.lua +++ b/modulefiles/GDAS/noaacloud.intel.lua @@ -41,6 +41,7 @@ load("fftw/3.3.10") load("fckit/0.11.0") load("fiat/1.2.0") load("ectrans/1.2.0") +load("fms/2023.04") load("atlas/0.35.1") load("sp/2.5.0") load("gsl-lite/0.37.0") diff --git a/modulefiles/GDAS/orion.intel.lua b/modulefiles/GDAS/orion.intel.lua index 0177e9302..e6692ceb1 100644 --- a/modulefiles/GDAS/orion.intel.lua +++ b/modulefiles/GDAS/orion.intel.lua @@ -40,6 +40,7 @@ load("fftw/3.3.10") load("fckit/0.11.0") load("fiat/1.2.0") load("ectrans/1.2.0") +load("fms/2023.04") load("atlas/0.35.1") load("sp/2.5.0") load("gsl-lite/0.37.0") diff --git a/sorc/fv3 b/sorc/fv3 index 47b766295..ab25dc09d 160000 --- a/sorc/fv3 +++ b/sorc/fv3 @@ -1 +1 @@ -Subproject commit 47b766295682df2e53b59d0dd07b5c511b84dd67 +Subproject commit ab25dc09d955271f34ca6a3fa83af1093c85d9f7 diff --git a/sorc/fv3-jedi b/sorc/fv3-jedi index b5dd092e2..00173d7b0 160000 --- a/sorc/fv3-jedi +++ b/sorc/fv3-jedi @@ -1 +1 @@ -Subproject commit b5dd092e22a1ec8efdddc2bfbd58628b695ad1c4 +Subproject commit 00173d7b0162c3c0d2c583032b8dbd4a026e5220 diff --git a/sorc/fv3-jedi-lm b/sorc/fv3-jedi-lm index af67095ee..a6e97d76e 160000 --- a/sorc/fv3-jedi-lm +++ b/sorc/fv3-jedi-lm @@ -1 +1 @@ -Subproject commit af67095ee87ffb472218aa386e34c6bfe64ca424 +Subproject commit a6e97d76ed7c0b2a27cf97512893a93d7e2b44bc diff --git a/sorc/ioda b/sorc/ioda index d4dc2cdaa..b8281e5a9 160000 --- a/sorc/ioda +++ b/sorc/ioda @@ -1 +1 @@ -Subproject commit d4dc2cdaa944f2a8220fa5207968f0dab6c8b183 +Subproject commit b8281e5a9e04c07bd871a275eacd4ecd697b9434 diff --git a/sorc/iodaconv b/sorc/iodaconv index 7fb44969a..3c437f464 160000 --- a/sorc/iodaconv +++ b/sorc/iodaconv @@ -1 +1 @@ -Subproject commit 7fb44969a419348ba07abad1544b443212fc8d6c +Subproject commit 3c437f464572ce8d5ab076b4ad713f7f7f24dd04 diff --git a/sorc/oops b/sorc/oops index db0fc43c7..b9c322afc 160000 --- a/sorc/oops +++ b/sorc/oops @@ -1 +1 @@ -Subproject commit db0fc43c70f4b26b7e77782e8270a754d2a2aed7 +Subproject commit b9c322afc959c189f6c256ea74da91e8cbd925e3 diff --git a/sorc/saber b/sorc/saber index a2c8e1c78..bf5339c5f 160000 --- a/sorc/saber +++ b/sorc/saber @@ -1 +1 @@ -Subproject commit a2c8e1c78faf045613b7a5c15627e31fe947dc9f +Subproject commit bf5339c5ffe1828efab728e89bbc545ac22ddc88 diff --git a/sorc/soca b/sorc/soca index 98e2be9f8..92519ab72 160000 --- a/sorc/soca +++ b/sorc/soca @@ -1 +1 @@ -Subproject commit 98e2be9f83fe45453a34a24b6420b21a7cb6e0c5 +Subproject commit 92519ab72b89a4c3b802501e71b7b66349fc8cc8 diff --git a/sorc/ufo b/sorc/ufo index d90c514fd..cd6650500 160000 --- a/sorc/ufo +++ b/sorc/ufo @@ -1 +1 @@ -Subproject commit d90c514fdc1d1e5cd7a2a88384c0e634da78987f +Subproject commit cd66505007b1559d79cb158bd6dc018a3943c1e7 diff --git a/sorc/vader b/sorc/vader index 8210eccf7..c4df3182d 160000 --- a/sorc/vader +++ b/sorc/vader @@ -1 +1 @@ -Subproject commit 8210eccf77b80f51cce470ecdd5dd4cc2ec646bc +Subproject commit c4df3182de5c050b430250b5beae198af6eeb717