Skip to content

Commit

Permalink
Release/public v2 gaea update (#352)
Browse files Browse the repository at this point in the history
* lmod-setup.csh update for Gaea: new Lmod/8.7.12 installed under role.epic account

Add initialization of the Lmod installed on Gaea under the role.epic account, and maintained by EPIC, in /lustre/f2/dev/role.epic/contrib/ space

* lmod-setup.sh update for Gaea: new Lmod/8.7.12 installed under role.epic account

Added initialization of the Lmod installed on Gaea under the role.epic account, and maintained by EPIC, in /lustre/f2/dev/role.epic/contrib/ space

* build_gaea_intel update: new miniconda3 and hpc-stack 

Updated paths for the modules needed to build the SRW, 
build following the update of the Lmod/8.7.12. All of the packages were installed under role.epic account in /lustre/f2/dev/role.epic/contrib/ space.

* wflow_gaea: updated paths of the modules

Updated paths for the modules needed to run the workflow for the SRW, 
build following the update of the Lmod/8.7.12. All of the packages were installed under role.epic account in /lustre/f2/dev/role.epic/contrib/ space.
  • Loading branch information
natalie-perlin committed Sep 28, 2022
1 parent b643315 commit d851f61
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 15 deletions.
7 changes: 5 additions & 2 deletions etc/lmod-setup.csh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ else if ( "$L_MACHINE" == singularity ) then
module purge

else if ( "$L_MACHINE" == gaea ) then
set ENV="/lustre/f2/pdata/esrl/gsd/contrib/lua-5.1.4.9/lmod/lmod/init/csh"
source $ENV

export LMOD_SYSTEM_DEFAULT_MODULES=modules/3.2.11.4
export BASH_ENV=/lustre/f2/dev/role.epic/contrib/apps/lmod/lmod/init/profile
source $BASH_ENV
module --initial_load restore

else if ( "$L_MACHINE" == odin ) then
module unload modules
Expand Down
5 changes: 3 additions & 2 deletions etc/lmod-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ elif [ "$L_MACHINE" = singularity ]; then
module purge

elif [ "$L_MACHINE" = gaea ]; then
export BASH_ENV="/lustre/f2/pdata/esrl/gsd/contrib/lua-5.1.4.9/lmod/lmod/init/bash"
export LMOD_SYSTEM_DEFAULT_MODULES=modules/3.2.11.4
export BASH_ENV=/lustre/f2/dev/role.epic/contrib/apps/lmod/lmod/init/profile
source $BASH_ENV
module purge
module --initial_load restore

elif [ "$L_MACHINE" = odin ]; then
module unload modules
Expand Down
17 changes: 11 additions & 6 deletions modulefiles/build_gaea_intel
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,25 @@

proc ModulesHelp { } {
puts stderr "This module loads libraries for building SRW on"
puts stderr "the NOAA RDHPC machine Gaea using Intel-18.0.6.288"
puts stderr "the NOAA RDHPC machine Gaea using Intel-2021.3.0"
}

module-whatis "Loads libraries needed for building SRW on Gaea"

module use /lustre/f2/pdata/ncep_shared/hpc-stack/modulefiles/stack
module load hpc/1.2.0 hpc-intel/18.0.6.288 hpc-cray-mpich/7.7.11
module use /lustre/f2/dev/role.epic/contrib/hpc-stack/intel-2021.3.0/modulefiles/stack
module load hpc/1.2.0
module load intel/2021.3.0
module load hpc-intel/2021.3.0
module load hpc-cray-mpich/7.7.11

module load srw_common
module load libpng/1.6.37

module use /lustre/f2/pdata/esrl/gsd/contrib/modulefiles
module use /lustre/f2/dev/role.epic/contrib/modulefiles
module load miniconda3/4.12.0
module load rocoto

module load cmake/3.20.1
module load png/1.6.35

setenv CC cc
setenv FC ftn
Expand All @@ -23,4 +29,3 @@ setenv CMAKE_C_COMPILER cc
setenv CMAKE_CXX_COMPILER CC
setenv CMAKE_Fortran_COMPILER ftn
setenv CMAKE_Platform gaea.intel

12 changes: 7 additions & 5 deletions modulefiles/wflow_gaea
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ proc ModulesHelp { } {

module-whatis "Loads libraries needed for running SRW on Gaea"

module use /lustre/f2/pdata/esrl/gsd/contrib/modulefiles
module use /lustre/f2/dev/role.epic/contrib/modulefiles
module load rocoto
module load miniconda3

setenv CONDA_DEFAULT_ENV "regional_workflow"
setenv PROJ_LIB /lustre/f2/pdata/esrl/gsd/contrib/miniconda3/4.8.3/envs/regional_workflow/share/proj
#if { [module-info mode load] } {
# system "conda activate regional_workflow;"
#}
setenv PROJ_LIB /lustre/f2/dev/role.epic/contrib/miniconda3/4.12.0/envs/regional_workflow/share/proj

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

0 comments on commit d851f61

Please sign in to comment.