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

Fix ocean restarts when cold starting with DOIAU=YES #3278

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jswhit2
Copy link
Contributor

@jswhit2 jswhit2 commented Jan 28, 2025

Description

Fixes logic in forecast_predet.sh so that ocean restarts are written correctly when DOIAU="YES" for a cold-started experiment.

Note: there are currently no CI tests that cover this.

Resolves #3277

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 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? NO

How has this been tested?

run a 3dvar coupled experiment.

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
  • I have documented my code, including function, input, and output descriptions
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • This change is covered by an existing CI test or a new one has been added
  • Any new scripts have been added to the .github/CODEOWNERS file with owners
  • I have made corresponding changes to the system documentation if necessary

@jswhit2
Copy link
Contributor Author

jswhit2 commented Jan 29, 2025

@KateFriedman-NOAA I think this complements PR #3215, which handled the staging part of the problem

@KateFriedman-NOAA
Copy link
Member

Awesome, thanks @jswhit2 ! Could you share the experiment setup and/or output/logs that you ran? It would be helpful for us to see the cold-start case you ran since we don't currently have any CI tests that cover this scenario. Thanks!

@jswhit2
Copy link
Contributor Author

jswhit2 commented Jan 30, 2025

@KateFriedman-NOAA - I ran the test on gaea, but I can copy the yamls over to hera if you don't have access

@KateFriedman-NOAA
Copy link
Member

@jswhit2 I have Gaea access and can view them there, please share the path, thanks!

@jswhit2
Copy link
Contributor Author

jswhit2 commented Jan 30, 2025

on gaeac6 I ran

pslot="C192coupled3dvar_test" HPC_ACCOUNT="ira-da" RUNTESTS="/gpfs/f6/ira-da/scratch/Jeffrey.S.Whitaker/GWTESTS" ICSDIR_ROOT="/gpfs/f6/ira-da/proj-shared/Jeffrey.S.Whitaker/replayics/C192mx025" ./workflow/create_experiment.py --yaml /ncrc/home2/Jeffrey.S.Whitaker/global-workflow/yamls/C192mx025_3DVarAOWCDA.yaml

after copying /ncrc/home2/Jeffrey.S.Whitaker/global-workflow/gaeac6.yaml to workflow/hosts. After setting up the experiment, I edited config.base in the EXPDIR and set MAKE_PREPBUFR=NO

@WalterKolczynski-NOAA WalterKolczynski-NOAA changed the title fix for ocean restarts when cold starting with DOIAU=YES Fix ocean restarts when cold starting with DOIAU=YES Jan 30, 2025
@KateFriedman-NOAA
Copy link
Member

@jswhit2 Thanks for that info! Would you mind opening your IC set permissions? I am unable to access them during the staging job. Thanks!

Kate.Friedman@gaea61:/gpfs/f6/drsa-precip3/scratch/Kate.Friedman/RUNTESTS/EXPDIR/C192coupled3dvar_test> ll /gpfs/f6/ira-da/proj-shared/Jeffrey.S.Whitaker/replayics/C192mx025/
ls: cannot access '/gpfs/f6/ira-da/proj-shared/Jeffrey.S.Whitaker/replayics/C192mx025/': Permission denied

@jswhit2
Copy link
Contributor Author

jswhit2 commented Jan 30, 2025

@KateFriedman-NOAA I just copied the replayics directory to /gpfs/f6/ira-da/world-shared

@KateFriedman-NOAA
Copy link
Member

Great, thanks @jswhit2 !

Copy link
Member

@KateFriedman-NOAA KateFriedman-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good. I was able to replicate the error with the provided test case on Gaea-C6 and then the fcst job worked after implementing the fix in my testing clone. Thanks for this fix @jswhit2 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

first gdas fcst fails when DOIAU=YES and warm_start=.false. (cold start)
3 participants