-
Notifications
You must be signed in to change notification settings - Fork 259
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
use FMS 2020.04.02 CMakeLists.txt #404
Conversation
Last round of tests are currently running. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not see FV3 updated submodule, mentioned in PR description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DusanJovic-NOAA, the changes haven't been merged yet in NOAA-EMC/fv3atm. I will update my branch once the PR has been merged in.
That's unfortunately not how it works. Modify your
i.e. you need to do this for all PRs that have changes in submodules. |
@climbfuji, thank you for the info, this is my first PR to the repository :) @DusanJovic-NOAA, I have changed the FMS submodule pointer to checkout the 2020.04.02 tag. |
@mlee03 the additional option in diag_table is exactly what we need. Thanks. |
As pointed out by @aerorahul here https://github.com/NOAA-EMC/fv3atm/pull/243/files#r567918169, none of those updates in various submodules are needed if we add an alias in the top-level CMakeLists.txt. All submodules can just use |
@mlee03
|
@aerorahul, the models are compiling with your changes. I will update my branch with your changes. |
cpld_2threads_prod regression test is not passing |
Can you point me to your run directory? |
@DeniseWorthen, on Orion cd /work/noaa/gfdlscr/mlee/FINAL_UFS_PR_2020.04.02/ufs-weather-model/tests/mlee/FV3_RT/rt_263461/cpld_2threads_prod |
Thanks. I'll take a look at the 2thread case. I also notice you had two other failures but perhaps those were expected? Test fv3_ccpp_gfdlmprad_atmwav 018 failed in check_result failed |
@DeniseWorthen, I think 18 and 19 failed due to Orion issues. Test 18 ran out of runtime, "slurmstepd: error: *** JOB 1165551 ON Orion-10-01 CANCELLED AT 2021-02-01T09:14:00 DUE TO TIME LIMIT ***" and 19 gave "642: Fatal error in PMPI_Wait: Internal MPI error!, error stack: |
Thanks. I couldn't look at the other two tests because of permission issues. |
The problem I'm finding is that MOM6 is not exporting identical values back to the coupler at the third pass through the run sequence. I need to do some more testing and will keep you posted. |
Perhaps I missed something when editing the CMakeLists.txt file in MOM6-interface, I'll look into it. All tests passed before the cmake build was edited to bring in the FMS CMakeLists.txt. |
@DeniseWorthen @jiandewang @junwang-noaa, I'm getting the feeling cpld_2threads regression test fail is not due to cmake build changes. FMS 2020.04.01 passed when tested with commit 742bf4e from Dec 31. That UFS weather model code did not include changes from commit 6a4c307 from Jan 27 which includes "MOM6 bugfixes, GFDL update,... " I will retest FMS 2020.04.01 to see if 2020.04.01 fails with the latest on the develop branch. |
I've been testing cpld_2threads in the current develop vs this branch. I put everything in a sequential run sequence and am running at a single time interval for all the component timesteps and coupling. This is all just to help isolate the coupler history differences. What I see is that the fields imported from the ocean are all different at the second coupling timestep. The difference fields seem to have some odd linear features near the equator? For example, this is the difference in ocean surface temperature imported to CMEPS: |
I will try w/o the halo update in the nuopc_driver. |
I commented out both the halo fix and the fprec fix and got the same results. The GFDL updates are our own changes coming back to us after they were merged into the main branch at GFDL. If I revert to your 3a39352 commit, will that correctly build w/o the change that pointed to an fms library? |
I'm stumped. I built and ran your 3a39352 commit and I also built and ran both this branch and the develop in debug mode. In all cases I'm getting the same result for the cpl_2threads test that the ocean fields exported by MOM6 to the mediator are different on the third pass through the run sequence. |
@mikyung Lee - NOAA Affiliate <mikyung.lee@noaa.gov> @denise Worthen - NOAA
Affiliate <denise.worthen@noaa.gov> I want to confirm, is the threading
issue related to the previous PR#379
<#379> with mom6 bug
fixes?
…On Tue, Feb 2, 2021 at 6:55 PM Denise Worthen ***@***.***> wrote:
I'm stumped. I built and ran your 3a39352
<3a39352>
commit and I also built and ran both in debug mode. In all cases I'm
getting the same result that the ocean fields exported by MOM6 to the
mediator are different on the third pass through the run sequence.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#404 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7D6TPWZUYSLQGUB5T527LS5CGG5ANCNFSM4W5AY3DQ>
.
|
No, I do not think it is related. This is the non-benchmark config where LI_2016 has always been false. Also, that issue related to restart reproducibility and had a very specific signal of the grid decomposition appearing in the MOM6 fields after restart. In this case, the fields are simply different w/ no coherent pattern. When I tested the halo-fix for the commit to ufs-weather, I found that it reproduced current baselines except for the benchmark cases. And, I tested the halo fix here by reverting that change and obtained the same results. |
@DeniseWorthen, sorry for the late reply. Commit 3a39352 however will still use fms2_io and use FMS CMakeLists.txt.
cd /work/noaa/gfdlscr/mlee/PRfor2020.04.01/test_feb02_2021_asis/tests/log_orion.intel
Error in opening the compiled module file. Check INCLUDE paths. [ENS_CPLCOMP_ESMFMOD] USE ENS_CplComp_ESMFMod,ONLY: ENS_CplCompSetServices The log files are in cd /work/noaa/gfdlscr/mlee/PRfor2020.04.01/test_feb02_2021_with_latestUFS/tests/log_orion.intel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
The last commit to ufs-weather removed some legacy code from NEMS. I think you need the change in the top level CMakeLists.txt: here |
cpld_2threads test pass with 2020.04.01 and the latest on the develop branch commit e3983a0 cd /work/noaa/gfdlscr/mlee/PRfor2020.04.01/test_feb02_2021_with_latestUFS/tests |
And the difference between the 2020.04.01 and .02 is solely the cmake build? |
@DeniseWorthen, Yes, cmake should be the only difference |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may cover some part of your cpld threads issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the changes in CMakeLists.txt
I'll also test it. I assume I'll see the same behaviour as before but best to check. |
I get the same failure in with the latest commit too. |
This PR is being closed and a new PR for FMS 2020.04.03 will be made. FMS 2020.04.03 will have CMake support that is compatible with the UFS Weather Model CMake build. |
* Remove ENV_INIT_SCRIPT/init_env and source /etc/profile in lmod-setup. * Move TOPO_DIR and SFC_CLIMO_INPUT_DIR to appropriate sections. * Bug fix for orion and wcoss2 machine files. * Remove ENV_INIT from wcoss2 machine file. * Modify setting of +u/-u. * Do the same for set +e/-e * Minor modification. * Hack for gaea python3 loading.
Description
This PR updates FMS to version
2020.04.02
and includes three notable changes:FMS 2020.04.01 will default to use the newer io implementation called fms2_io. To use the old mpp_io that is in 2019.01.03, the namelist variable
use_mpp_io=.true.
is required for interpolator_nml, xgrid_nml, amip_interp_nml, and diag_manager_nml; anduse_mpp_bug=.true.
in data_override_nmlAn additional option has been implemented in the file section of the diag_table and only affects files using the optional diag_table features. Users can now specify the last field as "begin", "middle", or "end" in order to have more control of the output filename. An example specification is shown below:
Given the above specification, the file corresponding to the first 6 hours of the run will be named
ocn_2016_10_03_00.nc
for "begin"ocn_2016_10_03_03.nc
for "middle"ocn_2016_10_03_06.nc
for "end"If the last field is not specified , "middle" will be used as default. More details are provided here
FMS CMakeLists.txt is incorporated into the UFS Weather Model CMake build.
Two metadata differences may be observed with nccmp:
netcdf_default_format="classic"
infms2_io_nml
to use NC_FORMAT_NETCDF4_CLASSIC.Other than these changes, no answer changes are expected.
Issue(s) addressed
Testing
Last round of regression tests are running on Orion with Intel/2018.4. Stay-tuned.
Dependencies
This PR depends on
PR 37 in noaa-psd/stochastic_physics. PR 37 has been merged in and this PR points to the updated stochastic_phyics submodule.
PR 243 in NOAA-EMC/fv3atm