Skip to content

Commit

Permalink
Implement single spack version build/run files, update modulefiles fo…
Browse files Browse the repository at this point in the history
…r spack NOAA-EMC#1868
  • Loading branch information
DavidHuber-NOAA committed Nov 17, 2023
1 parent 58c917a commit 5b614d1
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 289 deletions.
1 change: 0 additions & 1 deletion modulefiles/module_base.orion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2"
load(pathJoin("gempak", os.getenv("gempak_ver")))
load(pathJoin("ncl", os.getenv("ncl_ver")))
load(pathJoin("jasper", os.getenv("jasper_ver")))
load(pathJoin("zlib", os.getenv("zlib_ver")))
load(pathJoin("png", os.getenv("libpng_ver")))
load(pathJoin("cdo", os.getenv("cdo_ver")))

Expand Down
3 changes: 1 addition & 2 deletions modulefiles/module_base.s4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ load(pathJoin("miniconda", os.getenv("miniconda_ver")))
load(pathJoin("ncl", os.getenv("ncl_ver")))
load(pathJoin("cdo", os.getenv("cdo_ver")))
load(pathJoin("jasper", os.getenv("jasper_ver")))
load(pathJoin("zlib", os.getenv("zlib_ver")))
load(pathJoin("png", os.getenv("libpng_ver")))
load(pathJoin("libpng", os.getenv("libpng_ver")))

load(pathJoin("hdf5", os.getenv("hdf5_ver")))
load(pathJoin("netcdf", os.getenv("netcdf_ver")))
Expand Down
9 changes: 7 additions & 2 deletions sorc/link_workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@ machine=$(echo "${MACHINE_ID}" | cut -d. -f1)
#------------------------------
#--Set up build.ver and run.ver
#------------------------------
cp "${HOMEgfs}/versions/build.${machine}.ver" "${HOMEgfs}/versions/build.ver"
cp "${HOMEgfs}/versions/run.${machine}.ver" "${HOMEgfs}/versions/run.ver"
if [[ "${machine}" == "wcoss2" ]]; then
cp "${HOMEgfs}/versions/build.${machine}.ver" "${HOMEgfs}/versions/build.ver"
cp "${HOMEgfs}/versions/run.${machine}.ver" "${HOMEgfs}/versions/run.ver"
else
cp "${HOMEgfs}/versions/build.spack.ver" "${HOMEgfs}/versions/build.ver"
cp "${HOMEgfs}/versions/run.spack.ver" "${HOMEgfs}/versions/run.ver"
fi

#------------------------------
#--model fix fields
Expand Down
43 changes: 0 additions & 43 deletions versions/build.jet.ver

This file was deleted.

43 changes: 0 additions & 43 deletions versions/build.orion.ver

This file was deleted.

43 changes: 0 additions & 43 deletions versions/build.s4.ver

This file was deleted.

7 changes: 1 addition & 6 deletions versions/build.hera.ver → versions/build.spack.ver
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,17 @@ export stack_intel_ver=2021.5.0
export stack_impi_ver=2021.5.1
export python_ver=3.10.8

export hpss_ver=hpss
export cmake_ver=3.23.1

export gempak_ver=7.4.2
export jasper_ver=2.0.32
export libpng_ver=1.6.37
export zlib_ver=1.2.11
export zlib_ver=1.2.13
export esmf_ver=8.5.0
export fms_ver=2023.02.01
export cdo_ver=2.0.5
export nco_ver=5.0.6
export ncl_ver=6.6.2
export prod_util_ver=1.2.2

export hdf5_ver=1.14.0
export netcdf_c_ver=4.9.2
Expand All @@ -38,6 +36,3 @@ export grib_util_ver=1.3.0
export py_netcdf4_ver=1.5.8
export py_pyyaml_ver=5.4.1
export py_jinja2_ver=3.1.2
export fit2obs_ver=1.0.0
export met_ver=9.1.3
export metplus_ver=3.1.1
46 changes: 0 additions & 46 deletions versions/run.jet.ver

This file was deleted.

46 changes: 0 additions & 46 deletions versions/run.orion.ver

This file was deleted.

46 changes: 0 additions & 46 deletions versions/run.s4.ver

This file was deleted.

11 changes: 0 additions & 11 deletions versions/run.hera.ver → versions/run.spack.ver
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@ export stack_impi_ver=2021.5.1
export python_ver=3.10.8

export hpss_ver=hpss
export cmake_ver=3.23.1

export gempak_ver=7.4.2
export jasper_ver=2.0.32
export libpng_ver=1.6.37
export zlib_ver=1.2.11
export esmf_ver=8.5.0
export fms_ver=2023.02.01
export cdo_ver=2.0.5
export nco_ver=5.0.6
export ncl_ver=6.6.2
Expand All @@ -21,14 +17,7 @@ export hdf5_ver=1.14.0
export netcdf_c_ver=4.9.2
export netcdf_fortran_ver=4.6.0

export bacio_ver=2.4.1
export nemsio_ver=2.5.4
export sigio_ver=2.3.2
export w3emc_ver=2.10.0
export bufr_ver=11.7.0
export g2_ver=3.4.5
export sp_ver=2.3.3
export ip_ver=4.3.0
export gsi_ncdiag_ver=1.1.2
export g2tmpl_ver=1.10.2
export crtm_ver=2.4.0
Expand Down

0 comments on commit 5b614d1

Please sign in to comment.