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

Updates of ccpp-framework and ccpp-physics (merge ccpp-framework feature/capgen into main/20240308) Combined PR #2190 #2181

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Mar 8, 2024

Commit Queue Requirements:

  • Fill out all sections of this template.
  • All sub component pull requests have been reviewed by their code managers.
  • Run the full Intel+GNU RT suite (compared to current baselines) on either Hera/Derecho/Hercules
    • done before and after the ccpp-physics discussion/code changes
  • Commit 'test_changes.list' from previous step

Description:

This PR updates the submodule pointer for the changes in fv3atm, ccpp-framework and ccpp-physics described in the associated PRs below: in ccpp-framework, merge feature/capgen into main; in ccpp-physics and fv3atm, use flashes per minute as the unit for lightning threat and then scale to flashes per 5 minute in the diagnostic output.

The ccpp-physics and fv3atm change leads to different answers for the conus13km_* regression tests (confirmed by @SamuelTrahanNOAA).

Commit Message:

* UFSWM - 
  * AQM - 
  * CDEPS - 
  * CICE - 
  * CMEPS - 
  * CMakeModules - 
  * FV3 - Update submodule pointers for ccpp-framework and ccpp-physics. Change units flashes 5 min-1 to flashes min-1 and update long name to make clear this is per 5 minutes.
    * ccpp-physics - In physics/Interstitials/UFS_SCM_NEPTUNE/maximum_hourly_diagnostics.meta: change units flashes 5 min-1 to flashes min-1 and update long name to make clear this is per 5 minutes.
    * ccpp-framework - Update main from feature/capgen as of 2024-03-08 (includes optional argument updates in feature/capgen). Only commit on top of the merge is https://github.com/NCAR/ccpp-framework/commit/6cdd38a032d89d0f79c66f37f0c7172e59f135cd which is required to parse the metadata in the Unified Forecast System / ccpp-physics (underscores in units, e.g. degree_north).
    * atmos_cubed_sphere - 
  * GOCART - 
  * HYCOM - 
  * MOM6 - 
  * NOAHMP - 
  * WW3 - 
  * stochastic_physics - 

Priority:

  • Normal

Git Tracking

UFSWM:

This set of PRs is part of the broader issue of transitioning the CCPP Framework code generator from ccpp_prebuild to capgen. Specifically, this issue is required for NCAR/ccpp-framework#540 which in turn is required to fix the -check all issues with unallocated arrays.

Sub component Pull Requests:

UFSWM Blocking Dependencies:

  • None

Changes

Regression Test Changes (Please commit test_changes.list):

  • Baseline changes (thanks to @SamuelTrahanNOAA for retesting after the ccpp-physics discussion):
    • All conus13km tests fail, as expected:
[dheinzel@hercules-login-2 tests]$ cat fail_test_conus13km_*
conus13km_control_gnu failed in check_result
conus13km_control_gnu failed in run_test
conus13km_control_intel failed in check_result
conus13km_control_intel failed in run_test
conus13km_debug_2threads_gnu failed in check_result
conus13km_debug_2threads_gnu failed in run_test
conus13km_debug_2threads_intel failed in check_result
conus13km_debug_2threads_intel failed in run_test
conus13km_debug_gnu failed in check_result
conus13km_debug_gnu failed in run_test
conus13km_debug_intel failed in check_result
conus13km_debug_intel failed in run_test
conus13km_debug_qr_gnu failed in check_result
conus13km_debug_qr_gnu failed in run_test
conus13km_debug_qr_intel failed in check_result
conus13km_debug_qr_intel failed in run_test
conus13km_radar_tten_debug_gnu failed in check_result
conus13km_radar_tten_debug_gnu failed in run_test
conus13km_radar_tten_debug_intel failed in check_result
conus13km_radar_tten_debug_intel failed in run_test
* Lightning threat differences are on the order of 1e-7 or less, indicating it all works.
* All other tests passed.

Input data Changes:

  • None.

Library Changes/Upgrades:

  • No Updates

Testing Log:

  • RDHPCS
    • Hera
    • Orion
    • Hercules
    • Jet
    • Gaea
    • Derecho
  • WCOSS2
    • Dogwood/Cactus
    • Acorn
  • CI
  • opnReqTest (complete task if unnecessary)

