-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged develop and resolved conflicts
- Loading branch information
1 parent
357bd51
commit 6656e10
Showing
10 changed files
with
149 additions
and
9 deletions.
There are no files selected for viewing
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
51 changes: 51 additions & 0 deletions
51
internal/scripts/installation/config/install_met_env.wcoss2_py3.10_secondary
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,51 @@ | ||
module reset | ||
module use /apps/ops/para/libs/modulefiles/compiler/intel/19.1.3.304 | ||
module load intel | ||
module load PrgEnv-intel/8.3.3 | ||
module load craype/2.7.17 | ||
module load python/3.10.4 | ||
module use /apps/dev/modulefiles/ | ||
module load ve/evs/1.0 | ||
module load netcdf/4.7.4 | ||
module load hdf5/1.10.6 | ||
module load bufr/11.6.0 | ||
module load zlib/1.2.11 | ||
module load jasper/2.0.25 | ||
module load libpng/1.6.37 | ||
module load gsl/2.7 | ||
module load g2c/1.6.4 | ||
|
||
#export TEST_BASE=/apps/ops/para/libs/intel/19.1.3.304/met/11.1.0-rc1 | ||
export TEST_BASE=$(pwd) | ||
export LIB_DIR=${TEST_BASE}/external_libs | ||
export BIN_DIR_PATH=${TEST_BASE}/bin | ||
export COMPILER=intel_19.1.3.304 | ||
export MET_SUBDIR=${TEST_BASE} | ||
export MET_TARBALL=v11.1.0-rc1.tar.gz | ||
export USE_MODULES=TRUE | ||
export ADDTL_DIR=/apps/spack/gettext/0.21/intel/19.1.3.304/at2kdo4edvuhyzrt5g6zhwrdb7bdui4s/lib64 | ||
export PYTHON_MODULE=python_3.10.4 | ||
export MET_PYTHON=/apps/spack/python/3.10.4/intel/19.1.3.304/xqft4d45h4dp4xnbz2ue3nbxv65i6bgp | ||
export MET_PYTHON_LIB=/apps/spack/python/3.10.4/intel/19.1.3.304/xqft4d45h4dp4xnbz2ue3nbxv65i6bgp/lib64 | ||
export MET_PYTHON_CC=-I/apps/spack/python/3.10.4/intel/19.1.3.304/xqft4d45h4dp4xnbz2ue3nbxv65i6bgp/include/python3.10 | ||
export MET_PYTHON_LD=-L/apps/spack/python/3.10.4/intel/19.1.3.304/xqft4d45h4dp4xnbz2ue3nbxv65i6bgp/lib64\ -lpython3.10\ -lcrypt\ -lintl\ -ldl\ -lutil\ -lm\ -lm | ||
export MET_NETCDF=/apps/prod/hpc-stack/intel-19.1.3.304/netcdf/4.7.4 | ||
# JY export MET_HDF5=/apps/prod/hpc-stack/intel-19.1.3.304/hdf5/1.10.6 | ||
export MET_HDF5=${HDF5_ROOT} | ||
export MET_BUFRLIB=/apps/ops/prod/libs/intel/19.1.3.304/bufr/11.6.0/lib64 | ||
# JY export MET_GRIB2CLIB=/apps/ops/prod/libs/intel/19.1.3.304/g2c/1.6.4/lib64 | ||
# JY export MET_GRIB2CINC=/apps/ops/prod/libs/intel/19.1.3.304/g2c/1.6.4/include | ||
export MET_GRIB2CLIB=${g2c_ROOT}/lib64 | ||
export MET_GRIB2CINC=${G2C_INC} | ||
export MET_GSL=/apps/spack/gsl/2.7/intel/19.1.3.304/xks7dxbowrdxhjck5zxc4rompopocevb | ||
export BUFRLIB_NAME=-lbufr_4 | ||
export GRIB2CLIB_NAME=-lg2c | ||
# JY export LIB_JASPER=/apps/spack/jasper/2.0.25/intel/19.1.3.304/sjib74krrorkyczqpqah4tvewmlnqdx4/lib64 | ||
export LIB_JASPER=${JASPER_LIBDIR} | ||
# JY export LIB_LIBPNG=/apps/spack/libpng/1.6.37/intel/19.1.3.304/4ohkronuhlyherusoszzrmur5ewvlwzh/lib | ||
export LIB_LIBPNG=${LIBPNG_LIBDIR} | ||
# JY export LIB_Z=/apps/spack/zlib/1.2.11/intel/19.1.3.304/hjotqkckeoyt6j6tibalwzrlfljcjtdh/lib | ||
export LIB_Z=${ZLIB_LIBDIR} | ||
export SET_D64BIT=FALSE | ||
export MAKE_ARGS=-j | ||
export CXXFLAGS="-std=c++11" |
27 changes: 27 additions & 0 deletions
27
internal/scripts/installation/modulefiles/11.1.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,27 @@ | ||
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,"bin")) | ||
|
||
setenv("MET_ROOT", base) | ||
setenv("MET_BASE", pathJoin(base, "share", "met")) | ||
setenv("MET_VERSION", pkgVersion) | ||
|
||
whatis("Name: ".. pkgName) | ||
whatis("Version: " .. pkgVersion) | ||
whatis("Category: applications") | ||
whatis("Description: Model Evaluation Tools (MET)") |
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,33 @@ | ||
#%Module###################################################################### | ||
## | ||
## Model Evaluation Tools | ||
## | ||
proc ModulesHelp { } { | ||
puts stderr "Sets up the paths and environment variables to use the Model Evaluation Tools v11.1.0-rc1 | ||
*** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" | ||
} | ||
|
||
# The intel compiler is required to run MET | ||
|
||
module use /apps/ops/para/libs/modulefiles/compiler/intel/19.1.3.304/ | ||
module load intel python/3.10.4 | ||
module use /apps/dev/modulefiles/ | ||
module load ve/evs/1.0 | ||
module load netcdf/4.7.4 | ||
module load hdf5/1.10.6 | ||
module load bufr/11.5.0 | ||
module load zlib/1.2.11 | ||
module load jasper/2.0.25 | ||
module load libpng/1.6.37 | ||
module load gsl/2.7 | ||
module load g2c/1.6.4 | ||
|
||
set base /apps/sw_review/emc/MET/11.1.0-rc1 | ||
set ver 11.1.0-rc1 | ||
set share $base/share/met | ||
set lib_base $base | ||
|
||
prepend-path PATH $base/bin | ||
|
||
setenv METversion V$ver | ||
setenv MET_ROOT $base |
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