-
Notifications
You must be signed in to change notification settings - Fork 902
fortran: check for ISO_FORTRAN_ENV:REAL16 #8637
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
fortran: check for ISO_FORTRAN_ENV:REAL16 #8637
Conversation
2688c7d
to
5816fea
Compare
@bosilca I pushed an other commit to generate subroutines for both let me know whether I should squash or remove it. |
9d6f7db
to
6c5ddec
Compare
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.
Sorry for being late for the issue discussion.
I finally understand the problem and I've had a rough review. I'll take a closer look in March 18 (in Japan TZ).
6c5ddec
to
d0085f6
Compare
Though this has not landed into the Fortran standard, some compilers support REAL16 in the ISO_FORTRAN_ENV module. Use it when available, and fallback to REAL*2 and COMPLEX*4 otherwise. Thanks Jeff Hammond for reporting this issue Ref. open-mpi#8616 Signed-off-by: Gilles Gouaillardet <[email protected]>
@kawashima-fj thanks for the thorough review, I made the requested changes. |
d0085f6
to
3a6fc24
Compare
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.
LGTM. Thanks!
Though this has not landed into the Fortran standard,
some compilers support REAL16 in the ISO_FORTRAN_ENV
module.
Use it when available, and fallback to REAL2
and COMPLEX4 otherwise.
Thanks Jeff Hammond for reporting this issue
Ref. #8616
Signed-off-by: Gilles Gouaillardet [email protected]