[Mvapich-discuss] Build Failure with NVHPC 23.3

Shineman, Nat shineman.5 at osu.edu
Thu May 11 11:01:49 EDT 2023


Louise and Sylvain,

Please try the attached patch to resolve both the real128 and the rdynamic issues. Let me know if you have any issues.

Thanks,
Nat
________________________________
From: Mvapich-discuss <mvapich-discuss-bounces at lists.osu.edu> on behalf of Subramoni, Hari via Mvapich-discuss <mvapich-discuss at lists.osu.edu>
Sent: Friday, May 5, 2023 11:23
To: Korzennik, Sylvain <skorzennik at cfa.harvard.edu>; Announcement about MVAPICH2 (MPI over InfiniBand, RoCE, Omni-Path, iWARP and EFA) Libraries developed at NBCL/OSU <mvapich-discuss at lists.osu.edu>; Louise Spellacy <louise.spellacy at linaro.org>
Subject: Re: [Mvapich-discuss] Build Failure with NVHPC 23.3


Hi, Sylvain/Louise.



Thanks for the report. We will take a look at this and get back to you soon.



Best,
Hari.



From: Mvapich-discuss <mvapich-discuss-bounces+subramon=cse.ohio-state.edu at lists.osu.edu> On Behalf Of Korzennik, Sylvain via Mvapich-discuss
Sent: Friday, May 5, 2023 11:20 AM
To: Louise Spellacy <louise.spellacy at linaro.org>; Announcement about MVAPICH2 (MPI over InfiniBand, RoCE, Omni-Path, iWARP and EFA) Libraries developed at NBCL/OSU <mvapich-discuss at lists.osu.edu>
Subject: Re: [Mvapich-discuss] Build Failure with NVHPC 23.3



I ran into the exact same problem - unclear to me why config w/ NVIDIA 23. x turns on "supports fortran 2008" and then fails miserably, while NVIDIA 22. x compilers did not. Also, the config adds -rdynamic that is not supported by NVIDIA's

ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

    Report Suspicious  <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/KGKeukY!vYQd06kpI8bsxva70O-LnJwXCYmLhLOI62ytfYGRkbxIOOOlxKuVZXeNs_Wsj2kC4KrIg3NmMwC7QGGXDOmub3mc2uSdUJWY_rpEioSkUlSNN1dynoI-O-rbAEBPIbwumrydkw$>   ‌

ZjQcmQRYFpfptBannerEnd

I ran into the exact same problem - unclear to me why config w/ NVIDIA 23.x turns on "supports fortran 2008" and then fails miserably, while NVIDIA 22.x compilers did not.

Also, the config adds -rdynamic that is not supported by NVIDIA's compilers.

    Cheers,
      Sylvain
--





On Fri, May 5, 2023 at 11:14 AM Louise Spellacy via Mvapich-discuss <mvapich-discuss at lists.osu.edu<mailto:mvapich-discuss at lists.osu.edu>> wrote:

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. stampNVFORTRAN-S-0081-Illegal

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



www.linaroforge.com<https://urldefense.com/v3/__http:/www.linaroforge.com/__;!!KGKeukY!3iNLn14b76jc9LvUWa_ex-6vU1H2l0eOVemLx4Ifpj9f27VMFsusddvwZOz1dFkdJDARoTJq5Q-WqB_Eq39J_cZ2AhNmp4Tl0oJ8Iw$>



[Image removed by sender.]

_______________________________________________
Mvapich-discuss mailing list
Mvapich-discuss at lists.osu.edu<mailto:Mvapich-discuss at lists.osu.edu>
https://lists.osu.edu/mailman/listinfo/mvapich-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20230511/094ae191/attachment-0006.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD2516.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD2516.jpg
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20230511/094ae191/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-real128.patch
Type: text/x-patch
Size: 4283 bytes
Desc: remove-real128.patch
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20230511/094ae191/attachment-0006.bin>


More information about the Mvapich-discuss mailing list