<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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); background-color: rgb(255, 255, 255);">
Hi Martin, <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I looked over your patch and it looks like you have edited the configuration file directly. Unfortunately, this file is overwritten anytime we rerun autotools so this fix may work locally, but it won't persist. Fortunately, these flags are only added to a couple
files so we can easily patch the source files. I have attached a patch that should resolve the issues. Please try this one and let me know if it resolves the compilation issue.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Thanks, <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Nat<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<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+shineman.5=osu.edu@lists.osu.edu> on behalf of Martin Cuma via Mvapich-discuss <mvapich-discuss@lists.osu.edu><br>
<b>Sent:</b> Friday, April 15, 2022 18:02<br>
<b>To:</b> Subramoni, Hari <subramoni.1@osu.edu>; mvapich-discuss@lists.osu.edu <mvapich-discuss@lists.osu.edu><br>
<b>Subject:</b> Re: [Mvapich-discuss] Build failure with NVHPC compilers</font>
<div> </div>
</div>
<style>
<!--
.x_pfptBannerTableMSO
{padding:0px 12px 5px 12px;
width:100%;
border-radius:4px;
border-top:4px solid #8c8e91;
background-color:#CFD3D7}
.x_pfptTitleMSO
{color:#000000!important;
font-family:'Arial',sans-serif!important;
font-weight:bold!important;
font-size:14px!important}
.x_pfptSubtitleMSO
{font-size:12px!important;
font-family:'Arial',sans-serif!important}
.x_pfptButtonMSO
{padding:7.5px;
text-decoration:none;
font-family:'Arial',sans-serif!important;
font-size:14px;
line-height:40px;
border-radius:2px}
.x_pfptPrimaryButtonMSO
{border:1.5px solid #666666;
color:#000000}
.x_pfptBanner
{margin:15px 14px 30px 14px;
padding:8px 16px 8px 16px;
border-radius:4px;
min-width:200px;
background-color:#CFD3D7;
border-top:4px solid #8c8e91}
.x_pfptBannerTitle
{color:#000000;
font-family:'Arial',sans-serif;
font-size:14px;
font-weight:bold;
line-height:18px;
display:block}
.x_pfptBannerSubtitle
{color:#000000;
font-weight:normal;
font-family:'Arial',sans-serif;
font-size:12px;
line-height:18px;
margin-top:2px;
display:block}
.x_pfptButton
{display:inline-block;
font-family:'Arial',sans-serif;
font-size:14px;
font-weight:normal;
border-radius:2px;
padding:7.5px 16px;
margin:3px 0 3px 16px;
white-space:nowrap;
width:fit-content}
.x_pfptPrimaryButton
{border:1px solid #666666}
.x_pfptMessageContainer
{display:inline-block;
margin:0px 0px 1px 0px;
max-width:600px}
.x_pfptButtonGroup
{float:right;
margin:0px 0px 0px 16px;
text-align:right;
width:fit-content}
.x_pfptPreheader
{display:none!important;
visibility:hidden;
font-size:1px;
line-height:1px;
max-height:0px;
max-width:0px;
opacity:0;
overflow:hidden}
-->
</style><style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr"><span class="x_pfptPreheader" style="display:none!important; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; max-width:0px; opacity:0; overflow:hidden">Hi Hari, sorry for late reply, it took me some time to go
over this. The 2.3.7 gave me the same error as 2.3.6 so I went over the configure to add in pieces to make it work. It required a few changes, namely - add the nvc, nvc++ and nvfortran
</span><span style="display:none!important; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; max-width:0px; opacity:0; overflow:hidden">ZjQcmQRYFpfptBannerStart</span>
<div dir="ltr" lang="en" class="x_pfptBanner" style="margin:16px 0px 16px 0px; padding:8px 16px 8px 16px; border-radius:4px; min-width:200px; background-color:#CFD3D7; border-top:4px solid #8c8e91">
<div class="x_pfptMessageContainer" style="display:inline-block; margin:0px 0px 1px 0px; max-width:600px">
<div class="x_pfptBannerTitle" style="color:#000000!important; font-family:'Arial',sans-serif!important; font-weight:bold!important; font-size:14px!important; line-height:18px; display:block">
This Message Is From an External Sender </div>
<div class="x_pfptBannerSubtitle" style="color:#000000!important; font-weight:normal!important; font-family:'Arial',sans-serif!important; font-size:12px!important; line-height:18px; margin-top:2px; display:block">
This message came from outside your organization. </div>
</div>
<div class="x_pfptButtonGroup" style="float:right; margin:0px 0px 0px 16px; text-align:right; width:fit-content">
<a href="https://us-phishalarm-ewt.proofpoint.com/EWT/v1/KGKeukY!vwQd8KhtD6YgRRdxXq6lWWC81PlyeW0vBCqp5b8yACiRkosXP6KQQ9YcxsYneVG2H3XnISlmc-Ay31YFp3dWKvJx6l74qWMRYQE-num46xblmIleuiBVdaKisMXe3x78N98ZwfpNHABw4D153bujaA$" style="color:#000000!important; font-family:'Arial',sans-serif; font-size:14px; font-weight:normal; text-decoration:none!important">
<div class="x_pfptButton x_pfptPrimaryButton" style="display:inline-block; font-family:'Arial',sans-serif; font-size:14px; font-weight:normal; border-radius:2px; padding:7.5px 16px; margin:3px 0 3px 16px; white-space:nowrap; width:fit-content; border:1px solid #666666">
Report Suspicious </div>
</a></div>
<div style="clear:both; display:block; visibility:hidden; line-height:0"> </div>
</div>
<div style="display:none!important; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; max-width:0px; opacity:0; overflow:hidden">
ZjQcmQRYFpfptBannerEnd</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Hari,</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
sorry for late reply, it took me some time to go over this.</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The 2.3.7 gave me the same error as 2.3.6 so I went over the configure to add in pieces to make it work. It required a few changes, namely</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
- add the nvc, nvc++ and nvfortran wherever pgcc, pgCC and pgf90 were referenced</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
- adding an explicit if statement where the -rdynamic is set to not include it if nvc is used (it detects system based gcc which is present and does not check for what CC is set to)</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
- nvc++ adds the "standard" objects such as crtn.o or crti.o, but pre/postdep_objects were being set so I explicitly don't set it through another if $CXX==nvc++</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Attached is a patch that does all this, though, I have to admit that I only tested this through Spack so I am not sure if the checks for CC or CXX are appropriate outside of Spack. But the patch file may be a good start to get this fixed for you.<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
MC<br>
</div>
<div lang="EN-US" style="word-wrap:break-word">
<div></div>
</div>
</div>
</body>
</html>