Skip to content

[develop] Do not load prod_util or run module reset when running ecflow#4657

Open
DavidHuber-NOAA wants to merge 4 commits intoNOAA-EMC:developfrom
DavidHuber-NOAA:fix/ecflow_load
Open

[develop] Do not load prod_util or run module reset when running ecflow#4657
DavidHuber-NOAA wants to merge 4 commits intoNOAA-EMC:developfrom
DavidHuber-NOAA:fix/ecflow_load

Conversation

@DavidHuber-NOAA
Copy link
Copy Markdown
Contributor

@DavidHuber-NOAA DavidHuber-NOAA commented Mar 13, 2026

Description

When running an ecflow suite, some modules need to be loaded in the ecf scripts and never unloaded (including prod_util). This change this change works to prevent either of these from happening.

Refs #4599

Type of change

  • Bug fix (fixes something broken)
  • New feature (adds functionality)
  • Maintenance (code refactor, clean-up, new CI test, etc.)

Change characteristics

  • Is this change expected to change outputs NO
  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? NO
  • Does this change require an update to any of the following submodules? YES

How has this been tested?

Loaded modules on WCOSS2 with and without ECF_JOB defined. Lin will be testing this in a parallel.

Checklist

  • Any dependent changes have been merged and published
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing tests pass with my changes

@DavidHuber-NOAA DavidHuber-NOAA added the needs submodule update Requires submodule PRs to be merged label Apr 6, 2026
@DavidHuber-NOAA DavidHuber-NOAA changed the title Do not load prod_util or run module reset when running ecflow [develop] Do not load prod_util or run module reset when running ecflow Apr 6, 2026
@DavidHuber-NOAA
Copy link
Copy Markdown
Contributor Author

Opening PR for review. The companion GDASApp PR NOAA-EMC/GDASApp#2118 is currently in review. These PRs do not necessarily need to be coordinated, though NOAA-EMC/GDASApp#2118 must be merged first.

@DavidHuber-NOAA DavidHuber-NOAA marked this pull request as ready for review April 10, 2026 19:38
CoryMartin-NOAA pushed a commit to NOAA-EMC/GDASApp that referenced this pull request Apr 10, 2026
# Description
This PR introduces an if block to the WCOSS2 module file to prevent
prod_util from loading when running an ecflow case. This is necessary to
prevent certain variables from getting clobbered and so prod_util can be
loaded in the .ecf script (which is the standard).

# Issues

Refs NOAA-EMC/global-workflow#4599

This is a prerequisite for NOAA-EMC/global-workflow#4657

# Automated CI tests to run in Global Workflow
<!-- Which Global Workflow CI tests are required to adequately test this
PR? -->
- [x] atm_jjob <!-- JEDI atm single cycle DA !-->
- [x] C96C48_ufs_hybatmDA <!-- JEDI atm cycled DA !-->
- [x] C96C48_hybatmsnowDA <!-- JEDI snow cycled DA !-->
- [x] C96_gcafs_cycled <!-- JEDI aerosol cycled DA !-->
- [x] C48mx500_3DVarAOWCDA <!-- JEDI low-res marine 3DVar cycled DA !-->
- [x] C48mx500_hybAOWCDA <!-- JEDI marine hybrid envar cycled DA !-->
- [x] C96C48_ufsgsi_hybatmDA <!-- JEDI atm Var with GSI EnKF cycled DA
!-->
- [x] C48_ufsenkf_atmDA <!-- JEDI atm EnKF cycled DA !-->
- [x] C96C48_hybatmDA <!-- GSI atm cycled DA !-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs submodule update Requires submodule PRs to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants