[Mvapich-discuss] compiling mvapich2-2.3.7 with NVIDIA compiler 23.3

Korzennik, Sylvain skorzennik at cfa.harvard.edu
Wed May 3 11:44:37 EDT 2023


I'm trying to build mvapich2-2.3.7 with NVIDIA's latest compiler (23.3) and
the configuration decides that it supports Fortran 2008, but the
compilation fails right away with

> NVFORTRAN-S-0081-Illegal selector - KIND value must be non-negative
>  (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
>  (src/binding/fortran/use_mpi_f08/mpi_f08_types.f90: 385)
>   0 inform,   0 warnings,   1 severes, 0 fatal for mpi_sizeof_xcomplex128
> make: *** [src/binding/fortran/use_mpi_f08/mpi_f08_types.stamp] Error 1


Doing the same with NVIDIA's compiler version 22.9, the config disables
support for Fortran 2008 and it builds OK (except for -rdynamic flag).
Any hint on either disable F2008 support or adjust config step or compiler
flags to build w/ nvfortran v. 23.3

Also, I need to delete the "-rdynamic" flag in the top Makefile to build w/
the NVIDIA compilers, would be nice to have the configuration not to add it

Thx. Cheers,
      Sylvain
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20230503/cbde27ee/attachment-0005.html>


More information about the Mvapich-discuss mailing list