Skip to content

Commit

Permalink
[develop] Update spack-stack on noaacloud (ufs-community#901)
Browse files Browse the repository at this point in the history
This PR updates the spack-stack used to build the SRW App to the latest spack-stack installed version. Changes also include using the new conda environment (workflow_tools), and updates the NCORES_PER_NODE variable to use the maximum compute cores for each Parallel Works Cloud Service Provider (PW CSPs).

---------

Co-authored-by: Parallel Works app-run user <Edward.Snyder@mgmt-edwardsnyder-gcpv2-00088.us-central1-c.c.noaa-users.internal>
Co-authored-by: Parallel Works app-run user <Edward.Snyder@mgmt-edwardsnyder-aws-00051.pw-noaa-us-east-1.pw.local>
  • Loading branch information
3 people authored Sep 15, 2023
1 parent c00ca73 commit 01fabc6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
6 changes: 2 additions & 4 deletions modulefiles/build_noaacloud_intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ the NOAA cloud using Intel-oneapi

whatis([===[Loads libraries needed for building the UFS SRW App on NOAA cloud ]===])

prepend_path("MODULEPATH", "/contrib/EPIC/spack-stack/envs/srw-develop-intel/install/modulefiles/Core")
prepend_path("MODULEPATH", "/contrib/EPIC/spack-stack/spack-stack-1.4.1/envs/unified-dev/install/modulefiles/Core")
prepend_path("MODULEPATH", "/apps/modules/modulefiles")
prepend_path("PATH", "/contrib/EPIC/bin")
load("intel/2021.3.0")
load("impi/2021.3.0")
load("stack-intel")
load("stack-intel-oneapi-mpi")
load("cmake/3.22.1")
load("cmake/3.23.1")

load("srw_common_spack")
24 changes: 12 additions & 12 deletions modulefiles/srw_common_spack.lua
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
load("jasper/2.0.25")
load("zlib/1.2.11")
load("jasper/2.0.32")
load("zlib/1.2.13")
load("libpng/1.6.37")
load("netcdf-c/4.7.4")
load("netcdf-fortran/4.5.4")
load("pio/2.5.3")
load("esmf/8.3.0b09")
load("fms/2022.01")
load("netcdf-c/4.9.2")
load("netcdf-fortran/4.6.0")
load("parallelio/2.5.9")
load("esmf/8.4.2")
load("fms/2023.01")

load("bacio/2.4.1")
load("crtm/2.3.0")
load("crtm/2.4.0")
load("g2/3.4.5")
load("g2tmpl/1.10.0")
load("g2tmpl/1.10.2")
load("ip/3.3.3")
load("sp/2.3.3")
load("w3emc/2.9.2")

load("gftl-shared/1.5.0")
load("yafyaml/0.5.1")
load("mapl/2.22.0-esmf-8.3.0b09-esmf-8.3.0")
load("mapl/2.35.2-esmf-8.4.2")

load("nemsio/2.5.4")
load("nemsio/2.5.2")
load("sfcio/1.4.1")
load("sigio/2.3.2")
load("w3nco/2.4.1")
load("wrf_io/1.2.0")
load("wrf-io/1.2.0")

load("wgrib2/2.0.8")
2 changes: 1 addition & 1 deletion modulefiles/wflow_noaacloud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ prepend_path("PATH","/contrib/EPIC/bin")

if mode() == "load" then
LmodMsgRaw([===[Please do the following to activate conda:
> conda activate regional_workflow
> conda activate workflow_tools
]===])
end
2 changes: 1 addition & 1 deletion ush/machine/noaacloud.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
platform:
WORKFLOW_MANAGER: rocoto
NCORES_PER_NODE: 36
NCORES_PER_NODE: '{{ 44 if (user.ACCOUNT == "cz-epic") else 36 if (user.ACCOUNT == "ca-epic") else 28 }}'
SCHED: slurm
TEST_CCPA_OBS_DIR: /contrib/EPIC/UFS_SRW_data/develop/obs_data/ccpa/proc
TEST_MRMS_OBS_DIR: /contrib/EPIC/UFS_SRW_data/develop/obs_data/mrms/proc
Expand Down

0 comments on commit 01fabc6

Please sign in to comment.