Skip to content

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 <[email protected]>
(cherry picked from commit 58960cc)
@ggouaillardet ggouaillardet marked this pull request as ready for review May 20, 2025 05:00
@janjust janjust merged commit 99e4441 into open-mpi:v5.0.x Jun 9, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants