fix decomp test failure by broadcasting calendar fields #146
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix nonBFB decomposition test comparisons.
Developer(s): E. Hunke
Please suggest code Pull Request reviewers in the column at right.
Are the code changes bit for bit, different at roundoff level, or more substantial?
BFB except for the tests that were failing.
Is the documentation being updated with this PR? (Y/N) N
If not, does the documentation need to be updated separately at a later time? (Y/N) N
Note: "Documentation" includes information on the wiki and .rst files in doc/source/,
which are used to create the online technical docs at https://readthedocs.org/projects/cice-consortium-cice/.
Other Relevant Details:
This PR addresses issue #137. All of the ranks/tasks need calendar information for the frz_onset and mlt_onset variables, but nyr was not broadcast when using restart calendar information. This broadcast has been added for all three I/O types (only netcdf is tested here). We might also need to broadcast month, mday and sec too, but I’ve elected to wait on those until we actually see a problem with them.
I also updated drivers/cice/CICE_RunMod.F90_debug to match the current module. This allows helpful printing of many pertinent fields throughout the timestepping for a grid point specified in ice_diagnostics.F90 (I added frz_onset to the printing routine temporarily but am not committing that change here).
I have tested base_suite and decomp_suite, but using pes=1x8x5x29x80 in decomp_suite instead of 1x20x5x29x80 (see issue #137). The boxrestart test fails (known issue, #138) in base_suite, otherwise everything passes.