<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Victor,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="https://urldefense.us/v3/__https://github.com/pmodels/mpich/pull/7033__;!!G_uCfscf7eWS!YC0C0er8i86BU3izdW20KbdjBL3UK2uDhXTO06nXtCJbFmc-ld0bKJ50l2mcHQ1uqaGYDFaS37CqplY1$">https://github.com/pmodels/mpich/pull/7033</a> should address this issue. It contains patches that were submitted/accepted in upstream libfabric. I have
 already backported to the 4.2.x branch, and a soon to be released 4.2.2 will have the fix.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Ken<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-family:"Calibri",sans-serif;color:black">From:
</span></b><span style="font-family:"Calibri",sans-serif;color:black">Victor Eijkhout via discuss <discuss@mpich.org><br>
<b>Reply-To: </b>"discuss@mpich.org" <discuss@mpich.org><br>
<b>Date: </b>Friday, June 28, 2024 at 2:59 PM<br>
<b>To: </b>"discuss@mpich.org" <discuss@mpich.org><br>
<b>Cc: </b>Victor Eijkhout <eijkhout@tacc.utexas.edu><br>
<b>Subject: </b>[mpich-discuss] Failure to compile with gcc/14<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in;mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">Gcc/14 installed on Mac OS 14.</span><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:white"> </span><span style="font-size:1.0pt;color:white">5
 through brew, compiling the latest MPICH 4.</span><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:white"> </span><span style="font-size:1.0pt;color:white">2.</span><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:white"> </span><span style="font-size:1.0pt;color:white">1
 release. src/hmem.</span><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:white"> </span><span style="font-size:1.0pt;color:white">c:</span><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:white"> </span><span style="font-size:1.0pt;color:white">216:</span><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:white"> </span><span style="font-size:1.0pt;color:white">45:
 error: passing argument 3 of 'ofi_iov_bytes_to_copy' from incompatible pointer type [-Wincompatible-pointer-types] 216 | &hmem_iov_offset,
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in;mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">ZjQcmQRYFpfptBannerStart<o:p></o:p></span></p>
</div>
<div style="border:none;border-top:solid #90A4AE 3.0pt;padding:0in 0in 0in 0in;display:block!important;text-align:left!important;margin:0px!important;padding:16px!important;border-radius:4px!important;min-width:200px!important;background-color:#D0D8DC!important;border-top:#90a4ae!important" id="x_pfptBanner9unlzr7">
<div id="x_pfptBanner9unlzr7">
<div id="x_pfptBanner9unlzr7">
<p class="MsoNormal" style="margin-left:.5in;line-height:13.5pt;background:#D0D8DC">
<b><span style="font-family:"Arial",sans-serif;color:black">This Message Is From an External Sender
<o:p></o:p></span></b></p>
</div>
<div id="x_pfptBanner9unlzr7">
<p class="MsoNormal" style="margin-left:.5in;line-height:13.5pt;background:#D0D8DC">
<span style="font-family:"Arial",sans-serif;color:black">This message came from outside your organization.
<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in;background:#D0D8DC"><span style="color:black"> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in;mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">ZjQcmQRYFpfptBannerEnd<o:p></o:p></span></p>
</div>
<pre style="margin-left:.5in;white-space:pre-wrap"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">Gcc/14 installed on Mac OS 14.5 through brew, compiling the latest MPICH 4.2.1 release.<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">src/hmem.c:216:45: error: passing argument 3 of 'ofi_iov_bytes_to_copy' from incompatible pointer type [-Wincompatible-pointer-types]<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">216 |                                             &hmem_iov_offset, &hmem_buf);<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                             ^~~~~~~~~~~~~~~~<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                             |<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                             uint64_t * {aka long long unsigned int *}<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">In file included from src/hmem.c:41:<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">./include/ofi_iov.h:87:47: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'uint64_t *' {aka 'long long unsigned int *'}<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">87 |                         size_t *size, size_t *offset, char **copy_buf)<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                       ~~~~~~~~^~~~~~<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">src/hmem.c: In function 'ofi_copy_hmem_iov_buf':<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">src/hmem.c:252:45: error: passing argument 3 of 'ofi_iov_bytes_to_copy' from incompatible pointer type [-Wincompatible-pointer-types]<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">252 |                                             &hmem_iov_offset, &hmem_buf);<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                             ^~~~~~~~~~~~~~~~<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                             |<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                             uint64_t * {aka long long unsigned int *}<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">./include/ofi_iov.h:87:47: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'uint64_t *' {aka 'long long unsigned int *'}<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">87 |                         size_t *size, size_t *offset, char **copy_buf)<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                       ~~~~~~~~^~~~~~<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">src/hmem.c: In function 'ofi_copy_mr_iov':<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">src/hmem.c:282:61: error: passing argument 3 of 'ofi_iov_bytes_to_copy' from incompatible pointer type [-Wincompatible-pointer-types]<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">282 |                 len = ofi_iov_bytes_to_copy(&iov[i], &size, &offset, &hmem_buf);<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                                             ^~~~~~~<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                                             |<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                                             uint64_t * {aka long long unsigned int *}<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">./include/ofi_iov.h:87:47: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'uint64_t *' {aka 'long long unsigned int *'}<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">87 |                         size_t *size, size_t *offset, char **copy_buf)<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">   |                                       ~~~~~~~~^~~~~~<o:p></o:p></span></pre>
<pre style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></pre>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt">_______________________________________________<br>
discuss mailing list     discuss@mpich.org<br>
To manage subscription options or unsubscribe:<br>
<a href="https://urldefense.us/v3/__https://lists.mpich.org/mailman/listinfo/discuss__;!!G_uCfscf7eWS!YC0C0er8i86BU3izdW20KbdjBL3UK2uDhXTO06nXtCJbFmc-ld0bKJ50l2mcHQ1uqaGYDFaS38O_4uvC$">https://lists.mpich.org/mailman/listinfo/discuss</a><o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>