<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Louise and Sylvain, <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Please try the attached patch to resolve both the real128 and the rdynamic issues. Let me know if you have any issues.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Nat<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mvapich-discuss <mvapich-discuss-bounces@lists.osu.edu> on behalf of Subramoni, Hari via Mvapich-discuss <mvapich-discuss@lists.osu.edu><br>
<b>Sent:</b> Friday, May 5, 2023 11:23<br>
<b>To:</b> Korzennik, Sylvain <skorzennik@cfa.harvard.edu>; Announcement about MVAPICH2 (MPI over InfiniBand, RoCE, Omni-Path, iWARP and EFA) Libraries developed at NBCL/OSU <mvapich-discuss@lists.osu.edu>; Louise Spellacy <louise.spellacy@linaro.org><br>
<b>Subject:</b> Re: [Mvapich-discuss] Build Failure with NVHPC 23.3</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:Latha}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
span.x_EmailStyle19
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi, Sylvain/Louise.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Thanks for the report. We will take a look at this and get back to you soon.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Best,<br>
Hari.</p>
<p class="x_MsoNormal"> </p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b>From:</b> Mvapich-discuss <mvapich-discuss-bounces+subramon=cse.ohio-state.edu@lists.osu.edu>
<b>On Behalf Of </b>Korzennik, Sylvain via Mvapich-discuss<br>
<b>Sent:</b> Friday, May 5, 2023 11:20 AM<br>
<b>To:</b> Louise Spellacy <louise.spellacy@linaro.org>; Announcement about MVAPICH2 (MPI over InfiniBand, RoCE, Omni-Path, iWARP and EFA) Libraries developed at NBCL/OSU <mvapich-discuss@lists.osu.edu><br>
<b>Subject:</b> Re: [Mvapich-discuss] Build Failure with NVHPC 23.3</p>
</div>
<p class="x_MsoNormal"> </p>
<div>
<p class="x_MsoNormal" style=""><span style="font-size:1.0pt; color:white">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 </span></p>
</div>
<div>
<p class="x_MsoNormal" style=""><span style="font-size:1.0pt; color:white">ZjQcmQRYFpfptBannerStart</span></p>
</div>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%; border-radius:4px">
<tbody>
<tr>
<td style="padding:12.0pt 0in 12.0pt 0in">
<table class="x_MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%; background:#CFD3D7; border:none; border-top:solid #8C8E91 3.0pt">
<tbody>
<tr>
<td valign="top" style="border:none; padding:0in 7.5pt 3.75pt 4.5pt">
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td style="padding:3.0pt 6.0pt 3.0pt 6.0pt">
<p class="x_MsoNormal"><b><span style="font-size:10.5pt; font-family:"Arial",sans-serif; color:black">This Message Is From an External Sender
</span></b></p>
</td>
</tr>
<tr>
<td style="padding:3.0pt 6.0pt 3.0pt 6.0pt">
<p class="x_MsoNormal"><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:black">This message came from outside your organization.
</span></p>
</td>
</tr>
</tbody>
</table>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="right">
<tbody>
<tr>
<td style="padding:3.0pt 0in 3.0pt 0in">
<p class="x_MsoNormal">  <a href="https://us-phishalarm-ewt.proofpoint.com/EWT/v1/KGKeukY!vYQd06kpI8bsxva70O-LnJwXCYmLhLOI62ytfYGRkbxIOOOlxKuVZXeNs_Wsj2kC4KrIg3NmMwC7QGGXDOmub3mc2uSdUJWY_rpEioSkUlSNN1dynoI-O-rbAEBPIbwumrydkw$" target="_blank"><strong><span style="font-size:10.5pt; font-family:"Arial",sans-serif; color:black; border:solid #666666 1.0pt; padding:6.0pt; font-weight:normal; text-decoration:none">  Report Suspicious  </span></strong></a>  ‌
</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<div>
<p class="x_MsoNormal" style=""><span style="font-size:1.0pt; color:white">ZjQcmQRYFpfptBannerEnd</span></p>
</div>
<div>
<div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:#351C75">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.</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:#351C75">Also, the config adds -rdynamic that is not supported by NVIDIA's compilers.</span></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="x_MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt; color:#351C75">  </span><span style="color:#351C75">  Cheers,</span><span style="font-size:10.0pt; color:#351C75"><br>
      Sylvain<br>
