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 mpas source #2918

Merged
merged 2 commits into from
May 23, 2019
Merged

Update mpas source #2918

merged 2 commits into from
May 23, 2019

Conversation

mark-petersen
Copy link
Contributor

@mark-petersen mark-petersen commented May 11, 2019

Includes:

  1. LIGHT update (MPAS-Ocean Lagrangian particles): Adds LIGHT modes and capabilities (passive floats, improved sampling) MPAS-Dev/MPAS-Model#56
  2. clean up ice shelf melt flag: Update sub-ice-shelf melt to remove coupled flag MPAS-Dev/MPAS-Model#164
  3. merge coastal branch: Adds wetting and drying capabilities to RK4 with dam break MPAS-Dev/MPAS-Model#54
  4. CONUS mesh update: CONUS mesh update MPAS-Dev/MPAS-Model#201
  5. Major COMPASS upgrade to python 3: Update COMPASS ocean API for python 3 and using conda packages MPAS-Dev/MPAS-Model#229
  6. Eliminate outdated -DUNDERSCORE flag: Eliminate need for -DUNDERSCORE by using F2003's ISO_C_BINDING MPAS-Dev/MPAS-Model#156
  7. PIO Version Compatibility Check - PGI Compiler Bug Fix: PIO Version Compatibility Check - PGI Compiler Bug Fix MPAS-Dev/MPAS-Model#212

These changes do not alter E3SM standard cases or testing on next. COMPASS is the MPAS testing infrastructure. LIGHT and coastal changes are protected by flags and not used in normal E3SM tests.

[NML]
[BFB]

@mark-petersen mark-petersen added mpas-ocean BFB PR leaves answers BFB labels May 11, 2019
@mark-petersen
Copy link
Contributor Author

Passes MPAS-Ocean nightly regression suite with gnu and intel/debug, and is bfb on both with previous head. In E3SM, tested with:

PASS SMS_D_Ln9.T62_oQU120_ais20.MPAS_LISIO_TEST.cori-knl_gnu RUN time=129
PASS SMS_D_Ln9.T62_oQU120_ais20.MPAS_LISIO_TEST.cori-knl_intel RUN time=380
PASS PEM_Ln9.ne30_oECv3wLI.A_WCYCL1850-DIB-ISMF_CMIP6.cori-knl_gnu COMPARE_base_modpes
PASS PET_Ln3.T62_oEC60to30v3wLI.GMPAS-DIB-IAF-ISMF.cori-knl_gnu COMPARE_base_single_thread

@mark-petersen mark-petersen requested a review from jonbob May 11, 2019 02:41
@mark-petersen mark-petersen force-pushed the mark-petersen/update_mpas_bfb branch from cab5373 to b7ad821 Compare May 20, 2019 18:59
@mark-petersen
Copy link
Contributor Author

Rebased and tested again, passes same tests as above.

@mark-petersen
Copy link
Contributor Author

Because this changes a large number of files, I wanted to filter out files that have no bearing on E3SM:

cd components/mpas-source/

git diff 0ca29df --numstat  | \
grep -v core_atmosphere  | \              filter out changes to atmospheric core 
grep -v core_init_atmosphere | \          filter out changes to atmospheric init core 
grep -v 'testing_and_setup/compass' | \   COMPASS only, not used by E3SM 
grep -v 'src/core_ocean/mode_init' # ocean init mode, not used by E3SM

