[Mvapich-discuss] Build Failure with NVHPC 23.3

Louise Spellacy louise.spellacy at linaro.org
Fri May 5 11:14:14 EDT 2023


Hi,

I am building MVAPICH2 2.3.7 with NVHPC 23.3 which is encountering a build
error.

The configure script runs successfully but when building with make I get
the following error:

 make -j 8
  MOD      src/binding/fortran/use_mpi_f08/mpi_f08_types.stamp
NVFORTRAN-S-0081-Illegal selector - KIND value must be non-negative
 (../mvapich2-2.3.7/src/binding/fortran/use_mpi_f08/mpi_f08_types.f90: 355)
  0 inform,   0 warnings,   1 severes, 0 fatal for mpi_sizeof_xreal128
NVFORTRAN-S-0081-Illegal selector - KIND value must be non-negative
 (../mvapich2-2.3.7/src/binding/fortran/use_mpi_f08/mpi_f08_types.f90: 385)
  0 inform,   0 warnings,   1 severes, 0 fatal for mpi_sizeof_xcomplex128
make: *** [Makefile:45401:
src/binding/fortran/use_mpi_f08/mpi_f08_types.stamp] Error 1

These lines refer to code using real128 datatypes.


When I compared the status of the configure, with a previously successful
build with NVHPC 22.5 - the HAVE_F08_BINDING is set to 1 (with 23.3) not 0
(with 22.5).

I attempted to work around this by setting --enable-fortran=f77 but this
removes the mpif90 compiler so this wasn't a viable work-around.

Is there a way of enabling f90 support without explicitly enabling f08
support? The only option I could see was --enable-fortran=fc which enables
both.

Or adding a check for real128 support to the configure script for Fortran
2008 support checking?

All the best,

Louise
--------

*Louise Spellacy*
Principal Engineer

https://urldefense.com/v3/__http://www.linaroforge.com__;!!KGKeukY!3iNLn14b76jc9LvUWa_ex-6vU1H2l0eOVemLx4Ifpj9f27VMFsusddvwZOz1dFkdJDARoTJq5Q-WqB_Eq39J_cZ2AhNmp4ThixWyCg$ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20230505/1546887f/attachment-0005.html>


More information about the Mvapich-discuss mailing list