…v3atm: scale lightning threat indices from flashes per 5 minutes to flashes per minute, and then back to flashes per 5 minutes
…r-model into feature/ccpp_framework_merge_feature_capgen_into_main_20240308
@SamuelTrahanNOAA
Copy link
Collaborator

I suggest ufs-community/ccpp-physics#182 be split to its own PR since it is expected to be answer-changing. All conus13km tests will change their lightning threat output by 1e-6 or so due to a unit conversion. This way, we can isolate any answer changes in this pull request with only capgen.

@climbfuji
Copy link
Collaborator Author

I suggest ufs-community/ccpp-physics#182 be split to its own PR since it is expected to be answer-changing. All conus13km tests will change their lightning threat output by 1e-6 or so due to a unit conversion. This way, we can isolate any answer changes in this pull request with only capgen.

There are no answer changes except the ones you identified. I ran the full regression test suite before adding your changes in and all results were b4b identical.

@climbfuji
Copy link
Collaborator Author

I suggest ufs-community/ccpp-physics#182 be split to its own PR since it is expected to be answer-changing. All conus13km tests will change their lightning threat output by 1e-6 or so due to a unit conversion. This way, we can isolate any answer changes in this pull request with only capgen.

There are no answer changes except the ones you identified. I ran the full regression test suite before adding your changes in and all results were b4b identical.

In fact, in commit d8d13e2 (that is before adding your changes and updating the submodule pointers up to the top-level repository), I committed the file test_changes.list from my full RT run on Hercules, and it shows zero changes (it removes two lines of tests that had changing results in a previous PR). So that's all documented and we can safely add your ccpp-physics lightning thread changes on top, in my opinion.

@FernandoAndrade-NOAA
Copy link
Collaborator

Hi @climbfuji, PR #2180 was merged in and we'd like to get started on testing this PR. Please go ahead and sync up your branches / resolve any conflicts, thanks.

@FernandoAndrade-NOAA
Copy link
Collaborator

FernandoAndrade-NOAA commented Mar 14, 2024

Please also verify any test changes in this PR by committing the updated test_changes.list file

@climbfuji
Copy link
Collaborator Author

Please also verify any test changes in this PR by committing the updated test_changes.list file

I'll need to rerun the full regression tests for that again. Will do on Hercules.

@climbfuji
Copy link
Collaborator Author

Please also verify any test changes in this PR by committing the updated test_changes.list file

All done, I committed the file and also updated the PR description.

@zach1221 zach1221 added Baseline Updates Current baselines will be updated. Ready for Commit Queue The PR is ready for the Commit Queue. All checkboxes in PR template have been checked. labels Mar 15, 2024
@BrianCurtis-NOAA
Copy link
Collaborator

Nevermind about that. I didn't bring in the bldate.conf change before testing. My bad. All looks good.

@zach1221 zach1221 added the derecho-RT Run regression tests on Derecho label Mar 17, 2024
@zach1221 zach1221 added hercules-RT Run Hera regression testing and removed derecho-RT Run regression tests on Derecho hercules-RT Run Hera regression testing labels Mar 17, 2024
 on-behalf-of @ufs-community <ecc.platform@noaa.gov>
@zach1221 zach1221 added hercules-RT Run Hera regression testing and removed hercules-RT Run Hera regression testing labels Mar 17, 2024
@BrianCurtis-NOAA
Copy link
Collaborator

Skipping Acorn as it's still down.

@zach1221 zach1221 changed the title Updates of ccpp-framework and ccpp-physics (merge ccpp-framework feature/capgen into main/20240308) Updates of ccpp-framework and ccpp-physics (merge ccpp-framework feature/capgen into main/20240308) Combined PR #2190 Mar 18, 2024
@zach1221
Copy link
Collaborator

@climbfuji fv3atm has merged now.
hash: NOAA-EMC/fv3atm@fae9bc2

@climbfuji
Copy link
Collaborator Author

@climbfuji fv3atm has merged now. hash: NOAA-EMC/fv3atm@fae9bc2

Updated, please check. Thanks!

@zach1221 zach1221 merged commit 86b7773 into ufs-community:develop Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Baseline Updates Current baselines will be updated. Ready for Commit Queue The PR is ready for the Commit Queue. All checkboxes in PR template have been checked.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants