Skip to content

Commit

Permalink
Merge branch 'NOAA-EMC:develop' into ctest_jjobs_framework
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrenceMcGuinness-NOAA authored Jan 16, 2025
2 parents bfe10a2 + 3acea88 commit 2833514
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions ush/load_ufsda_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ module use "${HOMEgfs}/sorc/gdas.cd/modulefiles"

case "${MACHINE_ID}" in
("hera" | "orion" | "hercules" | "wcoss2")
#TODO: Remove LMOD_TMOD_FIND_FIRST line when spack-stack on WCOSS2
if [[ "${MACHINE_ID}" == "wcoss2" ]]; then
export LMOD_TMOD_FIND_FIRST=yes
fi
module load "${MODS}/${MACHINE_ID}"
ncdump=$( command -v ncdump )
NETCDF=$( echo "${ncdump}" | cut -d " " -f 3 )
Expand Down
2 changes: 1 addition & 1 deletion ush/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ elif [[ ${MACHINE_ID} = s4* ]] ; then
elif [[ ${MACHINE_ID} = wcoss2 ]]; then
# We are on WCOSS2
# Ignore default modules of the same version lower in the search path (req'd by spack-stack)
export LMOD_TMOD_FIND_FIRST=yes
#export LMOD_TMOD_FIND_FIRST=yes #TODO: Uncomment this when using spack-stack
module reset

elif [[ ${MACHINE_ID} = cheyenne* ]] ; then
Expand Down
2 changes: 1 addition & 1 deletion workflow/generate_workflows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function _usage() {
cat << EOF
This script automates the experiment setup process for the global workflow.
Options are also available to update submodules, build the workflow (with
specific build flags), specicy which YAMLs and YAML directory to run, and
specific build flags), specify which YAMLs and YAML directory to run, and
whether to automatically update your crontab.
Usage: generate_workflows.sh [OPTIONS] /path/to/RUNTESTS
Expand Down
4 changes: 2 additions & 2 deletions workflow/rocoto/gfs_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,10 +641,10 @@ def prepoceanobs(self):
def marineanlletkf(self):

deps = []
dep_dict = {'type': 'metatask', 'name': f'enkfgdas_fcst', 'offset': f"-{timedelta_to_HMS(self._base['interval_gdas'])}"}
deps.append(rocoto.add_dependency(dep_dict))
dep_dict = {'type': 'task', 'name': f'{self.run}_prepoceanobs'}
deps.append(rocoto.add_dependency(dep_dict))
dep_dict = {'type': 'task', 'name': f'{self.run}_marinebmat'}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep_condition='and', dep=deps)

resources = self.get_resource('marineanlletkf')
Expand Down

0 comments on commit 2833514

Please sign in to comment.