-
Notifications
You must be signed in to change notification settings - Fork 250
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
UFS weather model with mixed mode FMS library #1036
Comments
Mixed mode FMS library was built with Intel and GNU For a specific platform, compiler, debug combination, please uncomment one of the
|
All regression tests on Hera and WCOSS Dell for |
Preliminary tests by @SMoorthi-emc for a 10 day run of C1152L127 coupled model resulted in approximately 30% time savings. |
@binli2337 Would you please check why datm_cdeps_debug_cfsr test does not reproduce the baseline? Thanks. @junwang-noaa @jiandewang When the mixed-mode FMS is compiled without the "-march=core-avx2" option, the baseline results can be reproduced on Hera. |
The mixed_mode FMS has been built on Gaea and tests show that the following 4 regression tests can reproduce the baseline using the mixed_mode FMS:
The ufs-weather-model code used: https://github.com/binli2337/ufs-weather-model/tree/feature/mixed_mode To reproduce the results on Gaea, please use the following commands: git clone https://github.com/binli2337/ufs-weather-model |
Results on Hera using gnu compiler: |
Hera gnu debug test passed: |
@MinsukJi-NOAA @binli2337 : sorry for my late reply as I was out of town last week. I just noticed that Niki made minor further code change in MOM_diag_manager_infra.F90 so I updated my MOM6 branch. Note in this updating infra/FMS2 code also has been updated, thus we need to test that too in UFS. |
As discussed with @jiandewang , two changes were made:
All Intel and GNU tests (including debug) passed on Hera. |
@MinsukJi-NOAA can you also try GAEA and wcoss intel ? |
All (coupled and cdeps) RT's passed on wcoss intel. |
based on today's MOM6 meeting discussion, we will do in this order: |
Latest test results are reported here |
Waiting for mom-ocean/MOM6 PR #1566 to be committed |
@jiandewang The following 4 tests have been done using the updated MOM6 code with mixed mode FMS on Gaea. The MOM6 is from https://github.com/jiandewang/MOM6/tree/test/NCAR-20220603. Three tests can reproduce the baseline.
|
@binli2337 this is what I expected. MOM6 code you used is from latest NCAR-candidate (mom-ocean/MOM6#1571) which contains one wave-related bug fixing and that will change answer for S2SW jobs. Thanks for the testing. |
The FMS 2022.03-alpha1 tag has been tested on Gaea with the full set of UFS regression tests. The FMS 2022.03-alpha1 tag is located at https://github.com/NOAA-GFDL/FMS/releases/tag/2022.03-alpha1. On Gaea, there are 104 tests that use r4 FMS library and 32 tests that use r8 FMS library. Both r4 and r8 libraries of FMS 2022.03-alpha1 have been installed on Gaea to do the testing. Tests show that the baseline of current UFS regression tests can be completely reproduced when the FMS 2022.03-alpha1 tag is used. The mixed-mode UFS has also been tested. The mixed-mode UFS includes FV3 component that is compiled with single precision (32-bit) and MOM6 component that is compiled with double precision (64-bit). The atmosphere physics component is compiled with double precision. The following three coupled tests with mixed-mode UFS model have been run on Gaea and the results are expected: cpld_control_p8 (wall time reduction: 10% in a 6-hr run) |
In the previous tests using FMS2022.03-alpha1 tag, FMS1 in MOM6-interface/mom6_files.cmake is used. The following four tests have also been run using FMS2 in MOM6-interface/mom6_files.cmake and the current UFS baseline can be reproduced. datm_cdeps_control_cfsr |
@binli2337 May I ask what is "FMS1"? Do you mean fms_io? |
in current MOM6 code, there are infra/FMS1 and infra/FMS2 code, both works. This is why whenever there is any new updating, I ask Bin test both. Eventually infra/FMS1 will fade away and we will switch to infra/FMS2 code. |
@junwang-noaa MOM6/config_src/infra/FMS1 uses fms_io and MOM6/config_src/infra/FMS2 uses fms2_io. |
@jiandewang Thanks for the explanation. @binli2337 Can you confirm all the coupled tests that use MOM6 with fms2_io run with the FMS2022.03-alpha1 tag? Thanks |
@binli2337 can you make sure that datm_cdeps_iau_gefs and datm_cdeps_stochy_gefs jobs are fine ? these two jobs have extra fixed files to be read in and I had trouble in one of previous MOM6 code updating due to netcdf header format incompatible with fms2_io (the trouble have been fixed and current dev/emc and MOM main code are safe to use fms2_io). Just want to make sure no issue will be brought in in mixed mode. |
To test the updated MOM6 code (https://github.com/jiandewang/MOM6/tree/test/GFDL_candidate-20220721), a) Using FMS1 in MOM6-interface/mom6_files.cmake b) Using FMS2 in MOM6-interface/mom6_files.cmake Results show that the current UFS baseline can be reproduced. The ufs-weather-model code is located at https://github.com/binli2337/ufs-weather-model/tree/update_0727_mixed_mode. |
@binli2337 create issue hpc-stack for installation of the new FMS on all RDHPCS platforms. |
hpc-stack issue NOAA-EMC/hpc-stack#480 |
The fms_mixedmode branch of NOAA-EMC/GFDL_atmos_cubed_sphere was tested with FMS 2022.03 in the ufs-weather-model. All tests passed. The current baseline of ufs-weather-model regression tests can be reproduced. The ufs-weather-model code used: https://github.com/binli2337/ufs-weather-model/tree/fms_mixed_mode. |
Closing. Mixed mode is now added and tested in UFS. |
Description
This issue is created to keep track of issues, test statuses, etc. and everyone involved up to date as the mixed mode FMS library is getting ready to be released.
Solution
Relevant branches, PR's, issues, and test statuses will be listed here.
Alternatives
Communicate via email.
Related to
FMS
NOAA-GFDL/FMS#857
MOM6
NOAA-EMC/MOM6#88
GFDL_atmos_cubed_sphere
NOAA-GFDL/GFDL_atmos_cubed_sphere#163
UFS-weather-model:
https://github.com/MinsukJi-NOAA/ufs-weather-model/tree/fms_mixedmode_20220330
Testing:
Hera/Intel
Hera/Gnu
WCOSS Dell/Intel
Gaea/Intel
@junwang-noaa @binli2337 @jiandewang @SMoorthi-emc
Some more information on mixed mode FMS can be found here
The text was updated successfully, but these errors were encountered: