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

Update CMEPS #3

Merged
merged 38 commits into from
Jul 9, 2020
Merged

Update CMEPS #3

merged 38 commits into from
Jul 9, 2020

Conversation

DeniseWorthen
Copy link
Collaborator

@DeniseWorthen DeniseWorthen commented Jun 29, 2020

Issue #1

  • Removes use of ifrac_nstod in med_fraction_set

Issue #2

  • Implements correct mapping for fractional land mode when coupling_mode is set to 'nems_frac'

Additional changes:

  • Creates separate DataInitialize and prep_ocn code blocks for nems modes (nems_orig, nems_frac or nems_orig_data) which are distinct from corresponding CESM modes.
  • Implements bulkflux fix for datm as in NEMS (PR # 69)
  • Adds field dictionary changes to fd_nems.yaml for CICE6.
  • Removes aoflux associated field bundles from nems_orig and nems_frac modes.
  • Minor cleanup of mis-spellings or other text.

New baselines will be required.

Related PR:
ufs-s2s-model

DeniseWorthen and others added 30 commits April 17, 2020 07:41
* added new prealpha test that does not have threading on for now

* fix Makefile, log message print

* bug fixes for prealpha tests

* bug fixes for B1850

* fix problems with ocnalb calculation on intialization

* update fd_nems.yaml for wave field, turn off profiling and
histavg variables

* udpates for esmf8.1

* make esmf8.0 and esmf8.1 compatible

* changes to get nuopc to run without a mediator and bug fixes

* updates with additional TODO notes

* changes to have nuopc cases run without a mediator

* updates to fix problem in running compsets with no mediator

* fixes for running without a mediator and for running IRT tests

* updates for cleaner nuopc.runconfig

* update pio_stride

* fix spelling error

* this is a bugfix

* add nuopc_share_methods for caps

* change N3 test to use default pelayout

Co-authored-by: Mariana Vertenstein <mvertens@ucar.edu>
Co-authored-by: Jim Edwards <jedwards@ucar.edu>
* added new prealpha test that does not have threading on for now

* fix Makefile, log message print

* bug fixes for prealpha tests

* bug fixes for B1850

* fix problems with ocnalb calculation on intialization

* update fd_nems.yaml for wave field, turn off profiling and
histavg variables

* udpates for esmf8.1

* make esmf8.0 and esmf8.1 compatible

* changes to get nuopc to run without a mediator and bug fixes

* updates with additional TODO notes

* changes to have nuopc cases run without a mediator

* updates to fix problem in running compsets with no mediator

* fixes for running without a mediator and for running IRT tests

* updates for cleaner nuopc.runconfig

* update pio_stride

* fix spelling error

* this is a bugfix

* add nuopc_share_methods for caps

* change N3 test to use default pelayout

Co-authored-by: Mariana Vertenstein <mvertens@ucar.edu>
Co-authored-by: Jim Edwards <jedwards@ucar.edu>
* driver build directory needs to be set in buildexe

* Add EXTRA_MACHDIR xml variable

This is needed to work with the changes in
ESMCI/cime#3508

* Add the NONLOCAL xml variable

This hadn't been added to the CMEPS config_component file

Co-authored-by: Jim Edwards <jedwards@ucar.edu>
Co-authored-by: Bill Sacks <sacks@ucar.edu>
* driver build directory needs to be set in buildexe

* Add EXTRA_MACHDIR xml variable

This is needed to work with the changes in
ESMCI/cime#3508

* Add the NONLOCAL xml variable

This hadn't been added to the CMEPS config_component file

* update mediator to support CICE6 coupling in UFS

* remove med_map_FB_Regrid_Norm_Frac

Co-authored-by: Jim Edwards <jedwards@ucar.edu>
Co-authored-by: Bill Sacks <sacks@ucar.edu>
Co-authored-by: apcraig <anthony.p.craig@gmail.com>
mapping_mode is set according to coupling mode
add mapconf to FBFrac mapping for nems_frac
make changes in fldsExchange for fraction_mod
changes; fix DataInitialize
remove coupling mode dependence for setting ofrac in med_fraction_mod
@DeniseWorthen DeniseWorthen marked this pull request as ready for review July 1, 2020 13:49
@DeniseWorthen
Copy link
Collaborator Author

Baselines are running on Hera and Orion.

@DeniseWorthen
Copy link
Collaborator Author

New Baselines are created on Hera and Orion. Ready for merge.

No answer changes are expected for NEMS but will rerun the
tests to verify
@DeniseWorthen
Copy link
Collaborator Author

DeniseWorthen commented Jul 6, 2020

The changes to med.F90 were tested on cheyenne and did not change answers. When I ran the RT against the new (20200701) baselines I had created for this commit, the answers for some of the tests changed: cpld_fv3_ccpp_384_mom6_cice_cmeps_1d_bmark_rt
cpld_fv3_ccpp_384_mom6_cice_cmeps_2d_atm_flux
cpld_fv3_ccpp_384_mom6_cice_cmeps_ww3_1d_bmark_rt.

I am now testing in a sandbox with and without this med.F90 change; I have not yet identified where the answers are changing. My initial tests in my sandbox are that all answers are reproducible.

@DeniseWorthen
Copy link
Collaborator Author

I believe this can be explained by an error in the RT dependency when creating a new baseline. The cold mediator re-starts were not being copied in from the newly created baseline but from the previous baseline. @MinsukJi-NOAA has identified a fix and once that is committed, I will re-create the baselines.

Authored-by: Jun Wang <junwang-noaa@users.noreply.github.com>
@DeniseWorthen
Copy link
Collaborator Author

@junwang-noaa : My compile on Orion failed with the change to the Makefile. The compile on Hera was fine. Did you test the RT on both machines?

I would like to revert this change so I can get the baselines made and the S2S updated while we figure this out.

The error on Orion was:

med.F90(746): error #6580: Name in only-list does not exist or is not accessible. [ESMF_STATESET]
use ESMF , only : ESMF_StateSet, ESMF_StateIntent_Import, ESMF_StateIntent_Export
----------------------^
med.F90(780): error #6632: Keyword arguments are invalid without an explicit interface. [STATEINTENT]
call ESMF_StateSet(is_local%wrap%NStateImp(n), stateIntent=ESMF_StateIntent_Import, rc=rc)
--------------------------------------------------------^
med.F90(780): error #6632: Keyword arguments are invalid without an explicit interface. [RC]
call ESMF_StateSet(is_local%wrap%NStateImp(n), stateIntent=ESMF_StateIntent_Import, rc=rc)
---------------------------------------------------------------------------------------------^
med.F90(790): error #6632: Keyword arguments are invalid without an explicit interface. [STATEINTENT]
call ESMF_StateSet(is_local%wrap%NStateExp(n), stateIntent=ESMF_StateIntent_Export, rc=rc)
---------------------------------------------------------^
med.F90(790): error #6632: Keyword arguments are invalid without an explicit interface. [RC]
call ESMF_StateSet(is_local%wrap%NStateExp(n), stateIntent=ESMF_StateIntent_Export, rc=rc)
----------------------------------------------------------------------------------------------^
compilation aborted for med.F90 (code 1)

@junwang-noaa
Copy link
Collaborator

junwang-noaa commented Jul 8, 2020 via email

@DeniseWorthen
Copy link
Collaborator Author

New baselines have been created for both orion and hera. @junwang-noaa are we ready to merge this branch to develop?

@DeniseWorthen DeniseWorthen merged commit b74f966 into NOAA-EMC:emc/develop Jul 9, 2020
DeniseWorthen pushed a commit to DeniseWorthen/CMEPS that referenced this pull request Aug 21, 2021
Sync support/HAFS branch with the emc/develop branch as of 04/16/2021
DeniseWorthen pushed a commit to DeniseWorthen/CMEPS that referenced this pull request May 9, 2023
DeniseWorthen pushed a commit to DeniseWorthen/CMEPS that referenced this pull request Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants