From 1fa993f3d71877f91407eacd4aa209dc6b946f6b Mon Sep 17 00:00:00 2001 From: Natalie Perlin <68030316+natalie-perlin@users.noreply.github.com> Date: Thu, 15 Sep 2022 19:40:05 -0400 Subject: [PATCH 1/4] 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 --- etc/lmod-setup.csh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/etc/lmod-setup.csh b/etc/lmod-setup.csh index d891bc07ec..ee6c94203c 100644 --- a/etc/lmod-setup.csh +++ b/etc/lmod-setup.csh @@ -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 From cc4185440dbb55321240281e2202517bb18eea3c Mon Sep 17 00:00:00 2001 From: Natalie Perlin <68030316+natalie-perlin@users.noreply.github.com> Date: Thu, 15 Sep 2022 19:42:17 -0400 Subject: [PATCH 2/4] 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 --- etc/lmod-setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/lmod-setup.sh b/etc/lmod-setup.sh index c2d4cc92a0..cbaef6ff09 100644 --- a/etc/lmod-setup.sh +++ b/etc/lmod-setup.sh @@ -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 From 2c468b9342ac91fe74ff37e7bc8386aaf12c50c1 Mon Sep 17 00:00:00 2001 From: Natalie Perlin <68030316+natalie-perlin@users.noreply.github.com> Date: Thu, 15 Sep 2022 19:53:48 -0400 Subject: [PATCH 3/4] 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. --- modulefiles/build_gaea_intel | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/modulefiles/build_gaea_intel b/modulefiles/build_gaea_intel index cce0e07468..88d04d0a89 100644 --- a/modulefiles/build_gaea_intel +++ b/modulefiles/build_gaea_intel @@ -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 @@ -23,4 +29,3 @@ setenv CMAKE_C_COMPILER cc setenv CMAKE_CXX_COMPILER CC setenv CMAKE_Fortran_COMPILER ftn setenv CMAKE_Platform gaea.intel - From 9d0686f0e4035616a688bcdbf7034199ef0b497b Mon Sep 17 00:00:00 2001 From: Natalie Perlin <68030316+natalie-perlin@users.noreply.github.com> Date: Thu, 15 Sep 2022 19:57:30 -0400 Subject: [PATCH 4/4] 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. --- modulefiles/wflow_gaea | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modulefiles/wflow_gaea b/modulefiles/wflow_gaea index df2de1c71d..21581d54e2 100644 --- a/modulefiles/wflow_gaea +++ b/modulefiles/wflow_gaea @@ -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" +}