<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
Hui, When I set FI_PROVIDER=tcp, the code crashes in MPI_Init. Specifically, this code will fail on one process: #include "mpi. h" int main(int argc, char **argv) { MPI_Init(&argc, &argv); MPI_Finalize(); } I’m running on a
</div>
<!-- Preheader Text : END -->
<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>
<!--[if ((ie)|(mso))]>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
<table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
<table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
<tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
This Message Is From an External Sender
</td></tr>
<tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
This message came from outside your organization.
</td></tr>
</table>
</td></tr></table>
</td></tr></table>
<![endif]-->
<![if !((ie)|(mso))]>
<div dir="ltr" id="pfptBannerj6rapej" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
<div id="pfptBannerj6rapej" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBannerj6rapej" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
This Message Is From an External Sender
</div>
<div id="pfptBannerj6rapej" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
</div>
</div>
<div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
</div>
<![endif]>
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<html xmlns:v="urn:schemas-microsoft-com:vml" 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><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBannerj6rapej { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButtonj6rapej:hover, .pfptPrimaryButtonj6rapej:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButtonj6rapej:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
@font-face
{font-family:Menlo;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
code
{mso-style-priority:99;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.xxxmsonormal, li.xxxmsonormal, div.xxxmsonormal
{mso-style-name:x_x_x_msonormal;
mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Aptos;}
p.xxxxmsonormal, li.xxxxmsonormal, div.xxxxmsonormal
{mso-style-name:x_x_x_xmsonormal;
mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:Aptos;}
p.xxxxp1, li.xxxxp1, div.xxxxp1
{mso-style-name:x_x_x_xp1;
mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:8.5pt;
font-family:Menlo;
color:black;}
p.xxxmsochpdefault, li.xxxmsochpdefault, div.xxxmsochpdefault
{mso-style-name:x_x_x_msochpdefault;
mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Times New Roman",serif;}
span.xxxxs2
{mso-style-name:x_x_x_xs2;
background:#878A04;}
span.xxxemailstyle26
{mso-style-name:x_x_x_emailstyle26;
font-family:Aptos;
color:windowtext;}
span.xxxxs1
{mso-style-name:x_x_x_xs1;}
span.xxxxapple-converted-space
{mso-style-name:x_x_x_xapple-converted-space;}
span.EmailStyle28
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hui,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">When I set FI_PROVIDER=tcp, the code crashes in MPI_Init. Specifically, this code will fail on one process:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">#include "mpi.h"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">int main(int argc, char **argv) {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> MPI_Init(&argc, &argv);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> MPI_Finalize();<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I’m running on a system with the following modules<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">[d3g293@deception02 testing]$ module list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Currently Loaded Modulefiles:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> 1) gcc/11.2.0 3) python/3.7.0 5) mkl/2019u4<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> 2) cmake/3.21.4 4) git/2.42.0(default) 6) cuda/11.8<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">and a home-built version of mpich-4.2.1 configured with<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">../configure --prefix=/people/d3g293/mpich/mpich-4.2.1/build_decptn/install \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> --with-device=ch4:ofi:sockets --with-libfabric=embedded \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> --without-ucx CC=gcc CXX=g++<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I thought it might have something to do with using a build configuration in my application build that is set up to include Cuda, but it also fails in MPI_Init
with a non-Cuda configuraton if I set the FI_PROVIDER variable.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><br>
Bruce<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Zhou, Hui <zhouh@anl.gov>
<br>
<b>Sent:</b> Friday, June 14, 2024 9:27 AM<br>
<b>To:</b> Palmer, Bruce J <Bruce.Palmer@pnnl.gov>; discuss@mpich.org<br>
<b>Subject:</b> Re: Fail on MPI_Wait<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black">Never mind. It is v4.2.1.<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Zhou, Hui <</span><a href="mailto:zhouh@anl.gov"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">zhouh@anl.gov</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Friday, June 14, 2024 11:26 AM<br>
<b>To:</b> Palmer, Bruce J <</span><a href="mailto:Bruce.Palmer@pnnl.gov"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Bruce.Palmer@pnnl.gov</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">>;
</span><a href="mailto:discuss@mpich.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">discuss@mpich.org</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> <</span><a href="mailto:discuss@mpich.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">discuss@mpich.org</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Subject:</b> Re: Fail on MPI_Wait</span> <o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black">Bruce,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black">What is the mpich version, BTW?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black">--<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black">Hui<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Zhou, Hui <</span><a href="mailto:zhouh@anl.gov"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">zhouh@anl.gov</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Friday, June 14, 2024 10:55 AM<br>
<b>To:</b> Palmer, Bruce J <</span><a href="mailto:Bruce.Palmer@pnnl.gov"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Bruce.Palmer@pnnl.gov</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">>;
</span><a href="mailto:discuss@mpich.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">discuss@mpich.org</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> <</span><a href="mailto:discuss@mpich.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">discuss@mpich.org</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Subject:</b> Re: Fail on MPI_Wait</span> <o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black">Bruce,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black">You are using the sockets provider. Could try set
</span><code><span style="font-size:10.0pt;color:black">FI_PROVIDER=tcp</span></code><span style="font-family:Aptos;color:black"> to see if it makes a difference?<br>
<br>
Meanwhile, if you can get a small reproducer – with the sockets provider or any provider, I'll try to debug it. It is difficult to guess the true source of the issue without a reproducer.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black">--<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Aptos;color:black">Hui<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_x_divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Palmer, Bruce J <</span><a href="mailto:Bruce.Palmer@pnnl.gov"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Bruce.Palmer@pnnl.gov</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Friday, June 14, 2024 10:47 AM<br>
<b>To:</b> Zhou, Hui <</span><a href="mailto:zhouh@anl.gov"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">zhouh@anl.gov</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">>;
</span><a href="mailto:discuss@mpich.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">discuss@mpich.org</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> <</span><a href="mailto:discuss@mpich.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">discuss@mpich.org</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Subject:</b> Re: Fail on MPI_Wait</span> <o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">The output to standard out from running on 2 nodes and one process per node is attached. From: Zhou, Hui <zhouh@ anl. gov> Date: Tuesday, June 11, 2024 at 5: 49
PM To: discuss@ mpich. org <discuss@ mpich. org> Cc: Palmer, Bruce J <Bruce. Palmer@ pnnl. gov>
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="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_x_x_pfptBannerbvkjra5">
<div id="x_x_x_pfptBannerbvkjra5">
<div id="x_x_x_pfptBannerbvkjra5">
<p class="MsoNormal" style="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_x_x_pfptBannerbvkjra5">
<p class="MsoNormal" style="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="background:#D0D8DC"> <o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">ZjQcmQRYFpfptBannerEnd<o:p></o:p></span></p>
</div>
<div>
<p class="xxxmsonormal"><span style="font-size:11.0pt">The output to standard out from running on 2 nodes and one process per node is attached.</span><o:p></o:p></p>
<p class="xxxmsonormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<div id="x_x_x_mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="xxxmsonormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">Zhou, Hui <</span><a href="mailto:zhouh@anl.gov">zhouh@anl.gov</a><span style="color:black">><br>
<b>Date: </b>Tuesday, June 11, 2024 at 5:49</span><span style="font-family:"Arial",sans-serif;color:black"> </span><span style="color:black">PM<br>
<b>To: </b></span><a href="mailto:discuss@mpich.org">discuss@mpich.org</a><span style="color:black"> <</span><a href="mailto:discuss@mpich.org">discuss@mpich.org</a><span style="color:black">><br>
<b>Cc: </b>Palmer, Bruce J <</span><a href="mailto:Bruce.Palmer@pnnl.gov">Bruce.Palmer@pnnl.gov</a><span style="color:black">><br>
<b>Subject: </b>Re: Fail on MPI_Wait</span><o:p></o:p></p>
</div>
<div>
<p class="xxxmsonormal"><span style="color:black">>MPIDI_OFI_handle_cq_error(793): OFI poll failed (ofi_events.c:793:MPIDI_OFI_handle_cq_error:Input/output error)<br>
<br>
This is an error coming from the libfabric provider. First we need find out which provider are you using. Try set environment variable
</span><code><span style="font-size:10.0pt;color:black">MPIR_CVAR_DEBUG_SUMMARY=1</span></code><span style="font-family:"Arial",sans-serif;color:black"></span><span style="color:black"> and run a simple
</span><code><span style="font-size:10.0pt;color:black">MPI_INIT+MPI_Finalize</span></code><span style="font-family:"Arial",sans-serif;color:black"></span><span style="color:black"> test code. Could post its console output?</span><o:p></o:p></p>
</div>
<div>
<p class="xxxmsonormal"><span style="color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="xxxmsonormal"><span style="color:black">--</span><o:p></o:p></p>
</div>
<div>
<p class="xxxmsonormal"><span style="color:black">Hui</span><o:p></o:p></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:Aptos">
<hr size="2" width="98%" align="center">
</span></div>
<div id="x_x_x_divRplyFwdMsg">
<p class="xxxmsonormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Palmer, Bruce J via discuss <</span><a href="mailto:discuss@mpich.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">discuss@mpich.org</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Tuesday, June 11, 2024 3:17 PM<br>
<b>To:</b> </span><a href="mailto:discuss@mpich.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">discuss@mpich.org</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> <</span><a href="mailto:discuss@mpich.org"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">discuss@mpich.org</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Cc:</b> Palmer, Bruce J <</span><a href="mailto:Bruce.Palmer@pnnl.gov"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Bruce.Palmer@pnnl.gov</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Subject:</b> [mpich-discuss] Fail on MPI_Wait</span> <o:p></o:p></p>
<div>
<p class="xxxmsonormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="xxxmsonormal"><span style="font-size:1.0pt;color:white">Hi, I’m trying to debug a GPU-aware runtime for the Global Arrays library. We had a version of this working a while ago, but it has mysteriously started failing and we are trying to track down
why. Currently, we are getting failures in MPI_Wait </span><o:p></o:p></p>
</div>
<div>
<p class="xxxmsonormal"><span style="font-size:1.0pt;color:white">ZjQcmQRYFpfptBannerStart</span><o:p></o:p></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_x_x_x_pfptBannerbiv18om">
<div id="x_x_x_x_pfptBannerbiv18om">
<div id="x_x_x_x_pfptBannerbiv18om">
<p class="xxxmsonormal" style="line-height:13.5pt;background:#D0D8DC"><b><span style="font-family:"Arial",sans-serif;color:black">This Message Is From an External Sender
</span></b><o:p></o:p></p>
</div>
<div id="x_x_x_x_pfptBannerbiv18om">
<p class="xxxmsonormal" style="line-height:13.5pt;background:#D0D8DC"><span style="font-family:"Arial",sans-serif;color:black">This message came from outside your organization.
</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxxmsonormal" style="background:#D0D8DC"><span style="color:black"> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxxmsonormal"><span style="font-size:1.0pt;color:white">ZjQcmQRYFpfptBannerEnd</span><o:p></o:p></p>
</div>
<div>
<p class="xxxxmsonormal">Hi,<o:p></o:p></p>
<p class="xxxxmsonormal"> <o:p></o:p></p>
<p class="xxxxmsonormal">I’m trying to debug a GPU-aware runtime for the Global Arrays library. We had a version of this working a while ago, but it has mysteriously started failing and we are trying to track down why. Currently, we are getting failures in
MPI_Wait and were wondering if anyone could provide some information on what exactly seems to be failing inside the wait call. The error we are getting is<o:p></o:p></p>
<p class="xxxxmsonormal"> <o:p></o:p></p>
<p class="xxxxp1"><span class="xxxxs1">Abort(206752655) on node 0: Fatal error in internal_Wait: Other MPI error, error stack:</span><o:p></o:p></p>
<p class="xxxxp1"><span class="xxxxs1">internal_Wait(68205)..........: </span><span class="xxxxs2">MPI_Wai</span><span class="xxxxs1">t(request=0x500847a0, status=0x7ffff9331800) failed</span><o:p></o:p></p>
<p class="xxxxp1"><span class="xxxxs1">MPIR_Wait(780)................:</span><o:p></o:p></p>
<p class="xxxxp1"><span class="xxxxs1">MPIR_Wait_state(737)..........:</span><o:p></o:p></p>
<p class="xxxxp1"><span class="xxxxs1">MPIDI_progress_test(134)......:</span><o:p></o:p></p>
<p class="xxxxp1"><span class="xxxxs1">MPIDI_OFI_handle_cq_error(793): OFI poll failed (ofi_events.c:793:MPIDI_OFI_handle_cq_error:Input/output error)</span><o:p></o:p></p>
<p class="xxxxmsonormal"> <o:p></o:p></p>
<p class="xxxxmsonormal">I’ve verified that the handle corresponding to <span class="xxxxs1">
0x500847a0 is getting set earlier in the code in an MPI_Isend call and that no MPI_Wait or MPI_Test is called on the handle before it crashes with the above error message. I’m using MPICH 4.2.1 using gcc/8.3.0. The MPICH library was configured with</span><o:p></o:p></p>
<p class="xxxxmsonormal"><span class="xxxxs1"> </span><o:p></o:p></p>
<p class="xxxxp1"><span class="xxxxs1">../configure --prefix=/people/d3g293/mpich/mpich-4.2.1/build_newell/install \</span><o:p></o:p></p>
<p class="xxxxp1"><span class="xxxxapple-converted-space"> </span><span class="xxxxs1">--with-device=ch4:ofi:sockets --with-libfabric=embedded \</span><o:p></o:p></p>
<p class="xxxxp1"><span class="xxxxapple-converted-space"> </span><span class="xxxxs1">--without-ucx --enable-threads=multiple --with-slurm \</span><o:p></o:p></p>
<p class="xxxxp1"><span class="xxxxapple-converted-space"> </span><span class="xxxxs1">CC=gcc CXX=g+</span><o:p></o:p></p>
<p class="xxxxmsonormal"> <o:p></o:p></p>
<p class="xxxxmsonormal">I’ve tried building with UCX and gotten the same results.<o:p></o:p></p>
<p class="xxxxmsonormal"> <o:p></o:p></p>
<p class="xxxxmsonormal">Are these errors indicative of corruption of the request handle or problems with some internal MPI data structures or something else? Any information you can provide would be appreciated.<o:p></o:p></p>
<p class="xxxxmsonormal"><br>
Thanks,<o:p></o:p></p>
<p class="xxxxmsonormal">Bruce<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>