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

Cmakelists separate precision flags includes mynnpbl bugfix #264

Conversation

climbfuji
Copy link
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
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