-
Notifications
You must be signed in to change notification settings - Fork 136
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
mixed precision column_diagnostics #1076
Conversation
@thomas-robinson @bensonr, ready for review |
!private | ||
|
||
!-------------------------------------------------------------------- | ||
!---- namelist ----- | ||
|
||
real :: crit_xdistance = 4.0 !< model grid points must be within crit_xdistance in | ||
real(kind=r8_kind) :: crit_xdistance = 4.0 !< model grid points must be within crit_xdistance in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crit_xdistace = 4.0d0 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should avoid using the d for exponents since its not as portable. Some compilers count the doubles as double whatever the default is so this would end up being 16 bytes with gcc for a normal compilation.
* mixed precision column_diagnostics (#1076) * mixed precision mosaic2 (#1074) * mixed precision topography unit tests (#1364) * mixed precision tridiagonal (#1363) * mixed precision: add test for coupler_types and data_override changes (#1361) * Mixed precision `amip_interp_mod` (#1365) BREAKING CHANGE: Several variables and arrays which were previously public have been made private. These variables and arrays are not used in ice_amip or ocean_amip. amip_interp_type(r4_kind) and amip_interp_type(r8_kind) should be used for r4_kind and r8_kind precision, respectively. amip_interp_type without a kind parameter defaults to r8_kind. Co-authored-by: rem1776 <Ryan.Mulhall@noaa.gov> Co-authored-by: mlee03 <Mikyung.Lee@lscamd50-d.gfdl.noaa.gov> Co-authored-by: Caitlyn McAllister <65364559+mcallic2@users.noreply.github.com> Co-authored-by: Jesse Lentz <42011922+J-Lentz@users.noreply.github.com>
Description
In this Pull Request,
column_diagnostics
has been edited to as part of the mixed-mode project in FMSHow Has This Been Tested?
make and make check passes with Intel and GCC
Checklist:
make distcheck
passes