--</span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="x_MsoNormal"> </p>
</div>
<p class="x_MsoNormal"> </p>
<div>
<div>
<p class="x_MsoNormal">On Fri, May 5, 2023 at 11:14 AM Louise Spellacy via Mvapich-discuss <<a href="mailto:mvapich-discuss@lists.osu.edu">mvapich-discuss@lists.osu.edu</a>> wrote:</p>
</div>
<blockquote style="border:none; border-left:solid #CCCCCC 1.0pt; padding:0in 0in 0in 6.0pt; margin-left:4.8pt; margin-right:0in">
<div>
<div>
<p class="x_MsoNormal" style=""><span style="font-size:1.0pt; color:white">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
</span></p>
</div>
<div>
<div>
<p class="x_MsoNormal">Hi,</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">I am building MVAPICH2 2.3.7 with NVHPC 23.3 which is encountering a build error.</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">The configure script runs successfully but when building with
<span style="font-family:"Courier New"">make</span> I get the following error:</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<blockquote style="margin-left:30.0pt; margin-right:0in">
<div>
<p class="x_MsoNormal"><span style="font-family:"Courier New""> make -j 8<br>
  MOD      src/binding/fortran/use_mpi_f08/mpi_f08_types.stamp<br>
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)<br>
  0 inform,   0 warnings,   1 severes, 0 fatal for mpi_sizeof_xreal128<br>
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)<br>
  0 inform,   0 warnings,   1 severes, 0 fatal for mpi_sizeof_xcomplex128<br>
make: *** [Makefile:45401: src/binding/fortran/use_mpi_f08/mpi_f08_types.stamp] Error 1</span></p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
</blockquote>
<p class="x_MsoNormal">These lines refer to code using <span style="font-family:"Courier New"">
real128</span> datatypes.</p>
<blockquote style="margin-left:30.0pt; margin-right:0in">
<div>
<p class="x_MsoNormal"> </p>
</div>
</blockquote>
<p class="x_MsoNormal">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).</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">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.</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">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.</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">Or adding a check for real128 support to the configure script for Fortran 2008 support checking?</p>
</div>
<p class="x_MsoNormal"><br clear="all">
</p>
<div>
<div>
<div>
<div>
<p class="x_MsoNormal">All the best,<br>
<br>
Louise</p>
</div>
<div>
<p class="x_MsoNormal">--------<br>
<br>
<b><span style="color:#073763">Louise Spellacy</span></b><br>
<span style="color:#073763">Principal Engineer</span></p>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal"><span style="color:#073763"><a href="https://urldefense.com/v3/__http:/www.linaroforge.com/__;!!KGKeukY!3iNLn14b76jc9LvUWa_ex-6vU1H2l0eOVemLx4Ifpj9f27VMFsusddvwZOz1dFkdJDARoTJq5Q-WqB_Eq39J_cZ2AhNmp4Tl0oJ8Iw$" target="_blank"><span style="color:#1155CC">www.linaroforge.com</span></a></span></p>
</div>
<div>
<div>
<div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal"><span style="border:solid windowtext 1.0pt; padding:0in"><img border="0" width="96" height="55" id="x_Picture_x0020_1" alt="Image removed by sender." style="width:1.0in; height:.5729in" data-outlook-trace="F:1|T:1" src="cid:~WRD2516.jpg"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="x_MsoNormal">_______________________________________________<br>
Mvapich-discuss mailing list<br>
<a href="mailto:Mvapich-discuss@lists.osu.edu" target="_blank">Mvapich-discuss@lists.osu.edu</a><br>
<a href="https://lists.osu.edu/mailman/listinfo/mvapich-discuss" target="_blank">https://lists.osu.edu/mailman/listinfo/mvapich-discuss</a></p>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>