-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Update modulefiles * Adding modulefile for WCOSS2 * Updated references of 4.1.1 to 5.0.0
- Loading branch information
Showing
9 changed files
with
78 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
internal/scripts/installation/modulefiles/5.0.0.lua_wcoss2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
help([[ | ||
]]) | ||
|
||
local pkgName = myModuleName() | ||
local pkgVersion = myModuleVersion() | ||
local pkgNameVer = myModuleFullName() | ||
|
||
local hierA = hierarchyA(pkgNameVer,1) | ||
local compNameVer = hierA[1] | ||
|
||
conflict(pkgName) | ||
|
||
local opt = os.getenv("HPC_OPT") or os.getenv("OPT") or "/opt/modules" | ||
|
||
local base = pathJoin(opt,compNameVer,pkgName,pkgVersion) | ||
|
||
prepend_path("PATH", pathJoin(base,"ush")) | ||
|
||
setenv("METPLUS_ROOT", base) | ||
setenv("METPLUS_VERSION", pkgVersion) | ||
setenv("METPLUS_PATH", base) | ||
|
||
whatis("Name: ".. pkgName) | ||
whatis("Version: " .. pkgVersion) | ||
whatis("Category: application") | ||
whatis("Description: Model Evaluation Tools Plus (METplus)") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#%Module###################################################################### | ||
## | ||
## METplus | ||
## | ||
proc ModulesHelp { } { | ||
puts stderr "Sets up the paths and environment variables to use the METplus-5.0.0. | ||
*** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" | ||
} | ||
|
||
module use /glade/p/ral/jntp/MET/MET_releases/casper/modulefiles | ||
module load met/11.0.0 | ||
module load nco | ||
module load grib-bins/1.3 | ||
module load R | ||
|
||
prepend-path PATH /glade/p/ral/jntp/MET/METplus/miniconda/miniconda3/envs/metplus_v5.0_py3.8/bin | ||
setenv METPLUS_PATH /glade/p/ral/jntp/MET/METplus/casper/METplus-5.0.0 | ||
prepend-path PATH /glade/p/ral/jntp/MET/METplus/casper/METplus-5.0.0/ush |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#%Module###################################################################### | ||
## | ||
## METplus | ||
## | ||
proc ModulesHelp { } { | ||
puts stderr "Sets up the paths and environment variables to use the METplus-5.0.0 | ||
*** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" | ||
} | ||
|
||
module load intel/19.1.1 | ||
module load nco/4.9.7 | ||
module load Rstats/4.0.3 | ||
module load met/11.0.0 | ||
setenv METPLUS_PATH /work2/06612/tg859120/frontera/METplus/METplus-5.0.0 | ||
|
||
# Path to wgrib | ||
prepend-path PATH /work2/08291/taosun/HPC-STACK/hpc-module/intel-18.0.2/grib_util/1.2.2/bin | ||
|
||
# Path to wgrib2 | ||
prepend-path PATH /work2/08291/taosun/HPC-STACK/hpc-module/intel-18.0.2/wgrib2/2.0.8/bin | ||
|
||
prepend-path PATH /work2/06612/tg859120/frontera/METplus/METplus-5.0.0/ush:/work2/06612/tg859120/frontera/miniconda/miniconda3/envs/metplus_v5.0_py3.8/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters