Skip to content

Cmakelists separate precision flags includes mynnpbl bugfix#264

Merged
climbfuji merged 2 commits into
NCAR:masterfrom
climbfuji:cmakelists_separate_precision_flags_includes_mynnpbl_bugfix
Jun 11, 2019
Merged

Cmakelists separate precision flags includes mynnpbl bugfix#264
climbfuji merged 2 commits into
NCAR:masterfrom
climbfuji:cmakelists_separate_precision_flags_includes_mynnpbl_bugfix

Conversation

@climbfuji
Copy link
Copy Markdown
Collaborator

This PR adds logic to CMakeLists.txt to set floating point compiler flags separately from other flags, similar to what was done for compiler optimization flags in the past:

  • create special flags (for, for example, 32-bit fast physics) by replacing known expressions in the default precision flags
  • assign those flags to a list of special files
  • assign default precision flags to all other files
  • in addition, this PR fixes an issue with additional flags for auto-generated caps overwriting other flags by appending them correctly as strings

Note: this PR includes #262 "fix divide by zero bug in module_bl_mynn.F90"

grantfirl and others added 2 commits June 7, 2019 13:57
… point precision then for other compiler flags, similar to what was done for the optimization flags; fix settings additional flags for auto-generated caps by appending them
Copy link
Copy Markdown
Contributor

@llpcarson llpcarson left a comment

Choose a reason for hiding this comment

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

approved

@climbfuji climbfuji merged commit be12710 into NCAR:master Jun 11, 2019
@climbfuji climbfuji deleted the cmakelists_separate_precision_flags_includes_mynnpbl_bugfix branch June 27, 2022 03:09
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