Skip to content

ccpp_prebuild: validate suite name in static build, fix legacy Fortran code, improve error handling#240

Closed
climbfuji wants to merge 19 commits into
NCAR:gmtb/developfrom
climbfuji:static_build_validate_suite_name
Closed

ccpp_prebuild: validate suite name in static build, fix legacy Fortran code, improve error handling#240
climbfuji wants to merge 19 commits into
NCAR:gmtb/developfrom
climbfuji:static_build_validate_suite_name

Conversation

@climbfuji
Copy link
Copy Markdown
Collaborator

@climbfuji climbfuji commented Nov 4, 2019

Changes in scripts/mkstatic.py:

  • fix legacy Fortran code (comma after write format specification)
  • add validation of suite name in suite definition file
  • improve error handling: report actual error from physics - use variable assignment instead of write statements to avoid "end of record" runtime errors

These changes have been tested with gmtb-scm NCAR/ccpp-scm#136 and ufs-weather-model when creating dtc/develop (i.e., this PR was pulled into the ccpp-framework gmtb/develop branch after merging master into gmtb/develop, and dtc/develop was created from that merged code). As such, this PR does not need to be merged anymore.

Julie Schramm and others added 16 commits September 26, 2019 13:54
It now resides in ccpp-doc master branch.
…ired for parallel cmake builds in NEMSfv3gfs
Remove CCPPtechnical directory from ccpp-framework master branch.
…dard libraries instead of deprecated or manual tools
…velop_20191016

Update master from gmtb/develop 2019/10/16
Bugfix for travis test in schemes/check/ccpp_prebuild_config.py; add …
@climbfuji climbfuji changed the title ccpp_prebuild: validate suite name in static build, fix legacy Fortran code ccpp_prebuild: validate suite name in static build, fix legacy Fortran code, improve error handling Nov 4, 2019
@codecov-io
Copy link
Copy Markdown

codecov-io commented Nov 4, 2019

Codecov Report

Merging #240 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #240   +/-   ##
=======================================
  Coverage   47.28%   47.28%           
=======================================
  Files          14       14           
  Lines        1343     1343           
=======================================
  Hits          635      635           
  Misses        708      708

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 28fdede...f3cad9e. Read the comment docs.

@climbfuji climbfuji marked this pull request as ready for review November 5, 2019 08:24
@climbfuji climbfuji changed the base branch from master to gmtb/develop November 5, 2019 08:24
@climbfuji climbfuji removed the request for review from gold2718 November 5, 2019 08:24
@climbfuji
Copy link
Copy Markdown
Collaborator Author

@gold2718 you were added as reviewer by mistake, this PR is for our development branches. Please ignore.

@climbfuji climbfuji closed this Nov 5, 2019
@climbfuji climbfuji deleted the static_build_validate_suite_name branch June 27, 2022 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants