Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Orion and Hera modulefiles to LUA format and hpc-stack #648

Merged
merged 23 commits into from
Feb 15, 2022

Commits on Feb 8, 2022

  1. Rename Orion modulefiles for LUA format

    - add the ".lua" extension to the Orion modulefiles
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    90a69be View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. Remove uneeded modulefiles for Orion/WCOSS-Dell

    - cleaned out modulefiles that are no longer needed for OznMon/Radmon
    - remove errant workflow_utils.orion.lua (wrong branch)
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    d83597f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e88009 View commit details
    Browse the repository at this point in the history
  3. Add myFC variable to WCOSS2 modulefiles

    - add "setenv("myFC","ftn")" to the modulefiles for fbwndgfs
    and storm_reloc on WCOSS2
    - needed to set FC on WCOSS2 now that other platforms have
    to set FC differently (e.g. mpiifort on Orion)
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    73b5664 View commit details
    Browse the repository at this point in the history
  4. Update fbwndgfs and storm_reloc builds to use myFC

    - update fbwndgfs makefile.GENERIC to use myFC variable
    - update build_tropcy_NEMS.sh to use myFC variable
    - also update build_tropcy_NEMS.sh to adjust JASPER_LIB variable
    and remove wcoss2 check for setting SIGIO_LIB4 and SIGIO_INC4
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    b246fd3 View commit details
    Browse the repository at this point in the history
  5. Cleanup machine-setup.sh

    - cleanup Orion, Hera, and Jet blocks to just set target and
    do a module purge
    - add $target.ver sourcing after build.ver sourcing
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    50cf445 View commit details
    Browse the repository at this point in the history
  6. Update gfs_bufrsnd build for hpc-stack

    - update the gfs_bufr build and makefile to use hpc-stack library variables
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    4f063a9 View commit details
    Browse the repository at this point in the history
  7. Update machine-setup.sh target version sourcing

    - wrap $target.ver sourcing in block that checks if user is not on
    WCOSS2 and source if so
    - do not need or have wcoss2.ver file at this time
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    5c11513 View commit details
    Browse the repository at this point in the history
  8. Update NETCDF_LDFLAGS_F in gaussian_sfcanl build

    - adjust NETCDF_LDFLAGS_F flags in gaussian_sfcanl.fd/makefile.sh
    to flip -lnetcdf/-lnetcdff order, add -lhdf5_hl flag, and add -lz flag
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    de03082 View commit details
    Browse the repository at this point in the history
  9. Add $target.ver sourcing for Orion/Hera to load_fv3gfs_modules.sh

    - need to now source the target-specific version files before
    loading modulebase.$target.lua on Hera and Orion
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    529dfd6 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Update build_regrid_nemsio.sh with NETCDF_LDFLAGS

    - add NETCDF_LDFLAGS flags to successfully build regrid_nemsio
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    1af6dfa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55b9eb8 View commit details
    Browse the repository at this point in the history
  3. Create new $target.ver files for Hera and Orion

    - under the versions folder create new hera.ver and orion.ver
    - new target-specific version files will be used to set hpc-stack
    modules and versions, as well potentially override other versions
    as needed on the specific platforms
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    d005cb6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ed6024d View commit details
    Browse the repository at this point in the history
  5. Convert Hera modulefiles to LUA format and hpc-stack

    - convert the contents of the newly renamed Hera modules to use LUA format
    - convert Hera modulefiles to load hpc-stack modules
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    e50fea9 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. Remove unneeded module loads from enkf_chgres_recenter build

    - remove hdf5 and netcdf module loads from enkf_chgres_recenter modulefiles
    - reran builds to confirm
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    28d1a7b View commit details
    Browse the repository at this point in the history
  2. Remove unneeded modules from fbwndgfs build

    - remove nemsio and sigio modules from gfs_fbwndgfs build
    - reran builds to confirm
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    75fb6da View commit details
    Browse the repository at this point in the history
  3. Add HPSS module load back into Hera module_base

    - was erroneously removed, added back into module_base.hera.lua
    - added companion hpss_ver to hera.ver
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    7425fd6 View commit details
    Browse the repository at this point in the history
  4. Create wcoss2.ver

    - create empty wcoss2.ver to go alongside other new machine-specific
    version files
    - update machine-setup.sh to load $target.ver on all machines now
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    1901756 View commit details
    Browse the repository at this point in the history
  5. Update SIGIO library variables in build_tropcy_NEMS.sh

    - replace SIGIO_LIB4 with SIGIO_LIB
    - replace SIGIO_INC4 with SIGIO_INC
    - remove two lines that set "4" variables to non-"4" variables
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    40253b9 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. Add prod_util_ver to orion.ver

    - only available prod_util on Orion is prod_util/1.2.2
    - add prod_util_ver=1.2.2 to orion.ver to override WCOSS2 version
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    7b3b96e View commit details
    Browse the repository at this point in the history
  2. Add prod_util_ver and cmake_ver to hera.ver

    - add overrides for prod_util and cmake versions to hera.ver
    - use available hpc-stack versions to override WCOSS2 defaults
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    3aab53f View commit details
    Browse the repository at this point in the history
  3. Add cmake_ver to orion.ver

    - override WCOSS2 default for cmake_ver and use 3.22.1 on Orion
    
    Refs: NOAA-EMC#639
    KateFriedman-NOAA committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    238efed View commit details
    Browse the repository at this point in the history