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

+Revised interface to write_cputime #1189

Merged
merged 2 commits into from
Sep 1, 2020

Conversation

Hallberg-NOAA
Copy link
Collaborator

Revised the interface to write_cputime, adding one optional argument and
making another intent inout argument optional when it was not going to be reset,
and also adding a flush of an I/O channel, and added a new subroutine,
MOM_write_cputime_end, to be called during cleanup, potentially via
write_cputime. The write_cputime calls from the solo driver routines have been
modified in accord with these changes, and a final write_cputime call has been
added so that the time used by the whole run is reported. These changes should
address the problems in MOM6 issue #853, which should be closed once this PR is
merged into dev/gfdl. All answers are bitwise identical, but there are minor
interface changes and a new publicly visible subroutine.

  Revised the interface to write_cputime, adding one optional argument and
making another intent inout argument optional when it was not going to be reset,
and also adding a flush of an I/O channel, and added a new subroutine,
MOM_write_cputime_end, to be called during cleanup, potentially via
write_cputime.  The write_cputime calls from the solo driver routines have been
modified in accord with these changes, and a final write_cputime call has been
added so that the time used by the whole run is reported.  These changes should
address the problems in MOM6 issue mom-ocean#853, which should be closed once this PR is
merged into dev/gfdl.  All answers are bitwise identical, but there are minor
interface changes and a new publicly visible subroutine.
@codecov-commenter
Copy link

codecov-commenter commented Aug 25, 2020

Codecov Report

Merging #1189 into dev/gfdl will decrease coverage by 0.05%.
The diff coverage is 37.92%.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1189      +/-   ##
============================================
- Coverage     46.08%   46.02%   -0.06%     
============================================
  Files           214      224      +10     
  Lines         69399    70511    +1112     
============================================
+ Hits          31984    32456     +472     
- Misses        37415    38055     +640     
Impacted Files Coverage Δ
...g_src/external/GFDL_ocean_BGC/FMS_coupler_util.F90 0.00% <0.00%> (ø)
...fig_src/external/GFDL_ocean_BGC/generic_tracer.F90 0.00% <0.00%> (ø)
...c/external/GFDL_ocean_BGC/generic_tracer_utils.F90 0.00% <0.00%> (ø)
config_src/external/ODA_hooks/kdtree.f90 0.00% <0.00%> (ø)
config_src/external/ODA_hooks/ocean_da_core.F90 0.00% <0.00%> (ø)
config_src/external/ODA_hooks/ocean_da_types.F90 0.00% <0.00%> (ø)
config_src/external/ODA_hooks/write_ocean_obs.F90 0.00% <0.00%> (ø)
config_src/solo_driver/MESO_surface_forcing.F90 0.00% <0.00%> (ø)
config_src/solo_driver/user_surface_forcing.F90 0.00% <0.00%> (ø)
src/ALE/MOM_regridding.F90 31.63% <0.00%> (ø)
... and 175 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 457ca3d...3ad1db4. Read the comment docs.

Copy link
Collaborator

@adcroft adcroft left a comment

Choose a reason for hiding this comment

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

@adcroft adcroft merged commit 6b5e6c6 into mom-ocean:dev/gfdl Sep 1, 2020
@Hallberg-NOAA Hallberg-NOAA deleted the revise_write_cputime branch July 30, 2021 18:12
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.

3 participants