git diff 0ca29df --numstat  | grep -v core_atmosphere|grep -v core_init_atmosphere | grep -v 'testing_and_setup/compass' | grep -v 'src/core_ocean/mode_init'
20	20	Makefile
1	1	README.md
0	6	src/Makefile.in.E3SM
1	1	src/core_landice/Registry.xml
70	1	src/core_ocean/Registry.xml
88	1	src/core_ocean/analysis_members/Registry_lagrangian_particle_tracking.xml
1203	85	src/core_ocean/analysis_members/mpas_ocn_lagrangian_particle_tracking.F
2	2	src/core_ocean/analysis_members/mpas_ocn_okubo_weiss.F
23	10	src/core_ocean/analysis_members/mpas_ocn_okubo_weiss_eigenvalues.c
11	11	src/core_ocean/analysis_members/mpas_ocn_particle_list.F
11	0	src/core_ocean/driver/mpas_ocn_core_interface.F
5	0	src/core_ocean/mode_forward/mpas_ocn_forward_mode.F
60	3	src/core_ocean/mode_forward/mpas_ocn_time_integration_rk4.F
1	1	src/core_ocean/mode_forward/mpas_ocn_time_integration_split.F
8	2	src/core_ocean/shared/Makefile
44	12	src/core_ocean/shared/mpas_ocn_diagnostics.F
6	30	src/core_ocean/shared/mpas_ocn_surface_land_ice_fluxes.F
25	1	src/core_ocean/shared/mpas_ocn_tendency.F
309	0	src/core_ocean/shared/mpas_ocn_tidal_forcing.F
461	0	src/core_ocean/shared/mpas_ocn_wetting_drying.F
1	1	src/core_seaice/Registry.xml
1	1	src/core_sw/Registry.xml
1	1	src/core_test/Registry.xml
29	4	src/framework/mpas_pool_routines.F
22	4	src/framework/mpas_stream_manager.F
14	10	src/framework/pool_hash.c
20	11	src/framework/random_id.c

of these, the following are simply version number updates from 6.2 to 6.3:

1	1	src/core_landice/Registry.xml
1	1	src/core_seaice/Registry.xml
1	1	src/core_sw/Registry.xml
1	1	src/core_test/Registry.xml

These only involve Lagrangian particles or Okubo-Weiss diagnostics that are default off:

88	1	src/core_ocean/analysis_members/Registry_lagrangian_particle_tracking.xml
1203	85	src/core_ocean/analysis_members/mpas_ocn_lagrangian_particle_tracking.F
2	2	src/core_ocean/analysis_members/mpas_ocn_okubo_weiss.F
23	10	src/core_ocean/analysis_members/mpas_ocn_okubo_weiss_eigenvalues.c
11	11	src/core_ocean/analysis_members/mpas_ocn_particle_list.F

These involve wetting and drying in RK4 or surface forcing in stand-alone, which are not used by E3SM (but still compiled by E3SM):

60	3	src/core_ocean/mode_forward/mpas_ocn_time_integration_rk4.F
44	12	src/core_ocean/shared/mpas_ocn_diagnostics.F
309	0	src/core_ocean/shared/mpas_ocn_tidal_forcing.F
461	0	src/core_ocean/shared/mpas_ocn_wetting_drying.F

The remainder can be explained by looking at the MPAS pull requests at the top of the page, or by browsing the individual changes.

@rljacob
Copy link
Member

rljacob commented May 21, 2019

Does this replace #2852?

@mark-petersen
Copy link
Contributor Author

No, this will go first (hopefully merged to next today) and then #2852 will be after that. #2852 is not bfb and we didn't have time to run longer simulations last week, so I put this one first. All the commits on this PR are already merged onto MPAS repo, and the MPAS PRs for #2852 will be merged after this.

Copy link
Contributor

@jonbob jonbob left a comment

Choose a reason for hiding this comment

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

OK by visual inspection

@jonbob jonbob added the NML label May 21, 2019
@jonbob
Copy link
Contributor

jonbob commented May 21, 2019

@mark-petersen - because this PR touches one of our MPAS Registry files, it will have namelist diffs. Plus I will have to go through the process of regenerating the bld and namelist scripts -- so it may not get done today

@jonbob
Copy link
Contributor

jonbob commented May 21, 2019

@mark-petersen - there's an issue with file mode_init/Registry_tidal_boundary.xml. It has missing quotes in this line:
description="Depth of the bottom of the ocean in northern-most end.
that cause the autogeneration scripts to fail

@jonbob
Copy link
Contributor

jonbob commented May 21, 2019

@mark-petersen - has this code been run through the delinter?

@mark-petersen
Copy link
Contributor Author

Thanks. Checking now.

Includes:

1. LIGHT update (MPAS-Ocean Lagrangian particles): MPAS-Dev/MPAS-Model#56
2. clean up ice shelf melt flag: MPAS-Dev/MPAS-Model#164
3. merge coastal branch: MPAS-Dev/MPAS-Model#54
4. CONUS mesh update: MPAS-Dev/MPAS-Model#201
5. Major COMPASS upgrade to python 3: MPAS-Dev/MPAS-Model#229
6. Eliminate outdated -DUNDERSCORE flag: MPAS-Dev/MPAS-Model#156
7. PIO Version Compatibility Check - PGI Compiler Bug Fix: MPAS-Dev/MPAS-Model#212

These changes do not alter E3SM standard cases or testing on next. COMPASS is
the MPAS testing infrastructure. LIGHT and coastal changes are protected by
flags and not used in normal E3SM tests.
@mark-petersen mark-petersen force-pushed the mark-petersen/update_mpas_bfb branch from b7ad821 to 36763e1 Compare May 22, 2019 13:38
@mark-petersen
Copy link
Contributor Author

@jonbob, I de-linted and added those two quotes. Thanks for running the namelist scripts.

jonbob added a commit that referenced this pull request May 22, 2019
Update mpas source

This PR update the mpas-source git submodule but only includes changes that
will not impact E3SM. These changes include:
* LIGHT update (MPAS-Ocean Lagrangian particles): MPAS-Dev/MPAS-Model#56
* clean up ice shelf melt flag: MPAS-Dev/MPAS-Model#164
* merge coastal branch: MPAS-Dev/MPAS-Model#54
* CONUS mesh update: MPAS-Dev/MPAS-Model#201
* Major COMPASS upgrade to python 3: MPAS-Dev/MPAS-Model#229
* Eliminate outdated -DUNDERSCORE flag: MPAS-Dev/MPAS-Model#156
* PIO Version Compatibility Check - PGI Compiler Bug Fix: MPAS-Dev/MPAS-Model#212

These changes do not alter E3SM standard cases or tested configurations.
COMPASS is the MPAS testing infrastructure. LIGHT and coastal changes
are protected by flags and not used in normal E3SM tests.

[NML]
[BFB]
@jonbob
Copy link
Contributor

jonbob commented May 22, 2019

merged to next

@jonbob jonbob merged commit fd97485 into master May 23, 2019
jonbob added a commit that referenced this pull request May 23, 2019
Update mpas source

This PR update the mpas-source git submodule but only includes changes that
will not impact E3SM. These changes include:
* LIGHT update (MPAS-Ocean Lagrangian particles): MPAS-Dev/MPAS-Model#56
* clean up ice shelf melt flag: MPAS-Dev/MPAS-Model#164
* merge coastal branch: MPAS-Dev/MPAS-Model#54
* CONUS mesh update: MPAS-Dev/MPAS-Model#201
* Major COMPASS upgrade to python 3: MPAS-Dev/MPAS-Model#229
* Eliminate outdated -DUNDERSCORE flag: MPAS-Dev/MPAS-Model#156
* PIO Version Compatibility Check - PGI Compiler Bug Fix: MPAS-Dev/MPAS-Model#212

These changes do not alter E3SM standard cases or tested configurations.
COMPASS is the MPAS testing infrastructure. LIGHT and coastal changes
are protected by flags and not used in normal E3SM tests.

[NML]
[BFB]
@jonbob
Copy link
Contributor

jonbob commented May 23, 2019

merged to master

@jonbob jonbob deleted the mark-petersen/update_mpas_bfb branch May 23, 2019 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB PR leaves answers BFB mpas-ocean NML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants