From b6f5cd16b03d4825d1d73b572ffd4c9cf545e765 Mon Sep 17 00:00:00 2001 From: Helin Wei Date: Mon, 14 Feb 2022 17:39:23 -0500 Subject: [PATCH] convert to lmod for hera and orion --- modulefiles/gdas2gldas.hera | 17 --------------- modulefiles/gdas2gldas.hera.lua | 33 +++++++++++++++++++++++++++++ modulefiles/gdas2gldas.orion | 16 -------------- modulefiles/gdas2gldas.orion.lua | 33 +++++++++++++++++++++++++++++ modulefiles/gldas2gdas.hera | 17 --------------- modulefiles/gldas2gdas.hera.lua | 33 +++++++++++++++++++++++++++++ modulefiles/gldas2gdas.orion | 16 -------------- modulefiles/gldas2gdas.orion.lua | 33 +++++++++++++++++++++++++++++ modulefiles/gldas_forcing.hera | 10 --------- modulefiles/gldas_forcing.hera.lua | 18 ++++++++++++++++ modulefiles/gldas_forcing.orion | 10 --------- modulefiles/gldas_forcing.orion.lua | 18 ++++++++++++++++ modulefiles/gldas_model.hera | 14 ------------ modulefiles/gldas_model.hera.lua | 27 +++++++++++++++++++++++ modulefiles/gldas_model.orion | 13 ------------ modulefiles/gldas_model.orion.lua | 27 +++++++++++++++++++++++ modulefiles/gldas_post.hera | 13 ------------ modulefiles/gldas_post.hera.lua | 25 ++++++++++++++++++++++ modulefiles/gldas_post.orion | 13 ------------ modulefiles/gldas_post.orion.lua | 25 ++++++++++++++++++++++ modulefiles/gldas_rst.hera | 13 ------------ modulefiles/gldas_rst.hera.lua | 25 ++++++++++++++++++++++ modulefiles/gldas_rst.orion | 12 ----------- modulefiles/gldas_rst.orion.lua | 25 ++++++++++++++++++++++ 24 files changed, 322 insertions(+), 164 deletions(-) delete mode 100644 modulefiles/gdas2gldas.hera create mode 100644 modulefiles/gdas2gldas.hera.lua delete mode 100644 modulefiles/gdas2gldas.orion create mode 100644 modulefiles/gdas2gldas.orion.lua delete mode 100644 modulefiles/gldas2gdas.hera create mode 100644 modulefiles/gldas2gdas.hera.lua delete mode 100644 modulefiles/gldas2gdas.orion create mode 100644 modulefiles/gldas2gdas.orion.lua delete mode 100644 modulefiles/gldas_forcing.hera create mode 100644 modulefiles/gldas_forcing.hera.lua delete mode 100644 modulefiles/gldas_forcing.orion create mode 100644 modulefiles/gldas_forcing.orion.lua delete mode 100644 modulefiles/gldas_model.hera create mode 100644 modulefiles/gldas_model.hera.lua delete mode 100644 modulefiles/gldas_model.orion create mode 100644 modulefiles/gldas_model.orion.lua delete mode 100644 modulefiles/gldas_post.hera create mode 100644 modulefiles/gldas_post.hera.lua delete mode 100644 modulefiles/gldas_post.orion create mode 100644 modulefiles/gldas_post.orion.lua delete mode 100644 modulefiles/gldas_rst.hera create mode 100644 modulefiles/gldas_rst.hera.lua delete mode 100644 modulefiles/gldas_rst.orion create mode 100644 modulefiles/gldas_rst.orion.lua diff --git a/modulefiles/gdas2gldas.hera b/modulefiles/gdas2gldas.hera deleted file mode 100644 index 4e87c2f..0000000 --- a/modulefiles/gdas2gldas.hera +++ /dev/null @@ -1,17 +0,0 @@ -#%Module##################################################### -## Build module for hera -############################################################# - -module use /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/18.0.5.274 -module load hpc-impi/2018.0.4 - -module load w3nco/2.4.1 -module load nemsio/2.5.2 -module load bacio/2.4.1 -module load sp/2.3.3 - -module load netcdf/4.7.4 -module load hdf5/1.10.6 -module load esmf/8_1_1 diff --git a/modulefiles/gdas2gldas.hera.lua b/modulefiles/gdas2gldas.hera.lua new file mode 100644 index 0000000..656a882 --- /dev/null +++ b/modulefiles/gdas2gldas.hera.lua @@ -0,0 +1,33 @@ +help([[ +Load environment to run GLDAS on Hera +]]) + +prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "18.0.5.274" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +impi_ver=os.getenv("impi_ver") or "2018.0.4" +load(pathJoin("hpc-impi", impi_ver)) + +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +nemsio_ver=os.getenv("nemsio_ver") or "2.5.2" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +sp_ver=os.getenv("sp_ver") or "2.3.3" +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("nemsio", nemsio_ver)) +load(pathJoin("bacio", bacio_ver)) +load(pathJoin("sp", sp_ver)) + +hdf5_ver=os.getenv("hdf5_ver") or "1.10.6" +netcdf_ver=os.getenv("netcdf_ver") or "4.7.4" +esmf_ver=os.getenv("esmf_ver") or "8_2_0" + +load(pathJoin("hdf5", hdf5_ver)) +load(pathJoin("netcdf", netcdf_ver)) +load(pathJoin("esmf", esmf_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gdas2gldas.orion b/modulefiles/gdas2gldas.orion deleted file mode 100644 index ee5d164..0000000 --- a/modulefiles/gdas2gldas.orion +++ /dev/null @@ -1,16 +0,0 @@ -#%Module##################################################### -### Build module for orion -############################################################## - -module use /apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/2018.4 -module load hpc-impi/2018.4 - -module load w3nco/2.4.1 -module load nemsio/2.5.2 -module load bacio/2.4.1 -module load sp/2.3.3 - -module load netcdf/4.7.4 -module load esmf/8_2_0_beta_snapshot_14 diff --git a/modulefiles/gdas2gldas.orion.lua b/modulefiles/gdas2gldas.orion.lua new file mode 100644 index 0000000..956778d --- /dev/null +++ b/modulefiles/gdas2gldas.orion.lua @@ -0,0 +1,33 @@ +help([[ +Load environment to run GLDAS on Orion +]]) + +prepend_path("MODULEPATH", "/apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "2018.4" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +impi_ver=os.getenv("impi_ver") or "2018.4" +load(pathJoin("hpc-impi", impi_ver)) + +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +nemsio_ver=os.getenv("nemsio_ver") or "2.5.2" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +sp_ver=os.getenv("sp_ver") or "2.3.3" +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("nemsio", nemsio_ver)) +load(pathJoin("bacio", bacio_ver)) +load(pathJoin("sp", sp_ver)) + +hdf5_ver=os.getenv("hdf5_ver") or "1.10.6" +netcdf_ver=os.getenv("netcdf_ver") or "4.7.4" +esmf_ver=os.getenv("esmf_ver") or "8_2_0" + +load(pathJoin("hdf5", hdf5_ver)) +load(pathJoin("netcdf", netcdf_ver)) +load(pathJoin("esmf", esmf_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gldas2gdas.hera b/modulefiles/gldas2gdas.hera deleted file mode 100644 index 4e87c2f..0000000 --- a/modulefiles/gldas2gdas.hera +++ /dev/null @@ -1,17 +0,0 @@ -#%Module##################################################### -## Build module for hera -############################################################# - -module use /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/18.0.5.274 -module load hpc-impi/2018.0.4 - -module load w3nco/2.4.1 -module load nemsio/2.5.2 -module load bacio/2.4.1 -module load sp/2.3.3 - -module load netcdf/4.7.4 -module load hdf5/1.10.6 -module load esmf/8_1_1 diff --git a/modulefiles/gldas2gdas.hera.lua b/modulefiles/gldas2gdas.hera.lua new file mode 100644 index 0000000..656a882 --- /dev/null +++ b/modulefiles/gldas2gdas.hera.lua @@ -0,0 +1,33 @@ +help([[ +Load environment to run GLDAS on Hera +]]) + +prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "18.0.5.274" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +impi_ver=os.getenv("impi_ver") or "2018.0.4" +load(pathJoin("hpc-impi", impi_ver)) + +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +nemsio_ver=os.getenv("nemsio_ver") or "2.5.2" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +sp_ver=os.getenv("sp_ver") or "2.3.3" +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("nemsio", nemsio_ver)) +load(pathJoin("bacio", bacio_ver)) +load(pathJoin("sp", sp_ver)) + +hdf5_ver=os.getenv("hdf5_ver") or "1.10.6" +netcdf_ver=os.getenv("netcdf_ver") or "4.7.4" +esmf_ver=os.getenv("esmf_ver") or "8_2_0" + +load(pathJoin("hdf5", hdf5_ver)) +load(pathJoin("netcdf", netcdf_ver)) +load(pathJoin("esmf", esmf_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gldas2gdas.orion b/modulefiles/gldas2gdas.orion deleted file mode 100644 index ee5d164..0000000 --- a/modulefiles/gldas2gdas.orion +++ /dev/null @@ -1,16 +0,0 @@ -#%Module##################################################### -### Build module for orion -############################################################## - -module use /apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/2018.4 -module load hpc-impi/2018.4 - -module load w3nco/2.4.1 -module load nemsio/2.5.2 -module load bacio/2.4.1 -module load sp/2.3.3 - -module load netcdf/4.7.4 -module load esmf/8_2_0_beta_snapshot_14 diff --git a/modulefiles/gldas2gdas.orion.lua b/modulefiles/gldas2gdas.orion.lua new file mode 100644 index 0000000..956778d --- /dev/null +++ b/modulefiles/gldas2gdas.orion.lua @@ -0,0 +1,33 @@ +help([[ +Load environment to run GLDAS on Orion +]]) + +prepend_path("MODULEPATH", "/apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "2018.4" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +impi_ver=os.getenv("impi_ver") or "2018.4" +load(pathJoin("hpc-impi", impi_ver)) + +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +nemsio_ver=os.getenv("nemsio_ver") or "2.5.2" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +sp_ver=os.getenv("sp_ver") or "2.3.3" +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("nemsio", nemsio_ver)) +load(pathJoin("bacio", bacio_ver)) +load(pathJoin("sp", sp_ver)) + +hdf5_ver=os.getenv("hdf5_ver") or "1.10.6" +netcdf_ver=os.getenv("netcdf_ver") or "4.7.4" +esmf_ver=os.getenv("esmf_ver") or "8_2_0" + +load(pathJoin("hdf5", hdf5_ver)) +load(pathJoin("netcdf", netcdf_ver)) +load(pathJoin("esmf", esmf_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gldas_forcing.hera b/modulefiles/gldas_forcing.hera deleted file mode 100644 index 62d8c0c..0000000 --- a/modulefiles/gldas_forcing.hera +++ /dev/null @@ -1,10 +0,0 @@ -#%Module##################################################### -## Build module for hera -############################################################# - -module use /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/18.0.5.274 - -module load w3nco/2.4.1 -module load bacio/2.4.1 diff --git a/modulefiles/gldas_forcing.hera.lua b/modulefiles/gldas_forcing.hera.lua new file mode 100644 index 0000000..87f0bf0 --- /dev/null +++ b/modulefiles/gldas_forcing.hera.lua @@ -0,0 +1,18 @@ +help([[ +Load environment to run GLDAS on Hera +]]) + +prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "18.0.5.274" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("bacio", bacio_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gldas_forcing.orion b/modulefiles/gldas_forcing.orion deleted file mode 100644 index 8756a9f..0000000 --- a/modulefiles/gldas_forcing.orion +++ /dev/null @@ -1,10 +0,0 @@ -#%Module##################################################### -## Build module for orion -############################################################# - -module use /apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/2018.4 - -module load w3nco/2.4.1 -module load bacio/2.4.1 diff --git a/modulefiles/gldas_forcing.orion.lua b/modulefiles/gldas_forcing.orion.lua new file mode 100644 index 0000000..e925109 --- /dev/null +++ b/modulefiles/gldas_forcing.orion.lua @@ -0,0 +1,18 @@ +help([[ +Load environment to run GLDAS on Orion +]]) + +prepend_path("MODULEPATH", "/apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "2018.4" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("bacio", bacio_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gldas_model.hera b/modulefiles/gldas_model.hera deleted file mode 100644 index cac8c3b..0000000 --- a/modulefiles/gldas_model.hera +++ /dev/null @@ -1,14 +0,0 @@ -#%Module##################################################### -## Build module for Hera -############################################################# - -module use /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/18.0.5.274 -module load hpc-impi/2018.0.4 - -module load w3emc/2.7.3 -module load w3nco/2.4.1 -module load bacio/2.4.1 -module load sp/2.3.3 -module load ip/3.3.3 diff --git a/modulefiles/gldas_model.hera.lua b/modulefiles/gldas_model.hera.lua new file mode 100644 index 0000000..aa47661 --- /dev/null +++ b/modulefiles/gldas_model.hera.lua @@ -0,0 +1,27 @@ +help([[ +Load environment to run GLDAS on Hera +]]) + +prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "18.0.5.274" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +impi_ver=os.getenv("impi_ver") or "2018.0.4" +load(pathJoin("hpc-impi", impi_ver)) + +w3emc_ver=os.getenv("w3emc_ver") or "2.7.3" +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +sp_ver=os.getenv("sp_ver") or "2.3.3" +ip_ver=os.getenv("ip_ver") or "3.3.3" +load(pathJoin("w3emc", w3emc_ver)) +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("bacio", bacio_ver)) +load(pathJoin("sp", sp_ver)) +load(pathJoin("ip", ip_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gldas_model.orion b/modulefiles/gldas_model.orion deleted file mode 100644 index 548e06c..0000000 --- a/modulefiles/gldas_model.orion +++ /dev/null @@ -1,13 +0,0 @@ -#%Module##################################################### -## Build module for orion -############################################################# - -module use /apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/2018.4 -module load hpc-impi/2018.4 - -module load w3nco/2.4.1 -module load bacio/2.4.1 -module load sp/2.3.3 -module load ip/3.3.3 diff --git a/modulefiles/gldas_model.orion.lua b/modulefiles/gldas_model.orion.lua new file mode 100644 index 0000000..b241828 --- /dev/null +++ b/modulefiles/gldas_model.orion.lua @@ -0,0 +1,27 @@ +help([[ +Load environment to run GLDAS on Orion +]]) + +prepend_path("MODULEPATH", "/apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "2018.4" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +impi_ver=os.getenv("impi_ver") or "2018.4" +load(pathJoin("hpc-impi", impi_ver)) + +w3emc_ver=os.getenv("w3emc_ver") or "2.7.3" +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +sp_ver=os.getenv("sp_ver") or "2.3.3" +ip_ver=os.getenv("ip_ver") or "3.3.3" +load(pathJoin("w3emc", w3emc_ver)) +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("bacio", bacio_ver)) +load(pathJoin("sp", sp_ver)) +load(pathJoin("ip", ip_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gldas_post.hera b/modulefiles/gldas_post.hera deleted file mode 100644 index d8a0be8..0000000 --- a/modulefiles/gldas_post.hera +++ /dev/null @@ -1,13 +0,0 @@ -#%Module##################################################### -## Build module for Hera -############################################################# - -module use /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/18.0.5.274 -module load hpc-impi/2018.0.4 - -module load w3nco/2.4.1 -module load w3emc/2.7.3 -module load bacio/2.4.1 -module load nemsio/2.5.2 diff --git a/modulefiles/gldas_post.hera.lua b/modulefiles/gldas_post.hera.lua new file mode 100644 index 0000000..12c997e --- /dev/null +++ b/modulefiles/gldas_post.hera.lua @@ -0,0 +1,25 @@ +help([[ +Load environment to run GLDAS on Hera +]]) + +prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "18.0.5.274" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +impi_ver=os.getenv("impi_ver") or "2018.0.4" +load(pathJoin("hpc-impi", impi_ver)) + +w3emc_ver=os.getenv("w3emc_ver") or "2.7.3" +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +nemsio_ver=os.getenv("nemsio_ver") or "2.5.2" +load(pathJoin("w3emc", w3emc_ver)) +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("bacio", bacio_ver)) +load(pathJoin("nemsio", nemsio_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gldas_post.orion b/modulefiles/gldas_post.orion deleted file mode 100644 index d197a76..0000000 --- a/modulefiles/gldas_post.orion +++ /dev/null @@ -1,13 +0,0 @@ -#%Module##################################################### -## Build module for orion -############################################################# - -module use /apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/2018.4 -module load hpc-impi/2018.4 - -module load w3nco/2.4.1 -module load bacio/2.4.1 -module load nemsio/2.5.2 - diff --git a/modulefiles/gldas_post.orion.lua b/modulefiles/gldas_post.orion.lua new file mode 100644 index 0000000..142b155 --- /dev/null +++ b/modulefiles/gldas_post.orion.lua @@ -0,0 +1,25 @@ +help([[ +Load environment to run GLDAS on Orion +]]) + +prepend_path("MODULEPATH", "/apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "2018.4" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +impi_ver=os.getenv("impi_ver") or "2018.4" +load(pathJoin("hpc-impi", impi_ver)) + +w3emc_ver=os.getenv("w3emc_ver") or "2.7.3" +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +nemsio_ver=os.getenv("nemsio_ver") or "2.5.2" +load(pathJoin("w3emc", w3emc_ver)) +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("bacio", bacio_ver)) +load(pathJoin("nemsio", nemsio_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gldas_rst.hera b/modulefiles/gldas_rst.hera deleted file mode 100644 index d8a0be8..0000000 --- a/modulefiles/gldas_rst.hera +++ /dev/null @@ -1,13 +0,0 @@ -#%Module##################################################### -## Build module for Hera -############################################################# - -module use /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/18.0.5.274 -module load hpc-impi/2018.0.4 - -module load w3nco/2.4.1 -module load w3emc/2.7.3 -module load bacio/2.4.1 -module load nemsio/2.5.2 diff --git a/modulefiles/gldas_rst.hera.lua b/modulefiles/gldas_rst.hera.lua new file mode 100644 index 0000000..12c997e --- /dev/null +++ b/modulefiles/gldas_rst.hera.lua @@ -0,0 +1,25 @@ +help([[ +Load environment to run GLDAS on Hera +]]) + +prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "18.0.5.274" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +impi_ver=os.getenv("impi_ver") or "2018.0.4" +load(pathJoin("hpc-impi", impi_ver)) + +w3emc_ver=os.getenv("w3emc_ver") or "2.7.3" +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +nemsio_ver=os.getenv("nemsio_ver") or "2.5.2" +load(pathJoin("w3emc", w3emc_ver)) +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("bacio", bacio_ver)) +load(pathJoin("nemsio", nemsio_ver)) + +whatis("Description: GLDAS run environment") diff --git a/modulefiles/gldas_rst.orion b/modulefiles/gldas_rst.orion deleted file mode 100644 index d69cc5d..0000000 --- a/modulefiles/gldas_rst.orion +++ /dev/null @@ -1,12 +0,0 @@ -#%Module##################################################### -## Build module for orion -############################################################# - -module use /apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack -module load hpc/1.1.0 -module load hpc-intel/2018.4 -module load hpc-impi/2018.4 - -module load w3nco/2.4.1 -module load bacio/2.4.1 -module load nemsio/2.5.2 diff --git a/modulefiles/gldas_rst.orion.lua b/modulefiles/gldas_rst.orion.lua new file mode 100644 index 0000000..142b155 --- /dev/null +++ b/modulefiles/gldas_rst.orion.lua @@ -0,0 +1,25 @@ +help([[ +Load environment to run GLDAS on Orion +]]) + +prepend_path("MODULEPATH", "/apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack") + +hpc_ver=os.getenv("hpc_ver") or "1.1.0" +load(pathJoin("hpc", hpc_ver)) + +hpc_intel_ver=os.getenv("hpc_intel_ver") or "2018.4" +load(pathJoin("hpc-intel", hpc_intel_ver)) + +impi_ver=os.getenv("impi_ver") or "2018.4" +load(pathJoin("hpc-impi", impi_ver)) + +w3emc_ver=os.getenv("w3emc_ver") or "2.7.3" +w3nco_ver=os.getenv("w3nco_ver") or "2.4.1" +bacio_ver=os.getenv("bacio_ver") or "2.4.1" +nemsio_ver=os.getenv("nemsio_ver") or "2.5.2" +load(pathJoin("w3emc", w3emc_ver)) +load(pathJoin("w3nco", w3nco_ver)) +load(pathJoin("bacio", bacio_ver)) +load(pathJoin("nemsio", nemsio_ver)) + +whatis("Description: GLDAS run environment")