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

monin_obukhov tests: Avoid continuation lines containing only a comment #1603

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

J-Lentz
Copy link
Contributor

@J-Lentz J-Lentz commented Oct 22, 2024

Description
The Cray compiler does not like continuation lines which contain only a comment. For example, the following will result in a syntax error:

real, parameter :: g = 9.81 &
& !< Acceleration due to gravity (m / s^2)

The workaround is to move the comment onto the same line as the variable declaration.

How Has This Been Tested?
monin_obukhov tests build with CCE 18 on C5.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included
  • make distcheck passes

@rem1776 rem1776 merged commit e74ab4a into NOAA-GFDL:main Oct 24, 2024
28 checks passed
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.

4 participants