Skip to content

Porting UPP for gfs v16 on wcoss2#420

Merged
WenMeng-NOAA merged 14 commits into
NOAA-EMC:release/gfs_v16from
WenMeng-NOAA:post_gfsv16_wcoss2
Dec 9, 2021
Merged

Porting UPP for gfs v16 on wcoss2#420
WenMeng-NOAA merged 14 commits into
NOAA-EMC:release/gfs_v16from
WenMeng-NOAA:post_gfsv16_wcoss2

Conversation

@WenMeng-NOAA
Copy link
Copy Markdown
Collaborator

The changes are added for porting UPP for gfs v16 on wcoss2.

@WenMeng-NOAA WenMeng-NOAA linked an issue Dec 2, 2021 that may be closed by this pull request
@aerorahul
Copy link
Copy Markdown
Contributor

@WenMeng-NOAA why are manage_externals changes required here?

@WenMeng-NOAA
Copy link
Copy Markdown
Collaborator Author

@aerorahul @KateFriedman-NOAA found a new version of manage_externals is needed for the global-workflow checking gtg code.

@KateFriedman-NOAA
Copy link
Copy Markdown
Contributor

@aerorahul @KateFriedman-NOAA found a new version of manage_externals is needed for the global-workflow checking gtg code.

@WenMeng-NOAA Can the GTG checkout happen without manage_externals? I use whatever method you provide on the workflow side to do the checkouts. We're trying to move away from manage_externals now for a few reasons. Can we clone the GTG with submodule commands instead? Thanks!

Comment thread jobs/J_NCEPPOST Outdated
Copy link
Copy Markdown
Contributor

@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.

Non-manage-externals-related changes look good and cover the changes Wen and I discussed when I initially tested the post jobs on WCOSS2. I am rebuilding my copy of the UPP with the recent LUA updates and will do the following for this PR:

  1. retest post jobs on Dogwood with updated UPP copy and have Wen look at output
  2. update my copy of the UPP to use submodules instead of manage_externals; will provide needed updates for Wen to incorporate

Stay tuned...

@WenMeng-NOAA
Copy link
Copy Markdown
Collaborator Author

@aerorahul @KateFriedman-NOAA found a new version of manage_externals is needed for the global-workflow checking gtg code.

@WenMeng-NOAA Can the GTG checkout happen without manage_externals? I use whatever method you provide on the workflow side to do the checkouts. We're trying to move away from manage_externals now for a few reasons. Can we clone the GTG with submodule commands instead? Thanks!

@KateFriedman-NOAA Yes, @aerorahul has been helping me on configurating gtg code checking out as a submodule.

@KateFriedman-NOAA
Copy link
Copy Markdown
Contributor

@WenMeng-NOAA Please see the following log from rebuilding the UPP after recent updates, please confirm the build went as intended:

/lfs/h2/emc/global/noscrub/Kate.Friedman/git/feature-ops-wcoss2/sorc/logs/build_ncep_post_test5.log

Thanks!

Note: this is before I make any changes for the GTG checkout

@WenMeng-NOAA
Copy link
Copy Markdown
Collaborator Author

@WenMeng-NOAA Please see the following log from rebuilding the UPP after recent updates, please confirm the build went as intended:

/lfs/h2/emc/global/noscrub/Kate.Friedman/git/feature-ops-wcoss2/sorc/logs/build_ncep_post_test5.log

Thanks!

Note: this is before I make any changes for the GTG checkout

@KateFriedman-NOAA Your build log look good to me. Thanks!

@KateFriedman-NOAA
Copy link
Copy Markdown
Contributor

@KateFriedman-NOAA Your build log look good to me. Thanks!

Thanks for confirming @WenMeng-NOAA ! I'm working on the patch to retire manage_externals and use submodules instead for the GTG checkout. Will provide the patch to include in this PR when ready.

@KateFriedman-NOAA
Copy link
Copy Markdown
Contributor

@WenMeng-NOAA A quick update... @aerorahul and I are still working on the patch (ironing out a detail) but I have removed manage_externals in my fork copy of the post_gfsv16_wcoss2 branch and added the initial submodule setup. See my changes thus far at this link:

WenMeng-NOAA/UPP@post_gfsv16_wcoss2...KateFriedman-NOAA:post_gfsv16_wcoss2

I hacked things on the workflow side a tad to get the right tag version of the GTG checked out (the detail to iron out) and tested the build with GTG changes in place. Please see the following log and confirm that my build with GTG worked:

/lfs/h2/emc/global/noscrub/Kate.Friedman/git/feature-ops-wcoss2/sorc/logs/build_ncep_post_test6_gtg.log

I will submit a PR into your fork post_gfsv16_wcoss2 branch with the patch when ready. Thanks!

@WenMeng-NOAA
Copy link
Copy Markdown
Collaborator Author

/lfs/h2/emc/global/noscrub/Kate.Friedman/git/feature-ops-wcoss2/sorc/logs/build_ncep_post_test6_gtg.log

