<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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);">
Thanks Hui,</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);">
The patch worked very well. Thanks again for the prompt resolution.</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);">
Best Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Amit Ruhela<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> Zhou, Hui <zhouh@anl.gov><br>
<b>Sent:</b> Saturday, February 5, 2022 10:25 AM<br>
<b>To:</b> discuss@mpich.org <discuss@mpich.org><br>
<b>Cc:</b> Amit Ruhela <aruhela@tacc.utexas.edu><br>
<b>Subject:</b> Re: Compile issue with QMPI</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Amit,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Could you try this pull request: <a href="https://github.com/pmodels/mpich/pull/5831/files" id="LPlnkOWALinkPreview">
https://github.com/pmodels/mpich/pull/5831/files</a>?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
You could apply the patch to release tarball, then run</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
```</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
python3 maint/gen_binding_c.py</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
```</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
to fix all the generated code.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
-- <br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hui Zhou<br>
</div>
<div class="x__Entity x__EType_OWALinkPreview x__EId_OWALinkPreview x__EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL3Btb2RlbHMvbXBpY2gvcHVsbC81ODMxL2ZpbGVz" class="x_LPBorder111713" style="width:100%; margin-top:16px; margin-bottom:16px; max-width:800px; min-width:424px">
<table id="LPContainer111713" role="presentation" style="padding:12px 36px 12px 12px; width:100%; border-width:1px; border-style:solid; border-color:rgb(200,200,200); border-radius:2px">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td>
<div id="LPImageContainer111713" style="margin-right:12px; height:160px; overflow:hidden">
<a target="_blank" id="LPImageAnchor111713" href="https://github.com/pmodels/mpich/pull/5831/files"><img id="LPThumbnailImageId111713" alt="" width="160" height="160" style="display:block" src="https://avatars.githubusercontent.com/u/1496702?s=400&v=4"></a></div>
</td>
<td style="width:100%">
<div id="LPTitle111713" style="font-size:21px; font-weight:300; margin-right:8px; font-family:"wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; margin-bottom:12px">
<a target="_blank" id="LPUrlAnchor111713" href="https://github.com/pmodels/mpich/pull/5831/files" style="text-decoration:none">qmpi: chop MPICH_API_PUBLIC from the definition by hzhou · Pull Request #5831 · pmodels/mpich</a></div>
<div id="LPDescription111713" style="font-size:14px; max-height:100px; color:rgb(102,102,102); font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; margin-bottom:12px; margin-right:8px; overflow:hidden">
Pull Request Description MPICH_API_PUBLIC is accidentally leaked into definitions, which isn't allowed. Fixes #5829 [skip warnings] Author Checklist Provide Description Particularly focus on ...</div>
<div id="LPMetadata111713" style="font-size:14px; font-weight:400; color:rgb(166,166,166); font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif">
github.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Amit Ruhela via discuss <discuss@mpich.org><br>
<b>Sent:</b> Friday, February 4, 2022 5:34 PM<br>
<b>To:</b> discuss@mpich.org <discuss@mpich.org><br>
<b>Cc:</b> Amit Ruhela <aruhela@tacc.utexas.edu><br>
<b>Subject:</b> [mpich-discuss] Compile issue with QMPI</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div 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 Mpich team,</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 see the following issue with the latest 4.0 release of MPICH while adding QMPI support at configure time?
<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)">
make[2]: Entering directory `/scratch1/05231/aruhela/libs/mpich/tar-mpich-4.0'
<div> CC src/binding/c/attr/lib_libmpi_la-attr_delete.lo</div>
<div><span style="color:rgb(237,92,87)">src/binding/c/attr/attr_delete.c(63): error: attributes are not permitted in a function definition</span></div>
<div><span style="color:rgb(237,92,87)"> int QMPI_Attr_delete(QMPI_Context context, int tool_id, MPI_Comm comm, int keyval) MPICH_API_PUBLIC</span></div>
<div> ^</div>
<div><br>
</div>
<div>compilation aborted for src/binding/c/attr/attr_delete.c (code 2)</div>
<span>make[2]: *** [src/binding/c/attr/lib_libmpi_la-attr_delete.lo] Error 1</span><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)">
Any suggestions to resolve the build error?<br>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_Signature">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<p style="margin:0in; font-size:11pt; font-family:"Calibri",sans-serif">Amit Ruhela, Ph.D. </p>
<p style="margin:0in; font-size:11pt; font-family:"Calibri",sans-serif">HPC Software Tools Group </p>
<p style="margin:0in; font-size:11pt; font-family:"Calibri",sans-serif">Texas Advanced Computing Center </p>
<p style="margin:0in; font-size:11pt; font-family:"Calibri",sans-serif">The University of Texas at Austin </p>
<p style="margin:0in; font-size:11pt; font-family:"Calibri",sans-serif">Email: <a href="mailto:aruhela@tacc.utexas.edu">
aruhela@tacc.utexas.edu</a> </p>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>