Skip to content

Commit

Permalink
Merge pull request #59 from GEOS-ESM/feature/jstassi/#58-g5modules-XT…
Browse files Browse the repository at this point in the history
…RAMODS2LOAD

Feature/jstassi/#58 g5modules xtramods2 load
  • Loading branch information
mathomp4 committed Apr 16, 2021
2 parents 181a3b9 + 633d363 commit b7460e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions g5_modules
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,12 @@ if (-e $modinit) then
module load $mod
end

if ($?XTRAMODS2LOAD) then
set xmods = (`echo $XTRAMODS2LOAD | cut -d: -f1- --output-delimiter=" "`)
foreach mod ( $xmods )
module load $mod
end
endif
endif
if (! $wrapper) echo " for $node"

Expand Down

0 comments on commit b7460e3

Please sign in to comment.