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

flexible output hour for history files and and update MOM6 to GFDL 20210723 #691

Merged
merged 35 commits into from
Jul 27, 2021

Conversation

junwang-noaa
Copy link
Collaborator

@junwang-noaa junwang-noaa commented Jul 15, 2021

PR Checklist

  • Ths PR is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR. Please consult the ufs-weather-model wiki if you are unsure how to do this.

  • This PR has been tested using a branch which is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR

  • An Issue describing the work contained in this PR has been created either in the subcomponent(s) or in the ufs-weather-model. The Issue should be created in the repository that is most relevant to the changes in contained in the PR. The Issue and the dependent sub-component PR
    are specified below.

  • [] If new or updated input data is required by this PR, it is clearly stated in the text of the PR.

Instructions: All subsequent sections of text should be filled in as appropriate.

The information provided below allows the code managers to understand the changes relevant to this PR, whether those changes are in the ufs-weather-model repository or in a subcomponent repository. Ufs-weather-model code managers will use the information provided to add any applicable labels, assign reviewers and place it in the Commit Queue. Once the PR is in the Commit Queue, it is the PR owner's responsiblity to keep the PR up-to-date with the develop branch of ufs-weather-model.

Description

In this PR, model is allowed to output history files at flexible (random) forecast hours.

  • fdiag, fhout,fhmax, fhouthf, and fhmaxhf are removed from fv3 namelist atmos_model_nml. With the code updates, those variables should be deleted from namelist.
  • in model_configure, output_fh is added to control flexible output forecast time
  • The usage of restart_interval is updated to be consistent with outout_fh
  • A new test control_fhzero is added. Because of this test, control test will have the history files saved at fh=21 so that those history files can be used to compare with those from control_fhzero.
  • update MOM6 to GFDL 20210723 from @jiandewang
  • Move to using hecflow01 on hera from @BrianCurtis-NOAA
  • CI test update from @MinsukJi-NOAA

Issue(s) addressed

Link the issues to be closed with this PR, whether in this repository, or in another repository.

Testing

How were these changes tested? What compilers / HPCs was it tested with? Are the changes covered by regression tests? (If not, why? Do new tests need to be added?) Have regression tests and unit tests (utests) been run? On which platforms and with which compilers? (Note that unit tests can only be run on tier-1 platforms)

Dependencies

If testing this branch requires non-default branches in other repositories, list them. Those branches should have matching names (ideally).

@junwang-noaa junwang-noaa changed the title add code changes for flexible output hour flexible output hour for history files Jul 15, 2021
@junwang-noaa junwang-noaa added the Waiting for Reviews The PR is waiting for reviews from associated component PR's. label Jul 26, 2021
@BrianCurtis-NOAA
Copy link
Collaborator

Machine: hera
Compiler: intel
Job: BL
Repo location: /scratch1/NCEPDEV/nems/emc.nemspara/autort/pr/690827652/20210726193041/ufs-weather-model
Please manually delete: /scratch1/NCEPDEV/stmp2/emc.nemspara/FV3_RT/rt_7895
Please make changes and add the following label back:
hera-intel-BL

@BrianCurtis-NOAA
Copy link
Collaborator

Machine: hera
Compiler: intel
Job: BL
Repo location: /scratch1/NCEPDEV/nems/emc.nemspara/autort/pr/690827652/20210726193041/ufs-weather-model
Please manually delete: /scratch1/NCEPDEV/stmp2/emc.nemspara/FV3_RT/rt_7895
Please make changes and add the following label back:
hera-intel-BL

Looks like the BL tag was added by accident. Colors are too close I guess. Fixed that.

@BrianCurtis-NOAA
Copy link
Collaborator

Machine: jet
Compiler: intel
Job: RT
Repo location: /lfs4/HFIP/h-nems/emc.nemspara/autort/pr/690827652/20210726191521/ufs-weather-model
Please manually delete: /lfs4/HFIP/h-nems/emc.nemspara/RT_RUNDIRS/emc.nemspara/FV3_RT/rt_298242
Test datm_control_gefs 082 failed in run_test failed
Test datm_cdeps_bulk_gefs 093 failed in run_test failed
Please make changes and add the following label back:
jet-intel-RT

@DeniseWorthen
Copy link
Collaborator

Both job failures on jet were sbatch: error: Batch job submission failed: Socket timed out on send/recv operation

Copy link
Collaborator

@DeniseWorthen DeniseWorthen left a comment

Choose a reason for hiding this comment

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

Changes look good. I do think we need good documentation to allow users to take advantage of the feature.

@@ -0,0 +1,37 @@
total_member: @[ENS_NUM]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not used anymore. Can be removed in one of the future PRs.

@junwang-noaa
Copy link
Collaborator Author

Both job failures on jet were sbatch: error: Batch job submission failed: Socket timed out on send/recv operation

I reran the two tests, both passed on jet.

Compile 001 elapsed time 259 seconds. -DAPP=NG-GODAS-NEMSDATM -DMPI=ON -DCMAKE_BUILD_TYPE=Release -DSIMDMULTIARCH=ON -DMOM6SOLO=ON
Compile 002 elapsed time 259 seconds. -DAPP=NG-GODAS -DMPI=ON -DCMAKE_BUILD_TYPE=Release -DSIMDMULTIARCH=ON -DMOM6SOLO=ON

baseline dir = /lfs4/HFIP/h-nems/emc.nemspara/RT/NEMSfv3gfs/develop-20210722/INTEL/datm_control_gefs
working dir = /lfs4/HFIP/h-nems/emc.nemspara/RT_RUNDIRS/emc.nemspara/FV3_RT/rt_92768/datm_control_gefs
Checking test 001 datm_control_gefs results ....
Comparing RESTART/MOM.res.nc ............ALT CHECK......OK
Comparing RESTART/iced.2011-10-02-00000.nc .........OK
Comparing RESTART/DATM_GEFS.cpl.r.2011-10-02-00000.nc .........OK

0: The total amount of wall time = 118.220097
Test 001 datm_control_gefs PASS

baseline dir = /lfs4/HFIP/h-nems/emc.nemspara/RT/NEMSfv3gfs/develop-20210722/INTEL/datm_cdeps_bulk_gefs
working dir = /lfs4/HFIP/h-nems/emc.nemspara/RT_RUNDIRS/emc.nemspara/FV3_RT/rt_92768/datm_cdeps_bulk_gefs
Checking test 002 datm_cdeps_bulk_gefs results ....
Comparing RESTART/MOM.res.nc ............ALT CHECK......OK
Comparing RESTART/iced.2011-10-02-00000.nc .........OK
Comparing RESTART/DATM_GEFS.cpl.r.2011-10-02-00000.nc .........OK

0: The total amount of wall time = 191.770578
Test 002 datm_cdeps_bulk_gefs PASS

@@ -57,7 +61,7 @@ export SYEAR=2021
export SMONTH=03
export SDAY=22
export SHOUR=06
export RESTART_INTERVAL=12
export RESTART_INTERVAL="12 -1"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I didn't read the code carefully, it seems. Does -1 mean at the end of the forecast run?

@junwang-noaa
Copy link
Collaborator Author

junwang-noaa commented Jul 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for Reviews The PR is waiting for reviews from associated component PR's.
Projects
None yet
7 participants