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

Replace kind=8 with iso_fortran_env kinds #665

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

marshallward
Copy link
Member

This patch replaces references to kind=8 with the corresponding Fortran kind identifiers as defined in iso_fortran_env.

Although these are widely equal to 8, there are a number of compilers (notably NAG, also others) which set it to a different value.

This improves the portability of the code (albeit in a rather minor way).

This patch replaces references to kind=8 with the corresponding Fortran
kind identifiers as defined in iso_fortran_env.

Although these are widely equal to 8, there are a number of compilers
(notably NAG, also others) which set it to a different value.

This improves the portability of the code (albeit in a rather minor
way).
Copy link
Member

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

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

These changes seem reasonable enough to me.

@marshallward
Copy link
Member Author

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/mom6ci/MOM6/-/pipelines/24005 ✔️

(Parameter flag is from out-of-date files)

@marshallward marshallward merged commit 7cea6dd into NOAA-GFDL:dev/gfdl Jul 4, 2024
12 checks passed
@marshallward marshallward deleted the use_int64_real64 branch January 14, 2025 15:00
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.

2 participants