Skip to content

Commit

Permalink
Add NOAA cloud platforms to SRW (#221)
Browse files Browse the repository at this point in the history
* updates for noaacloud

* working version

* pointing to noaa-epic for testing

* changes for noaacloud

* switched to load-any
  • Loading branch information
mark-a-potts authored May 13, 2022
1 parent 4b9b0ae commit 28e5203
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Externals.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[regional_workflow]
protocol = git
repo_url = https://github.com/ufs-community/regional_workflow
repo_url = https://github.com/NOAA-EPIC/regional_workflow
# Specify either a branch name or a hash but not both.
#branch = develop
hash = ef63cc0
Expand Down
21 changes: 21 additions & 0 deletions modulefiles/build_noaacloud_intel
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#%Module

proc ModulesHelp { } {
puts stderr "This module loads libraries for building SRW on"
puts stderr "the NOAA cloud using Intel-oneapi"
}

module purge
module use /contrib/spack-stack/apps/srw-app-test/modulefiles/Core
module load stack-intel
module load stack-intel-oneapi-mpi
module load cmake/3.22.1

module use /apps/modules/modulefiles
module load rocoto

module load srw_common
module load esmf/8.2.0

module use /contrib/GST/miniconda3/modulefiles
module load miniconda3/4.10.3
15 changes: 8 additions & 7 deletions modulefiles/srw_common
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

module load jasper/2.0.25
module load zlib/1.2.11
module load png/1.6.35
module load-any png/1.6.35 libpng/1.6.35

module load hdf5/1.10.6
module load netcdf/4.7.4
module load pio/2.5.2
module load esmf/8_2_0
module load-any netcdf/4.7.4 netcdf-c/4.7.4
module load-any netcdf/4.7.4 netcdf-fortran/4.5.4
module load-any pio/2.5.2 parallelio/2.5.2
module load-any esmf/8_2_0 esmf/8.2.0
module load fms/2021.03

module load bacio/2.4.1
Expand All @@ -19,9 +20,9 @@ module load sp/2.3.3
module load w3nco/2.4.1
module load upp/10.0.10

module load gftl-shared/v1.3.3
module load yafyaml/v0.5.1
module load mapl/2.11.0-esmf-8_2_0
module load-any gftl-shared/v1.3.3 gftl-shared/1.3.3
module load-any yafyaml/v0.5.1 yafyaml/0.5.1
module load-any mapl/2.11.0-esmf-8_2_0 mapl/2.11.0-esmf-8.2.0

module load gfsio/1.4.1
module load landsfcutil/2.4.1
Expand Down
21 changes: 21 additions & 0 deletions modulefiles/wflow_noaacloud
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#%Module

proc ModulesHelp { } {
put stderr "This module loads python environement for running SRW on"
put stderr "the NOAA cloud"
}

module-whatis "Loads libraries needed for running SRW on NOAA cloud"


module use /apps/modules/modulefiles
module load rocoto
module use /contrib/GST/miniconda3/modulefiles
module load miniconda3/4.10.3

if { [module-info mode load] } {
puts stderr "Please do the following to activate conda:
> conda activate regional_workflow"
}


0 comments on commit 28e5203

Please sign in to comment.