Skip to content

Commit

Permalink
Pin down hera miniconda3 module file version. (#770)
Browse files Browse the repository at this point in the history
Pin down the version of miniconda3 on Hera, and do not append to the module path.
  • Loading branch information
christinaholtNOAA authored May 19, 2022
1 parent fe820b0 commit de82b63
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions modulefiles/tasks/hera/get_obs.local
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module purge

module load hpss

module use -a /contrib/miniconda3/modulefiles
module load miniconda3
module use /contrib/miniconda3/modulefiles
module load miniconda3/4.5.12

setenv SRW_ENV pygraf
4 changes: 2 additions & 2 deletions modulefiles/tasks/hera/miniconda_regional_workflow
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#%Module
module use -a /contrib/miniconda3/modulefiles
module load miniconda3
module use /contrib/miniconda3/modulefiles
module load miniconda3/4.5.12

setenv SRW_ENV regional_workflow
7 changes: 5 additions & 2 deletions tests/WE2E/setup_WE2E_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,12 @@ exec_subdir='bin_intel/bin'
#-----------------------------------------------------------------------

# Load Python Modules
env_file="${SRW_APP_DIR}/env/wflow_${machine}.env"
source ${env_file}
env_path="${SRW_APP_DIR}/modulefiles"
env_file="wflow_${machine}"
echo "-- Load environment =>" $env_file
module use ${env_path}
module load ${env_file}
conda activate regional_workflow

module list

Expand Down

0 comments on commit de82b63

Please sign in to comment.