Skip to content

Commit

Permalink
Merge pull request #648 from KateFriedman-NOAA/dev_v16
Browse files Browse the repository at this point in the history
Convert Orion and Hera modulefiles to LUA format and hpc-stack
  • Loading branch information
KateFriedman-NOAA authored Feb 15, 2022
2 parents 5a4f453 + 238efed commit 626306d
Show file tree
Hide file tree
Showing 56 changed files with 428 additions and 505 deletions.
17 changes: 0 additions & 17 deletions modulefiles/OznMonBuild.orion

This file was deleted.

15 changes: 0 additions & 15 deletions modulefiles/OznMonBuild.wcoss_dell_p3

This file was deleted.

17 changes: 0 additions & 17 deletions modulefiles/RadMonBuild.orion

This file was deleted.

15 changes: 0 additions & 15 deletions modulefiles/RadMonBuild.wcoss_dell_p3

This file was deleted.

12 changes: 0 additions & 12 deletions modulefiles/fv3gfs/enkf_chgres_recenter.hera

This file was deleted.

17 changes: 17 additions & 0 deletions modulefiles/fv3gfs/enkf_chgres_recenter.hera.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
help([[
Load environment for building enkf_chgres_recenter on Hera
]])

prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack")

load(pathJoin("hpc", os.getenv("hpc_ver")))
load(pathJoin("hpc-intel", os.getenv("hpc_intel_ver")))
load(pathJoin("hpc-impi", os.getenv("hpc_impi_ver")))

load(pathJoin("bacio", os.getenv("bacio_ver")))
load(pathJoin("w3nco", os.getenv("w3nco_ver")))
load(pathJoin("nemsio", os.getenv("nemsio_ver")))
load(pathJoin("ip", os.getenv("ip_ver")))
load(pathJoin("sp", os.getenv("sp_ver")))

setenv("FC","mpiifort")
17 changes: 0 additions & 17 deletions modulefiles/fv3gfs/enkf_chgres_recenter.orion

This file was deleted.

17 changes: 17 additions & 0 deletions modulefiles/fv3gfs/enkf_chgres_recenter.orion.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
help([[
Load environment for building enkf_chgres_recenter on Orion
]])

prepend_path("MODULEPATH", "/apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack")

load(pathJoin("hpc", os.getenv("hpc_ver")))
load(pathJoin("hpc-intel", os.getenv("hpc_intel_ver")))
load(pathJoin("hpc-impi", os.getenv("hpc_impi_ver")))

load(pathJoin("bacio", os.getenv("bacio_ver")))
load(pathJoin("w3nco", os.getenv("w3nco_ver")))
load(pathJoin("nemsio", os.getenv("nemsio_ver")))
load(pathJoin("ip", os.getenv("ip_ver")))
load(pathJoin("sp", os.getenv("sp_ver")))

setenv("FC","mpiifort")
3 changes: 0 additions & 3 deletions modulefiles/fv3gfs/enkf_chgres_recenter.wcoss2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ load(pathJoin("craype", os.getenv("craype_ver")))
load(pathJoin("intel", os.getenv("intel_ver")))
load(pathJoin("cray-mpich", os.getenv("cray_mpich_ver")))

load(pathJoin("hdf5", os.getenv("hdf5_ver")))
load(pathJoin("netcdf", os.getenv("netcdf_ver")))

load(pathJoin("bacio", os.getenv("bacio_ver")))
load(pathJoin("w3nco", os.getenv("w3nco_ver")))
load(pathJoin("nemsio", os.getenv("nemsio_ver")))
Expand Down
14 changes: 0 additions & 14 deletions modulefiles/fv3gfs/enkf_chgres_recenter_nc.hera

This file was deleted.

19 changes: 19 additions & 0 deletions modulefiles/fv3gfs/enkf_chgres_recenter_nc.hera.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
help([[
Load environment for building enkf_chgres_recenter_nc
]])

prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack")

load(pathJoin("hpc", os.getenv("hpc_ver")))
load(pathJoin("hpc-intel", os.getenv("hpc_intel_ver")))
load(pathJoin("hpc-impi", os.getenv("hpc_impi_ver")))

load(pathJoin("hdf5", os.getenv("hdf5_ver")))
load(pathJoin("netcdf", os.getenv("netcdf_ver")))

load(pathJoin("bacio", os.getenv("bacio_ver")))
load(pathJoin("w3nco", os.getenv("w3nco_ver")))
load(pathJoin("ip", os.getenv("ip_ver")))
load(pathJoin("sp", os.getenv("sp_ver")))

setenv("FC","mpiifort")
16 changes: 0 additions & 16 deletions modulefiles/fv3gfs/enkf_chgres_recenter_nc.orion

This file was deleted.

