Description
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,