-
Notifications
You must be signed in to change notification settings - Fork 898
Issue with NVFORTRAN With NVHPC 25.3 #13190
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
Comments
Could reproduce on several systems (x86_64 & aarch64 ; RHEL, Ubuntu, AmazonLinux) with exact same versions of OpenMPI and NVHPC. I also tried rolling back with
|
It looks like a different issue.
You can re-run An other workaround is to build with I will issue a PR shortly (it will test both @bosilca @jeffhammond could you please ping your compiler folks about this limitation? |
There are more use cases for half precision real than complex. Adding all the complex number stuff isn't trivial, so it makes sense why it isn't there yet. I will note this nonetheless. |
I could build just by adding this at the end of my configure line. Did not check what's actually disabled. |
Compilation was successful after setting the flag ompi_cv_fortran_have_iso_fortran_env_real16=n Thank you very much. Best, |
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. Refs open-mpi#13190 Signed-off-by: Gilles Gouaillardet <[email protected]>
@jcabrerard if you tell me your full name, I will credit you for reporting this issue in the commit message. |
The feedback from the compiler team is that |
Thanks @jeffhammond ! I can confirm The PR I issued disables |
You don't have to, but this is Jorge Cabrera, with the University of Florida. Thank you, |
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]>
@jcabrerard Yes we do! We very much value when users report issues and help test the solution. Thank you! |
I'm running tests on RHEL9, trying to install openmpi-5.0.7 from source with nvhpc-25.3. I downloaded the tarball from the releases page. However, I'm running into the following in the "make" step:
...
...
GENERATE psizeof_f.f90
FC psizeof_f.lo
NVFORTRAN-S-0081-Illegal selector - KIND parameter has unknown value for data type (psizeof_f.f90: 89)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex16_scalar
NVFORTRAN-S-0081-Illegal selector - KIND parameter has unknown value for data type (psizeof_f.f90: 99)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex16_r1
...
...
NVFORTRAN-S-0081-Illegal selector - KIND parameter has unknown value for data type (psizeof_f.f90: 159)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex16_r7
make[3]: *** [Makefile:2591: psizeof_f.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/dist/apps/openmpi/openmpi-5.0.7/ompi/mpi/fortran/mpif-h/profile'
make[2]: *** [Makefile:3440: all-recursive] Error 1
make[2]: Leaving directory '/dist/apps/openmpi/openmpi-5.0.7/ompi/mpi/fortran/mpif-h'
make[1]: *** [Makefile:2710: all-recursive] Error 1
make[1]: Leaving directory '/dist/apps/openmpi/openmpi-5.0.7/ompi'
make: *** [Makefile:1539: all-recursive] Error 1
I found this issue to be very similar to the one described in #8616, but when tried to apply the patches described in the fix, I couldn't find any differences.
Any advice would be appreciated.
Regards,
The text was updated successfully, but these errors were encountered: