diff --git a/scripts/installation/compile_MET_all.sh b/scripts/installation/compile_MET_all.sh index 3357e80b73..96569b6241 100755 --- a/scripts/installation/compile_MET_all.sh +++ b/scripts/installation/compile_MET_all.sh @@ -64,7 +64,7 @@ if [ ! -e $TAR_DIR ]; then fi # Update library linker path -export LD_LIBRARY_PATH=${TEST_BASE}/external_libs/lib${MET_PYTHON:+:$MET_PYTHON/lib}${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2CLIB}${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_JASPER}${LIB_Z:+$LIB_Z}:${LD_LIBRARY_PATH} +export LD_LIBRARY_PATH=${TEST_BASE}/external_libs/lib${MET_PYTHON:+:$MET_PYTHON/lib}${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2CLIB}${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_JASPER}${LIB_Z:+$LIB_Z}${MET_GSL:+:$MET_GSL/lib}:${LD_LIBRARY_PATH} echo "LD_LIBRARY_PATH = ${LD_LIBRARY_PATH}" # Constants @@ -751,8 +751,8 @@ if [ $COMPILE_MET -eq 1 ]; then # https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html # ${parameter:+word} # If parameter is null or unset, nothing is substituted, otherwise the expansion of word is substituted. - export LDFLAGS="${LDFLAGS} -Wl,-rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2CLIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+$MET_GSL/lib}" - export LDFLAGS="${LDFLAGS} -Wl,-rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_JASPER}${LIB_Z:+$LIB_Z}" + export LDFLAGS="${LDFLAGS} -Wl,-rpath,${LIB_DIR}/lib${MET_NETCDF:+:$MET_NETCDF/lib}${MET_HDF5:+:$MET_HDF5/lib}${MET_BUFRLIB:+:$MET_BUFRLIB}${MET_GRIB2CLIB:+:$MET_GRIB2CLIB}${MET_PYTHON:+:$MET_PYTHON/lib}${MET_GSL:+:$MET_GSL/lib}" + export LDFLAGS="${LDFLAGS} -Wl,-rpath,${LIB_JASPER:+$LIB_JASPER}${LIB_LIBPNG:+:$LIB_PNG}${LIB_Z:+$LIB_Z}" export LDFLAGS="${LDFLAGS} ${LIB_JASPER:+-L$LIB_JASPER} ${LIB_LIBPNG:+-L$LIB_LIBPNG} ${MET_HDF5:+-L$MET_HDF5/lib}" export LIBS="${LIBS} -lhdf5_hl -lhdf5 -lz" export MET_FONT_DIR=${TEST_BASE}/fonts diff --git a/scripts/installation/config/install_met_env.cray b/scripts/installation/config/install_MET_env.cray similarity index 80% rename from scripts/installation/config/install_met_env.cray rename to scripts/installation/config/install_MET_env.cray index 3b20ef7c0d..4adea40a2c 100644 --- a/scripts/installation/config/install_met_env.cray +++ b/scripts/installation/config/install_MET_env.cray @@ -10,10 +10,10 @@ module load NetCDF-intel-sandybridge/4.7.4 module load HDF5-parallel-intel-sandybridge/1.10.6 module use /gpfs/hps/nco/ops/nwprod/lib/modulefiles module load bufr-intel/11.0.1 -module load g2c-intel/1.5.0 module load jasper-gnu-sandybridge/1.900.1 module load png-intel-sandybridge/1.2.44 module load zlib-intel-sandybridge/1.2.7 +module load g2c-intel/1.6.3 export FC=ftn export F77=ftn @@ -21,11 +21,11 @@ export F90=ftn export CC=cc export CXX=CC export CRAYPE_LINK_TYPE=dynamic -export TEST_BASE=/gpfs/hps3/emc/meso/noscrub/emc.metplus/for_nco/met/9.1 +export TEST_BASE=/gpfs/hps3/emc/meso/noscrub/emc.metplus/met/10.0.0 export BIN_DIR_PATH=${TEST_BASE}/exec export COMPILER=intel_18.1.163 export MET_SUBDIR=${TEST_BASE} -export MET_TARBALL=met-9.1.20200810.tar.gz +export MET_TARBALL=met-10.0.0.20210510.tar.gz export USE_MODULES=TRUE export PYTHON_MODULE=python_3.6.3 export MET_PYTHON=/gpfs/hps/usrx/local/prod/python/3.6.3 @@ -34,12 +34,12 @@ export MET_PYTHON_LD=-L/gpfs/hps/usrx/local/prod/python/3.6.3/lib\ -lpython3.6m\ export MET_NETCDF=$NETCDF export MET_HDF5=$HDF5 export MET_BUFRLIB=/gpfs/hps/nco/ops/nwprod/lib/bufr/v11.3.0/intel -export MET_GRIB2CLIB=/gpfs/hps/nco/ops/nwprod/lib/g2c/v1.5.0/intel -export MET_GRIB2CINC=/gpfs/hps/nco/ops/nwprod/lib/g2c/v1.5.0/src +export MET_GRIB2CLIB=/gpfs/hps/nco/ops/nwprod/lib/g2c/v1.6.3/intel +export MET_GRIB2CINC=/gpfs/hps/nco/ops/nwprod/lib/g2c/v1.6.3/intel/include/libg2c_v1.6.3_4 export MET_GSL=$GSL_ROOT export BUFRLIB_NAME=-lbufr_v11.3.0_4_64 -export GRIB2CLIB_NAME=-lg2c_v1.5.0_4 +export GRIB2CLIB_NAME=-lg2c_v1.6.3_4 export LIB_JASPER=/usrx/local/prod/jasper/1.900.1/gnu/sandybridge/lib export LIB_LIBPNG=/usrx/local/prod/png/1.2.44/intel/sandybridge/lib export LIB_Z=/usrx/local/prod/zlib/1.2.7/intel/sandybridge/lib -export SET_D64BIT=TRUE +export SET_D64BIT=FALSE diff --git a/scripts/installation/config/install_met_env.dell b/scripts/installation/config/install_MET_env.dell similarity index 77% rename from scripts/installation/config/install_met_env.dell rename to scripts/installation/config/install_MET_env.dell index e85bd9dc00..5c3dbdb673 100644 --- a/scripts/installation/config/install_met_env.dell +++ b/scripts/installation/config/install_MET_env.dell @@ -3,17 +3,18 @@ module load python/3.6.3 module load NetCDF/4.5.0 module load HDF5-serial/1.10.1 module load bufr/11.3.0 -module load g2c/1.5.0 module load zlib/1.2.11 module load jasper/1.900.1 module load libpng/1.2.59 module load gsl/2.1 +module load g2c/1.6.3 -export TEST_BASE=/gpfs/dell2/emc/verification/noscrub/emc.metplus/for_nco/met/9.1 +export TEST_BASE=/gpfs/dell2/emc/verification/noscrub/emc.metplus/met/10.0.0 +export LIB_DIR=${TEST_BASE}/external_libs export BIN_DIR_PATH=${TEST_BASE}/exec export COMPILER=ips_18.0.5.274 export MET_SUBDIR=${TEST_BASE} -export MET_TARBALL=met-9.1.20200810.tar.gz +export MET_TARBALL=met-10.0.0.20210510.tar.gz export USE_MODULES=TRUE export PYTHON_MODULE=python_3.6.3 export MET_PYTHON=/usrx/local/prod/packages/python/3.6.3/ @@ -22,12 +23,12 @@ export MET_PYTHON_LD=-L/usrx/local/prod/packages/python/3.6.3/lib/\ -lpython3.6m export MET_NETCDF=/usrx/local/prod/packages/ips/18.0.1/netcdf/4.5.0 export MET_HDF5=/usrx/local/prod/packages/ips/18.0.1/hdf5/1.10.1 export MET_BUFRLIB=/gpfs/dell1/nco/ops/nwprod/lib/bufr/v11.3.0/ips/18.0.1 -export MET_GRIB2CLIB=/gpfs/dell1/nco/ops/nwprod/lib/g2c/v1.5.0/ips/18.0.1 -export MET_GRIB2CINC=/gpfs/dell1/nco/ops/nwprod/lib/g2c/v1.5.0/src +export MET_GRIB2CLIB=/gpfs/dell1/nco/ops/nwprod/lib/g2c/v1.6.3/ips/18.0.1/lib +export MET_GRIB2CINC=/gpfs/dell1/nco/ops/nwprod/lib/g2c/v1.6.3/ips/18.0.1/include/libg2c_v1.6.3_4 export MET_GSL=$GSL_ROOT export BUFRLIB_NAME=-lbufr_v11.3.0_4_64 -export GRIB2CLIB_NAME=-lg2c_v1.5.0_4 +export GRIB2CLIB_NAME=-lg2c_v1.6.3_4 export LIB_JASPER=/usrx/local/prod/packages/gnu/4.8.5/jasper/1.900.1/lib export LIB_LIBPNG=/usrx/local/prod/packages/gnu/4.8.5/libpng/1.2.59/lib export LIB_Z=/usrx/local/prod/packages/ips/18.0.1/zlib/1.2.11/lib -export SET_D64BIT=TRUE +export SET_D64BIT=FALSE diff --git a/scripts/installation/config/install_met_env.cheyenne b/scripts/installation/config/install_met_env.cheyenne deleted file mode 100644 index a62ec10ab1..0000000000 --- a/scripts/installation/config/install_met_env.cheyenne +++ /dev/null @@ -1,18 +0,0 @@ -module load ncarenv/1.3 -module load intel/19.0.5 -module load python/3.7.5 -module load netcdf/4.7.3 -ncar_pylib - -export TEST_BASE=/glade/p/ral/jntp/MET/MET_releases/9.1 -export COMPILER=intel_19.0.5 -export MET_SUBDIR=${TEST_BASE} -export MET_TARBALL=met-9.1.20200810.tar.gz -export USE_MODULES=TRUE -export MET_PYTHON=/glade/u/apps/ch/opt/python/3.7.5/gnu/8.3.0 -export MET_PYTHON_CC=-I${MET_PYTHON}/include/python3.7m -export MET_PYTHON_LD=-L${MET_PYTHON}/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm -export MET_NETCDF=/glade/u/apps/ch/opt/netcdf/4.7.3/intel/19.0.5 -export SET_D64BIT=FALSE -export CFLAGS="-Wall -g" -export CXXFLAGS="-Wall -g" diff --git a/scripts/installation/config/install_met_env.jet b/scripts/installation/config/install_met_env.jet index be38709ff3..19cd1be739 100644 --- a/scripts/installation/config/install_met_env.jet +++ b/scripts/installation/config/install_met_env.jet @@ -1,15 +1,11 @@ -module load intel/18.0.5.274 -module load intelpython/3.6.5 -module load netcdf/4.6.1 -module load hdf5/1.10.4 -export TEST_BASE=/contrib/met/9.0 +export TEST_BASE=/contrib/met/10.0.0 export COMPILER=intel_18.0.5.274 export MET_SUBDIR=${TEST_BASE} -export MET_TARBALL=met-9.0.1.20200423.tar.gz +export MET_TARBALL=met-10.0.0.20210510.tar.gz export USE_MODULES=TRUE export PYTHON_MODULE=intelpython_3.6.5 export MET_PYTHON=/apps/intel/intelpython3 export MET_PYTHON_CC=-I/apps/intel/intelpython3/include/python3.6m export MET_PYTHON_LD=-L/apps/intel/intelpython3/lib\ -lpython3.6m\ -lpthread\ -ldl\ -lutil\ -lrt\ -lm\ -Xlinker\ -export-dynamic export MET_NETCDF=/apps/netcdf/4.6.1/intel/18.0.5.274 -export MET_HDF5=/apps/hdf5/1.10.4/intel/18.0.5.274 +export MET_HDF5=/apps/hdf5/1.10.4/intel_seq/18.0.5.274 diff --git a/scripts/installation/config/install_met_env.orion b/scripts/installation/config/install_met_env.orion index ce5219d638..790407dd51 100644 --- a/scripts/installation/config/install_met_env.orion +++ b/scripts/installation/config/install_met_env.orion @@ -1,14 +1,14 @@ -module load intel/2020 -module load intelpython3/2020 +module load intel/2020.2 +module load intelpython3/2020.2 -export TEST_BASE=/apps/contrib/MET/9.1 +export TEST_BASE=/apps/contrib/MET/10.0.0 export COMPILER=intel_2020 export MET_SUBDIR=${TEST_BASE}/ -export MET_TARBALL=met-9.1.20200810.tar.gz +export MET_TARBALL=met-10.0.0.20210510.tar.gz export USE_MODULES=TRUE -export MET_PYTHON=/apps/intel-2020/intel-2020/intelpython3/ -export MET_PYTHON_CC=-I/apps/intel-2020/intel-2020/intelpython3/include/python3.7m -export MET_PYTHON_LD=-L/apps/intel-2020/intel-2020/intelpython3/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lrt\ -lm +export MET_PYTHON=/apps/intel-2020.2/intel-2020.2/intelpython3 +export MET_PYTHON_CC=-I${MET_PYTHON}/include/python3.7m +export MET_PYTHON_LD=-L${MET_PYTHON}/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lrt\ -lm export SET_D64BIT=FALSE export CFLAGS="-Wall -g" export CXXFLAGS="-Wall -g" diff --git a/scripts/installation/config/install_met_env.casper b/scripts/installation/config/install_met_env_all.casper similarity index 70% rename from scripts/installation/config/install_met_env.casper rename to scripts/installation/config/install_met_env_all.casper index a203c63f44..360d65ea44 100644 --- a/scripts/installation/config/install_met_env.casper +++ b/scripts/installation/config/install_met_env_all.casper @@ -1,17 +1,17 @@ module load intel/19.0.5 module load python/3.7.5 -module load netcdf/4.7.3 +module load netcdf/4.7.4 ncar_pylib -export TEST_BASE=/glade/p/ral/jntp/MET/MET_releases/casper/9.1 +export TEST_BASE=/glade/p/ral/jntp/MET/MET_releases/casper/10.0.0 export COMPILER=intel_19.0.5 export MET_SUBDIR=${TEST_BASE} -export MET_TARBALL=met-9.1.20200810.tar.gz +export MET_TARBALL=met-10.0.0.20210510.tar.gz export USE_MODULES=TRUE export MET_PYTHON=/glade/u/apps/dav/opt/python/3.7.5/gnu/8.3.0/ export MET_PYTHON_CC=-I${MET_PYTHON}/include/python3.7m export MET_PYTHON_LD=-L${MET_PYTHON}/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm export MET_NETCDF=/glade/u/apps/dav/opt/netcdf/4.7.3/intel/19.0.5 export SET_D64BIT=FALSE -export CFLAGS="-Wall -g" -export CXXFLAGS="-Wall -g" +#export CFLAGS="-Wall -g" +#export CXXFLAGS="-Wall -g" diff --git a/scripts/installation/config/install_met_env_all.cheyenne b/scripts/installation/config/install_met_env_all.cheyenne new file mode 100644 index 0000000000..1c9b9533a6 --- /dev/null +++ b/scripts/installation/config/install_met_env_all.cheyenne @@ -0,0 +1,18 @@ +module load ncarenv/1.3 +module load intel/19.0.5 +module load python/3.7.9 +module load netcdf/4.7.4 +ncar_pylib + +export TEST_BASE=/glade/p/ral/jntp/MET/MET_releases/10.0.0 +export COMPILER=intel_19.0.5 +export MET_SUBDIR=${TEST_BASE} +export MET_TARBALL=met-10.0.0.20210510.tar.gz +export USE_MODULES=TRUE +export MET_PYTHON=/glade/u/apps/ch/opt/python/3.7.9/gnu/9.1.0 +export MET_PYTHON_CC=-I${MET_PYTHON}/include/python3.7m +export MET_PYTHON_LD=-L${MET_PYTHON}/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm +export MET_NETCDF=/glade/u/apps/ch/opt/netcdf/4.7.4/intel/19.0.5/ +export SET_D64BIT=FALSE +#export CFLAGS="-Wall -g" +#export CXXFLAGS="-Wall -g" diff --git a/scripts/installation/config/install_met_env_all.hera b/scripts/installation/config/install_met_env_all.hera new file mode 100644 index 0000000000..a9ea2355bd --- /dev/null +++ b/scripts/installation/config/install_met_env_all.hera @@ -0,0 +1,13 @@ +module use -a /contrib/anaconda/modulefiles +module load intel/18.0.5.274 +module load anaconda/latest +export TEST_BASE=/contrib/met/10.0.0 +export COMPILER=intel_18.0.5.274 +export MET_SUBDIR=${TEST_BASE} +export MET_TARBALL=met-10.0.0.20210510.tar.gz +export USE_MODULES=TRUE +export PYTHON_MODULE=anaconda_latest +export MET_PYTHON=/contrib/anaconda/anaconda3/latest/ +export MET_PYTHON_CC=-I${MET_PYTHON}include/python3.7m +export MET_PYTHON_LD=-L${MET_PYTHON}/lib/python3.7/config-3.7m-x86_64-linux-gnu\ -L${MET_PYTHON}/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lrt\ -lm\ -Xlinker\ -export-dynamic +export SET_D64BIT=FALSE diff --git a/scripts/installation/config/install_met_env_met_only.casper b/scripts/installation/config/install_met_env_met_only.casper new file mode 100644 index 0000000000..02eb6a1c13 --- /dev/null +++ b/scripts/installation/config/install_met_env_met_only.casper @@ -0,0 +1,28 @@ +module load intel/19.0.5 +module load python/3.7.5 +module load netcdf/4.7.4 +ncar_pylib + +export TEST_BASE=/glade/p/ral/jntp/MET/MET_releases/casper/10.0.0 +export COMPILER=intel_19.0.5 +export MET_SUBDIR=${TEST_BASE} +export MET_TARBALL=met-10.0.0.20210510.tar.gz +export USE_MODULES=TRUE +export MET_PYTHON=/glade/u/apps/dav/opt/python/3.7.5/gnu/8.3.0/ +export MET_PYTHON_CC=-I${MET_PYTHON}/include/python3.7m +export MET_PYTHON_LD=-L${MET_PYTHON}/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm +export MET_NETCDF=/glade/u/apps/dav/opt/netcdf/4.7.4/intel/19.0.5 +export EXTERNAL_LIBS=/glade/p/ral/jntp/MET/MET_releases/casper/10.0.0/external_libs +export MET_GSL=${EXTERNAL_LIBS} +export MET_BUFRLIB=${EXTERNAL_LIBS} +export BUFRLIB_NAME=-lbufr +export MET_HDF5=${EXTERNAL_LIBS} +export MET_GRIB2CLIB=${EXTERNAL_LIBS}/lib +export MET_GRIB2CINC=${EXTERNAL_LIBS}/include +export GRIB2CLIB_NAME=-lgrib2c +export LIB_JASPER=${EXTERNAL_LIBS}/lib +export LIB_LIBPNG=${EXTERNAL_LIBS}/lib +export LIB_Z=${EXTERNAL_LIBS}/lib +export SET_D64BIT=FALSE +#export CFLAGS="-Wall -g" +#export CXXFLAGS="-Wall -g" diff --git a/scripts/installation/config/install_met_env_met_only.cheyenne b/scripts/installation/config/install_met_env_met_only.cheyenne new file mode 100644 index 0000000000..81de3a5406 --- /dev/null +++ b/scripts/installation/config/install_met_env_met_only.cheyenne @@ -0,0 +1,30 @@ +module load ncarenv/1.3 +module load intel/19.0.5 +module load python/3.7.9 +module load netcdf/4.7.4 +ncar_pylib + +export TEST_BASE=/glade/p/ral/jntp/MET/MET_releases/10.0.0 +export COMPILER=intel_19.0.5 +export MET_SUBDIR=${TEST_BASE} +export MET_TARBALL=met-10.0.0.20210510.tar.gz +export USE_MODULES=TRUE +export MET_PYTHON=/glade/u/apps/ch/opt/python/3.7.9/gnu/9.1.0 +export MET_PYTHON_CC=-I${MET_PYTHON}/include/python3.7m +export MET_PYTHON_LD=-L${MET_PYTHON}/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lm +export MET_NETCDF=/glade/u/apps/ch/opt/netcdf/4.7.4/intel/19.0.5/ +export +EXTERNAL_LIBS=/glade/p/ral/jntp/MET/MET_releases/10.0.0/external_libs +export MET_GSL=${EXTERNAL_LIBS} +export MET_BUFRLIB=${EXTERNAL_LIBS} +export BUFRLIB_NAME=-lbufr +export MET_HDF5=${EXTERNAL_LIBS} +export MET_GRIB2CLIB=${EXTERNAL_LIBS}/lib +export MET_GRIB2CINC=${EXTERNAL_LIBS}/include +export GRIB2CLIB_NAME=-lgrib2c +export LIB_JASPER=${EXTERNAL_LIBS}/lib +export LIB_LIBPNG=${EXTERNAL_LIBS}/lib +export LIB_Z=${EXTERNAL_LIBS}/lib +export SET_D64BIT=FALSE +#export CFLAGS="-Wall -g" +#export CXXFLAGS="-Wall -g" diff --git a/scripts/installation/config/install_met_env.hera b/scripts/installation/config/install_met_env_met_only.hera similarity index 76% rename from scripts/installation/config/install_met_env.hera rename to scripts/installation/config/install_met_env_met_only.hera index 2ba085d542..7966263813 100644 --- a/scripts/installation/config/install_met_env.hera +++ b/scripts/installation/config/install_met_env_met_only.hera @@ -1,25 +1,28 @@ module use -a /contrib/anaconda/modulefiles module load intel/18.0.5.274 module load anaconda/latest -export TEST_BASE=/contrib/met/9.1 +export TEST_BASE=/contrib/met/10.0.0 export COMPILER=intel_18.0.5.274 export MET_SUBDIR=${TEST_BASE} -export MET_TARBALL=met-9.1.1.20201118.tar.gz +export MET_TARBALL=met-10.0.0.20210510.tar.gz export USE_MODULES=TRUE export PYTHON_MODULE=anaconda_latest export MET_PYTHON=/contrib/anaconda/anaconda3/latest/ export MET_PYTHON_CC=-I${MET_PYTHON}include/python3.7m export MET_PYTHON_LD=-L${MET_PYTHON}/lib/python3.7/config-3.7m-x86_64-linux-gnu\ -L${MET_PYTHON}/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lrt\ -lm\ -Xlinker\ -export-dynamic -export EXTERNAL_LIBS=/contrib/met/9.1/external_libs -export MET_NETCDF=/contrib/met/9.1/external_libs +export EXTERNAL_LIBS=/contrib/met/10.0.0/external_libs/ +export MET_NETCDF=${EXTERNAL_LIBS} +export MET_GSL=${EXTERNAL_LIBS} +export MET_BUFRLIB=${EXTERNAL_LIBS} +export BUFRLIB_NAME=-lbufr export MET_HDF5=${EXTERNAL_LIBS} -export MET_BUFRLIB=${EXTERNAL_LIBS}/lib export MET_GRIB2CLIB=${EXTERNAL_LIBS}/lib export MET_GRIB2CINC=${EXTERNAL_LIBS}/include -export MET_GSL=${EXTERNAL_LIBS} -export BUFRLIB_NAME=-lbufr export GRIB2CLIB_NAME=-lgrib2c export LIB_JASPER=${EXTERNAL_LIBS}/lib export LIB_LIBPNG=${EXTERNAL_LIBS}/lib export LIB_Z=${EXTERNAL_LIBS}/lib export SET_D64BIT=FALSE +#export CFLAGS="-Wall -g" +#export CXXFLAGS="-Wall -g -lcurl" + diff --git a/scripts/installation/config/install_met_env_met_only.stampede b/scripts/installation/config/install_met_env_met_only.stampede new file mode 100644 index 0000000000..7113983130 --- /dev/null +++ b/scripts/installation/config/install_met_env_met_only.stampede @@ -0,0 +1,28 @@ +module load intel/18.0.2 +module load python3/3.7.0 +module load hdf5/1.10.4 +module load netcdf/4.6.2 + +export TEST_BASE=/work2/06612/tg859120/stampede2/met/10.0.0 +export COMPILER=intel_18.0.2 +export MET_SUBDIR=${TEST_BASE}/ +export MET_TARBALL=met-10.0.0.20210510.tar.gz +export USE_MODULES=TRUE +export MET_PYTHON=/opt/apps/intel18/python3/3.7.0 +export MET_PYTHON_CC=-I${MET_PYTHON}/include/python3.7m +export MET_PYTHON_LD=-L${MET_PYTHON}/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lrt\ -lm +export MET_HDF5=/opt/apps/intel18/hdf5/1.10.4/x86_64/ +export MET_NETCDF=/opt/apps/intel18/netcdf/4.6.2/x86_64/ +export EXTERNAL_LIBS=/work2/06612/tg859120/stampede2/met/10.0.0/external_libs +export MET_GSL=${EXTERNAL_LIBS} +export MET_BUFRLIB=${EXTERNAL_LIBS} +export BUFRLIB_NAME=-lbufr +export MET_GRIB2CLIB=${EXTERNAL_LIBS}/lib +export MET_GRIB2CINC=${EXTERNAL_LIBS}/include +export GRIB2CLIB_NAME=-lgrib2c +export LIB_JASPER=${EXTERNAL_LIBS}/lib +export LIB_LIBPNG=${EXTERNAL_LIBS}/lib +export LIB_Z=${EXTERNAL_LIBS}/lib +export SET_D64BIT=FALSE +#export CFLAGS="-Wall -g" +#export CXXFLAGS="-Wall -g" diff --git a/scripts/installation/modulefiles/10.0.0_casper b/scripts/installation/modulefiles/10.0.0_casper new file mode 100644 index 0000000000..27504264a6 --- /dev/null +++ b/scripts/installation/modulefiles/10.0.0_casper @@ -0,0 +1,20 @@ +#%Module###################################################################### +## +## Model Evaluation Tools +## +proc ModulesHelp { } { + puts stderr "Sets up the paths and environment variables to use the Model Evaluation Tools v10.0.0 *** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" +} + +# The intel compiler is required to run MET +module load intel/19.0.5 +module load python/3.7.5 +module load netcdf/4.7.4 + +set base /glade/p/ral/jntp/MET/MET_releases/casper/10.0.0 +set ver 10.0.0 +set share $base/share/met + +prepend-path PATH $base/bin:/glade/p/ral/jntp/MET/MET_releases/casper/10.0.0/external_libs/bin + +setenv METversion V$ver diff --git a/scripts/installation/modulefiles/10.0.0_cheyenne b/scripts/installation/modulefiles/10.0.0_cheyenne new file mode 100644 index 0000000000..98bd539cfc --- /dev/null +++ b/scripts/installation/modulefiles/10.0.0_cheyenne @@ -0,0 +1,29 @@ +#%Module###################################################################### +## +## Model Evaluation Tools +## +proc ModulesHelp { } { + puts stderr "Sets up the paths and environment variables to use the Model Evaluation Tools v10.0.0 + *** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" +} + +# If they exist, remove ncdump and ncgen from /glade/p/ral/jntp/MET/MET_releases/10.0.0/external_libs/bin + +# The intel compiler is required to run MET +module load ncarenv/1.3 +module load intel/19.0.5 +module load python/3.7.9 +module load netcdf/4.7.4 + +set base /glade/p/ral/jntp/MET/MET_releases/10.0.0 +set ver 10.0.0 +set share $base/share/met + +prepend-path PATH $base/bin:/glade/p/ral/jntp/MET/MET_releases/10.0.0/external_libs/bin + + +setenv METversion V$ver + +# setenv MET_BUFRLIB /glade/p/ral/jntp/MET/MET_releases/10.0.0/external_libs/libs +# setenv MET_GRIB2C /glade/p/ral/jntp/MET/MET_releases/10.0.0/external_libs +# setenv MET_GSL /glade/p/ral/jntp/MET/MET_releases/10.0.0/external_libs diff --git a/scripts/installation/modulefiles/10.0.0_cray b/scripts/installation/modulefiles/10.0.0_cray new file mode 100644 index 0000000000..e50a8bc1dd --- /dev/null +++ b/scripts/installation/modulefiles/10.0.0_cray @@ -0,0 +1,37 @@ +#%Module###################################################################### +## +## Model Evaluation Tools +## +proc ModulesHelp { } { + puts stderr "Sets up the paths and environment variables to use the Model Evaluation Tools v10.0.0 + *** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" +} + +# The intel compiler is required to run MET + +module load PrgEnv-intel/5.2.56 +module unload intel/15.0.3.187 +module load intel/18.1.163 +module swap craype-haswell craype-sandybridge +module load cray-mpich/7.2.0 +module load python/3.6.3 +module load gsl-intel-haswell/2.1 +module use /usrx/local/dev/modulefiles +module load NetCDF-intel-sandybridge/4.7.4 +module load HDF5-parallel-intel-sandybridge/1.10.6 +module use /gpfs/hps/nco/ops/nwprod/lib/modulefiles +module load bufr-intel/11.0.1 +module load jasper-gnu-sandybridge/1.900.1 +module load png-intel-sandybridge/1.2.44 +module load zlib-intel-sandybridge/1.2.7 +module load g2c-intel/1.6.3 + +set base /gpfs/hps3/emc/meso/noscrub/emc.metplus/met/10.0.0 +set ver 10.0.0 +set share $base/share/met +set lib_base $base + +prepend-path PATH $base/exec + +setenv METversion V$ver +setenv MET_ROOT $base diff --git a/scripts/installation/modulefiles/10.0.0_dell b/scripts/installation/modulefiles/10.0.0_dell new file mode 100644 index 0000000000..05e23803e1 --- /dev/null +++ b/scripts/installation/modulefiles/10.0.0_dell @@ -0,0 +1,31 @@ +#%Module###################################################################### +## +## Model Evaluation Tools +## +proc ModulesHelp { } { + puts stderr "Sets up the paths and environment variables to use the Model Evaluation Tools v10.0.0 + *** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" +} + +# The intel compiler is required to run MET + +module load ips/18.0.1.163 +module load python/3.6.3 +module load bufr/11.3.0 +module load NetCDF/4.5.0 +module load HDF5-serial/1.8.20 +module load jasper/1.900.1 +module load libpng/1.2.59 +module load zlib/1.2.11 +module load gsl/2.1 +module load g2c/1.6.3 + +set base /gpfs/dell2/emc/verification/noscrub/emc.metplus/met/10.0.0 +set ver 10.0.0 +set share $base/share/met +set lib_base $base + +prepend-path PATH $base/exec + +setenv METversion V$ver +setenv MET_ROOT $base diff --git a/scripts/installation/modulefiles/10.0.0_hera b/scripts/installation/modulefiles/10.0.0_hera new file mode 100644 index 0000000000..216c567fb8 --- /dev/null +++ b/scripts/installation/modulefiles/10.0.0_hera @@ -0,0 +1,68 @@ +#%Module###################################################################### +## +## Model Evaluation Tools +## +proc ModulesHelp { } { + puts stderr "Sets up the paths and environment variables to use the Model Evaluation Tools v10.0.0 + *** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" +} + +# The intel compiler is required to run MET +prereq intel +prereq anaconda/latest + +set base /contrib/met +set ver 10.0.0 +set share $base/$ver/share/met +set lib_base $base/10.0.0 + + +prepend-path PATH $base/$ver/bin:$lib_base/external_libs/bin + + +#prepend-path LD_LIBRARY_PATH $lib_base/external_libs/lib + +#setenv METversion $ver +#setenv MET_ROOT $base/$ver/met-10.0.0-beta5 +#setenv MET_CONFIG $share/config +#setenv MET_POLY $share/poly +#setenv MET_COLORTABLES $share/colortables +#setenv MET_PS $share/ps +#setenv MET_TCDATA $share/tc_data +#setenv MET_TABLES $share/table_files +### +#setenv CC icc +#setenv CXX icc +#setenv F77 ifort + +#module load intel/18.0.5.274 +#module load anaconda/latest + +#setenv libdir /contrib/met/10.0.0-beta5/external_libs/lib +#setenv incdir /contrib/met/10.0.0-beta5/external_libs/include +#setenv iprefix /contrib/met/10.0.0-beta5/external_libs +#setenv basedir /contrib/met/10.0.0-beta5/met-10.0.0-beta5 + +#setenv MET_HDF5 $iprefix +#setenv MET_NETCDF $incdir +#setenv MET_GRIB2CINC $incdir +#setenv MET_GRIB2CLIB $libdir +#setenv MET_GSLLIB $libdir +#setenv MET_GSLINC $incdir +#setenv MET_BUFR $libdir +#setenv MET_HDFINC $incdir +#setenv MET_HDFLIB $libdir +#setenv MET_HDFEOSINC $incdir +#setenv MET_HDFEOSLIB $libdir +#setenv MET_PYTHON /contrib/anaconda3/latest +#setenv MET_PYTHON_CC -I/contrib/anaconda/anaconda3/latest/include/python3.7m +#setenv MET_PYTHON_LD -L/contrib/anaconda/anaconda3/latest/lib\ -lpython3.7m\ -lpthread\ -ldl\ -lutil\ -lm\ -Xlinker\ -export-dynamic +#setenv MET_FONT_DIR $basedir/fonts/ + +# CAIRO and FREETYPE were not used +#setenv MET_CAIROLIB $libdir +#setenv MET_CAIROINC $incdir/cairo +#setenv MET_FREETYPELIB $libdir +#setenv MET_FREETYPEINC $incdir/freetype2 + + diff --git a/scripts/installation/modulefiles/10.0.0_jet b/scripts/installation/modulefiles/10.0.0_jet new file mode 100755 index 0000000000..4d379eb920 --- /dev/null +++ b/scripts/installation/modulefiles/10.0.0_jet @@ -0,0 +1,21 @@ +#%Module###################################################################### +## +## Model Evaluation Tools +## +proc ModulesHelp { } { + puts stderr "Sets up the paths and environment variables to use the Model Evaluation Tools v10.0.0 + *** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" +} + +prereq intel +prereq intelpython/3.6.5 +prereq netcdf/4.6.1 +prereq hdf5/1.10.4 + +set base /contrib/met/10.0.0 +set ver 10.0.0 +set share $base/share/met + +prepend-path PATH $base/bin:$base/external_libs/bin:/apps/intel/intelpython3/bin:/apps/netcdf/4.6.1/intel/18.0.5.274/bin:/apps/hdf5/1.10.4/intel_seq/18.0.5.274/bin + + diff --git a/scripts/installation/modulefiles/10.0.0_orion b/scripts/installation/modulefiles/10.0.0_orion new file mode 100644 index 0000000000..cbc04944f5 --- /dev/null +++ b/scripts/installation/modulefiles/10.0.0_orion @@ -0,0 +1,46 @@ +#%Module###################################################################### +## +## Model Evaluation Tools +## +proc ModulesHelp { } { + puts stderr "Sets up the paths and environment variables to use the Model Evaluation Tools v10.0.0. + *** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" +} + +prereq intel/2020.2 +prereq intelpython3/2020.2 + +set base /apps/contrib/MET +set ver 10.0.0 +set share $base/$ver/share/met +set lib_base $base/10.0.0 + +prepend-path PATH $base/$ver/bin:$lib_base/external_libs/bin + +#export CC=icc +#export CXX=icc +#export F77=ifort +#module load intel/2020.2 +#module load intelpython3/2020.2 +#export libdir=/apps/contrib/met/10.0.0/external_libs/lib +#export incdir=/apps/contrib/met/10.0.0/external_libs/include +#export iprefix=/apps/contrib/met/10.0.0/external_libs +#export basedir=/apps/contrib/met/10.0.0/met-10.0.0 +#export MET_HDF5=$iprefix +#export MET_NETCDF=$incdir +#export MET_GRIB2CINC=$incdir +#export MET_GRIB2CLIB=$libdir +#setenv MET_GSLLIB=$libdir +#export MET_GSLINC=$incdir +#export MET_BUFR=$libdir +#export MET_HDFINC=$incdir +#export MET_HDFLIB=$libdir +#export MET_HDFEOSINC=$incdir +#export MET_HDFEOSLIB=$libdir +#export MET_PYTHON=/apps/intel-2020/intel-2020/intelpython3/ +#export MET_PYTHON_CC=-I/apps/intel-2020/intel-2020/intelpython3/include/python3.7m +#exoprt MET_PYTHON_LD=-L/apps/intel-2020/intel-2020/intelpython3/lib\ -lpython3.7m\ -lcrypt\ -lpthread\ -ldl\ -lutil\ -lrt\ -lm +#export MET_FONT_DIR=$basedir/fonts/ +#export LDFLAGS=-Wl,--disable-new-dtags -Wl,-rpath,${libdir}:${MET_PYTHON}/lib +#export CPPFLAGS=-I/apps/contrib/met/10.0.0/external_libs/include + diff --git a/scripts/installation/modulefiles/10.0.0_stampede b/scripts/installation/modulefiles/10.0.0_stampede new file mode 100644 index 0000000000..baf04f43f0 --- /dev/null +++ b/scripts/installation/modulefiles/10.0.0_stampede @@ -0,0 +1,23 @@ +#%Module###################################################################### +## +## Model Evaluation Tools +## +proc ModulesHelp { } { + puts stderr "Sets up the paths and environment variables to use the Model Evaluation Tools v10.0.0 + *** For help see the official MET webpage at http://www.dtcenter.org/met/users ***" +} + +module load intel/18.0.2 +module load python3/3.7.0 +module load hdf5/1.10.4 +module load netcdf/4.6.2 + +set base /work2/06612/tg859120/stampede2/met/10.0.0 +set ver 10.0.0 +set share $base/share/met +set lib_base $base + +prepend-path PATH $base/bin + +setenv METversion V$ver +setenv MET_ROOT $base