Skip to content

configury: test Fortran complex(real16) #13265

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: v5.0.x
Choose a base branch
from

Conversation

ggouaillardet
Copy link
Contributor

Recent NVHPC compilers now support the REAL16 intrinsic from the ISO_FORTRAN_ENV module. Though they do support real(REAL16), they do not support complex(REAL16), causing a compilation error in the MPI_Sizeof() Fortran subroutine.

This patch does test complex(REAL16) on top of real(REAL16), and issue a warning and disable ISO_FORTRAN_ENV:REAL16 support if the former is not supported but the latter is.

Thanks Jorge Cabrera for reporting this.

Refs #13190

(cherry picked from commit 58960cc)

Recent NVHPC compilers now support the REAL16 intrinsic from
the ISO_FORTRAN_ENV module. Though they do support real(REAL16),
they do not support complex(REAL16), causing a compilation error
in the MPI_Sizeof() Fortran subroutine.

This patch does test complex(REAL16) on top of real(REAL16), and
issue a warning and disable ISO_FORTRAN_ENV:REAL16 support if the
former is not supported but the latter is.

Thanks Jorge Cabrera for reporting this.

Refs open-mpi#13190

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
(cherry picked from commit 58960cc)
@ggouaillardet ggouaillardet marked this pull request as ready for review May 20, 2025 05:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants