Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/public v2 gaea update #352

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}