Skip to content

Travis bionic test#1071

Merged
adcroft merged 4 commits into
mom-ocean:dev/gfdlfrom
marshallward:travis_bionic_test
Mar 6, 2020
Merged

Travis bionic test#1071
adcroft merged 4 commits into
mom-ocean:dev/gfdlfrom
marshallward:travis_bionic_test

Conversation

@marshallward
Copy link
Copy Markdown
Collaborator

This PR includes four major changes:

  • The FMS and mkmf builds are moved into a local deps directory due to a clash of Makefile pattern rules.
  • Update of FMS to the 2019.01.01 release, which includes a few fixes enabling the changes below.
  • Travis environment is upgraded to bionic, in order to get a newer GCC compiler
  • Aggressive initialization flags have been turned on, which set all stack reals to SNaN, and integers (and, since we use GCC, logicals) to 2^31 - 1. Upgrades to FMS and GCC were required to support these flags.

This will enforce stricter initialization rules in the source code, and may expose issues on other branches on a later dev/master merge.

Moving FMS and mkmf to the `build` directory led to conflicts in the
`build/%/Makefile` and `build/%/path_names` rules, which were causing
redundant builds.

This patch moves these repositories back into a local `deps` directory,
now kept inside of `.testing`.
The Travis environment was updated in order to get a newer GCC compiler
version.  This was done to enable more aggressive initialization.
The FMS version has been updated in order to permit more aggressive
initialization settings in MOM6.  This requires a few bugfixes in the
newer FMS release.
Flags for initializing reals on stack as signaling NaNs (SNaN) and
integers as 2**31 - 1 have been added in this build.
@codecov-io
Copy link
Copy Markdown

codecov-io commented Mar 6, 2020

Codecov Report

Merging #1071 into dev/gfdl will increase coverage by 0.45%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1071      +/-   ##
============================================
+ Coverage     45.52%   45.98%   +0.45%     
============================================
  Files           211      212       +1     
  Lines         62690    67332    +4642     
============================================
+ Hits          28541    30960    +2419     
- Misses        34149    36372    +2223
Impacted Files Coverage Δ
src/ALE/PCM_functions.F90 100% <0%> (ø) ⬆️
src/core/MOM_dynamics_unsplit_RK2.F90 92.61% <0%> (-0.29%) ⬇️
src/core/MOM_dynamics_unsplit.F90 91.8% <0%> (-0.22%) ⬇️
src/framework/MOM_random.F90 88.26% <0%> (+0.18%) ⬆️
src/user/benchmark_initialization.F90 100% <0%> (ø) ⬆️
...rc/parameterizations/lateral/MOM_tidal_forcing.F90 68.58% <0%> (+0.67%) ⬆️
src/core/MOM_unit_tests.F90 64.28% <0%> (ø) ⬆️
src/tracer/MOM_tracer_hor_diff.F90 87.4% <0%> (+0.41%) ⬆️
...arameterizations/vertical/MOM_bulk_mixed_layer.F90 59.84% <0%> (+2.74%) ⬆️
src/initialization/MOM_grid_initialize.F90 92.8% <0%> (+0.27%) ⬆️
... and 195 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 e6a4708...65b95e4. Read the comment docs.

@adcroft adcroft merged commit 79c86c3 into mom-ocean:dev/gfdl Mar 6, 2020
@marshallward marshallward deleted the travis_bionic_test branch September 2, 2020 14:52
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