Skip to content

Commit

Permalink
tweaks for build/run on gaea (#254)
Browse files Browse the repository at this point in the history
* tweaks for build/run on gaea

* fixed path

* Updates for PR
  • Loading branch information
mark-a-potts authored May 18, 2022
1 parent f0614ab commit bc4efbf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion etc/lmod-setup.csh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ 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/init/init_lmod.csh"
set ENV="/lustre/f2/pdata/esrl/gsd/contrib/lua-5.1.4.9/lmod/lmod/init/csh"
source $ENV

else if ( "$L_MACHINE" == odin ) then
Expand Down
3 changes: 2 additions & 1 deletion etc/lmod-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ 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/init/init_lmod.sh"
export BASH_ENV="/lustre/f2/pdata/esrl/gsd/contrib/lua-5.1.4.9/lmod/lmod/init/bash"
source $BASH_ENV
module purge

elif [ "$L_MACHINE" = odin ]; then
module unload modules
Expand Down
5 changes: 4 additions & 1 deletion modulefiles/wflow_gaea
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ 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;"
#}

0 comments on commit bc4efbf

Please sign in to comment.