19 changes: 19 additions & 0 deletions modulefiles/fv3gfs/enkf_chgres_recenter_nc.orion.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
help([[
Load environment for building enkf_chgres_recenter_nc
]])

prepend_path("MODULEPATH", "/apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack")

load(pathJoin("hpc", os.getenv("hpc_ver")))
load(pathJoin("hpc-intel", os.getenv("hpc_intel_ver")))
load(pathJoin("hpc-impi", os.getenv("hpc_impi_ver")))

load(pathJoin("hdf5", os.getenv("hdf5_ver")))
load(pathJoin("netcdf", os.getenv("netcdf_ver")))

load(pathJoin("bacio", os.getenv("bacio_ver")))
load(pathJoin("w3nco", os.getenv("w3nco_ver")))
load(pathJoin("ip", os.getenv("ip_ver")))
load(pathJoin("sp", os.getenv("sp_ver")))

setenv("FC","mpiifort")
17 changes: 0 additions & 17 deletions modulefiles/fv3gfs/gaussian_sfcanl.hera

This file was deleted.

20 changes: 20 additions & 0 deletions modulefiles/fv3gfs/gaussian_sfcanl.hera.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
help([[
Load environment for building gaussian_sfcanl on Hera
]])

prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack")

load(pathJoin("hpc", os.getenv("hpc_ver")))
load(pathJoin("hpc-intel", os.getenv("hpc_intel_ver")))
load(pathJoin("hpc-impi", os.getenv("hpc_impi_ver")))

load(pathJoin("zlib", os.getenv("zlib_ver")))
load(pathJoin("hdf5", os.getenv("hdf5_ver")))
load(pathJoin("netcdf", os.getenv("netcdf_ver")))

load(pathJoin("bacio", os.getenv("bacio_ver")))
load(pathJoin("w3nco", os.getenv("w3nco_ver")))
load(pathJoin("nemsio", os.getenv("nemsio_ver")))
load(pathJoin("sp", os.getenv("sp_ver")))

setenv("FCOMP","mpiifort")
19 changes: 0 additions & 19 deletions modulefiles/fv3gfs/gaussian_sfcanl.orion

This file was deleted.

20 changes: 20 additions & 0 deletions modulefiles/fv3gfs/gaussian_sfcanl.orion.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
help([[
Load environment for building gaussian_sfcanl on Orion
]])

prepend_path("MODULEPATH", "/apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack")

load(pathJoin("hpc", os.getenv("hpc_ver")))
load(pathJoin("hpc-intel", os.getenv("hpc_intel_ver")))
load(pathJoin("hpc-impi", os.getenv("hpc_impi_ver")))

load(pathJoin("zlib", os.getenv("zlib_ver")))
load(pathJoin("hdf5", os.getenv("hdf5_ver")))
load(pathJoin("netcdf", os.getenv("netcdf_ver")))

load(pathJoin("bacio", os.getenv("bacio_ver")))
load(pathJoin("w3nco", os.getenv("w3nco_ver")))
load(pathJoin("nemsio", os.getenv("nemsio_ver")))
load(pathJoin("sp", os.getenv("sp_ver")))

setenv("FCOMP","mpiifort")
27 changes: 0 additions & 27 deletions modulefiles/gfs_bufr.hera

This file was deleted.

26 changes: 26 additions & 0 deletions modulefiles/gfs_bufr.hera.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
help([[
Load environment to build gfs_bufr on Hera
]])

prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack")

load(pathJoin("hpc", os.getenv("hpc_ver")))
load(pathJoin("hpc-intel", os.getenv("hpc_intel_ver")))
load(pathJoin("hpc-impi", os.getenv("hpc_impi_ver")))

load(pathJoin("gempak", os.getenv("gempak_ver")))

load(pathJoin("hdf5", os.getenv("hdf5_ver")))
load(pathJoin("netcdf", os.getenv("netcdf_ver")))

load(pathJoin("bacio", os.getenv("bacio_ver")))
load(pathJoin("w3nco", os.getenv("w3nco_ver")))
load(pathJoin("nemsio", os.getenv("nemsio_ver")))
load(pathJoin("sigio", os.getenv("sigio_ver")))
load(pathJoin("w3emc", os.getenv("w3emc_ver")))
load(pathJoin("bufr", os.getenv("bufr_ver")))

setenv("myFC","mpiifort")
setenv("myFCFLAGS","-O3 -convert big_endian -traceback -g -fp-model source -qopenmp")
setenv("myCPP","/lib/cpp")
setenv("myCPPFLAGS","-P")
23 changes: 0 additions & 23 deletions modulefiles/gfs_bufr.orion

This file was deleted.

Loading

0 comments on commit 626306d

Please sign in to comment.