Your build log looks good to me. Thanks!

@KateFriedman-NOAA
Copy link
Copy Markdown
Contributor

Your build log looks good to me. Thanks!

Thanks @WenMeng-NOAA ! I just reran all of my gdaspost* jobs and the gfspost023 job in my Dogwood test. Please see the following logs and output and let me know if it looks ok:

gdaspost*:
/lfs/h2/emc/ptmp/Kate.Friedman/comrot/testcyc768b/logs/2021082400/gdaspost0*log
/lfs/h2/emc/ptmp/Kate.Friedman/comrot/testcyc768b/gdas.20210824/00/atmos

gfspost023 (just redid the f213 files):
/lfs/h2/emc/ptmp/Kate.Friedman/comrot/testcyc768b/logs/2021082400/gfspost023.log
/lfs/h2/emc/ptmp/Kate.Friedman/comrot/testcyc768b/gfs.20210824/00/atmos/f213

FYI, I will be running a cleaner fresh test next week for everyone to examine, so I'll send logs/output to look at again when I do that test. Thanks!

@WenMeng-NOAA
Copy link
Copy Markdown
Collaborator Author

Your build log looks good to me. Thanks!

Thanks @WenMeng-NOAA ! I just reran all of my gdaspost* jobs and the gfspost023 job in my Dogwood test. Please see the following logs and output and let me know if it looks ok:

gdaspost*: /lfs/h2/emc/ptmp/Kate.Friedman/comrot/testcyc768b/logs/2021082400/gdaspost0*log /lfs/h2/emc/ptmp/Kate.Friedman/comrot/testcyc768b/gdas.20210824/00/atmos

gfspost023 (just redid the f213 files): /lfs/h2/emc/ptmp/Kate.Friedman/comrot/testcyc768b/logs/2021082400/gfspost023.log /lfs/h2/emc/ptmp/Kate.Friedman/comrot/testcyc768b/gfs.20210824/00/atmos/f213

FYI, I will be running a cleaner fresh test next week for everyone to examine, so I'll send logs/output to look at again when I do that test. Thanks!

@KateFriedman-NOAA The runtime logs and UPP datasets look good to me. Thanks!

@KateFriedman-NOAA
Copy link
Copy Markdown
Contributor

@WenMeng-NOAA I submitted PR #5 from my fork to your fork with updates for converting the GTG checkout from manage_externals to git submodules. I wasn't able to add reviewers or assignees or labels.

@WenMeng-NOAA
Copy link
Copy Markdown
Collaborator Author

@KateFriedman-NOAA Your PR looks good to me. Would you like to have someone else review it?

@KateFriedman-NOAA
Copy link
Copy Markdown
Contributor

@KateFriedman-NOAA Your PR looks good to me. Would you like to have someone else review it?

Nope, since it works for you and both @aerorahul and myself tested it, it should be good to submit my PR into your branch. Thanks!

* Retire manage_externals for GTG checkout

- remove manage_externals copy from repo
- remove associated Externals.cfg file
- replacing GTG checkout with submodules

Refs: NOAA-EMC#363

* Add UPP_GTG submodule

- created .gitmodules file via git submodule add command:
git submodule add https://github.com/NCAR/UPP_GTG sorc/post_gtg.fd
- new post_gtg.fd subfolder added (empty before submodule checkout)

Refs: NOAA-EMC#363

* Updating submodule pointer of GTG to ncep_post_gtg.v2.0.4
@WenMeng-NOAA WenMeng-NOAA added the Ready for Review This PR is ready for code review. label Dec 7, 2021
@WenMeng-NOAA
Copy link
Copy Markdown
Collaborator Author

@KateFriedman-NOAA and @aerorahul It looks the branch is working for inline and offline post in Kate's GFS V16 end-to-end testing on WCOSS2. Do you have more comments on it? Thanks!

Copy link
Copy Markdown
Contributor

@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.

Looks good and post jobs in GFS tests are working as intended. Thanks!

Copy link
Copy Markdown
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

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

Defer to @KateFriedman-NOAA. No further comments from me.

@KateFriedman-NOAA
Copy link
Copy Markdown
Contributor

@WenMeng-NOAA If you could look at the post output in my free-forecast test that ran overnight and then, assuming it looks good, I'm good for this to be submitted. See this g-w issue comment with output details: NOAA-EMC/global-workflow#399 (comment) . Thanks!

@WenMeng-NOAA WenMeng-NOAA merged commit 52af7f9 into NOAA-EMC:release/gfs_v16 Dec 9, 2021
@WenMeng-NOAA WenMeng-NOAA deleted the post_gfsv16_wcoss2 branch January 10, 2022 17:22
EricJames-NOAA pushed a commit to EricJames-NOAA/UPP that referenced this pull request Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GFSV16 Ready for Review This PR is ready for code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port UPP for GFS V16 to WCOSS2

3 participants