<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 class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
>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
<code>MPIR_CVAR_DEBUG_SUMMARY=1</code> and run a simple <code>MPI_INIT+MPI_Finalize</code> test code. Could post its console output?</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
--</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hui</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> Palmer, Bruce J via discuss <discuss@mpich.org><br>
<b>Sent:</b> Tuesday, June 11, 2024 3:17 PM<br>
<b>To:</b> discuss@mpich.org <discuss@mpich.org><br>
<b>Cc:</b> Palmer, Bruce J <Bruce.Palmer@pnnl.gov><br>
<b>Subject:</b> [mpich-discuss] Fail on MPI_Wait</font>
<div> </div>
</div>
<div>
<div style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; height:0px; max-height:0px; opacity:0; overflow:hidden">
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
</div>
<div style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; height:0px; max-height:0px; opacity:0; overflow:hidden">
ZjQcmQRYFpfptBannerStart</div>
<div dir="ltr" id="x_pfptBannerbiv18om" style="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="x_pfptBannerbiv18om" style="float:left!important; display:block!important; margin:0px 0px 1px 0px!important; max-width:600px!important">
<div id="x_pfptBannerbiv18om" style="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="x_pfptBannerbiv18om" style="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>
<div style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; height:0px; max-height:0px; opacity:0; overflow:hidden">
ZjQcmQRYFpfptBannerEnd</div>
<style>
<!--
#x_pfptBannerbiv18om
{display:block!important;
visibility:visible!important;
opacity:1!important;
background-color:#D0D8DC!important;
max-width:none!important;
max-height:none!important}
-->
</style>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Aptos}
@font-face
{font-family:Menlo}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Aptos",sans-serif}
p.x_p1, li.x_p1, div.x_p1
{margin:0in;
font-size:8.5pt;
font-family:Menlo;
color:black}
span.x_s2
{background:#878A04}
span.x_s1
{}
span.x_apple-converted-space
{}
.x_MsoChpDefault
{font-size:11.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
{}
-->
</style>
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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</p>
<p class="x_MsoNormal"> </p>
<p class="x_p1"><span class="x_s1">Abort(206752655) on node 0: Fatal error in internal_Wait: Other MPI error, error stack:</span></p>
<p class="x_p1"><span class="x_s1">internal_Wait(68205)..........: </span><span class="x_s2">MPI_Wai</span><span class="x_s1">t(request=0x500847a0, status=0x7ffff9331800) failed</span></p>
<p class="x_p1"><span class="x_s1">MPIR_Wait(780)................:</span></p>
<p class="x_p1"><span class="x_s1">MPIR_Wait_state(737)..........:</span></p>
<p class="x_p1"><span class="x_s1">MPIDI_progress_test(134)......:</span></p>
<p class="x_p1"><span class="x_s1">MPIDI_OFI_handle_cq_error(793): OFI poll failed (ofi_events.c:793:MPIDI_OFI_handle_cq_error:Input/output error)</span></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I’ve verified that the handle corresponding to <span class="x_s1">
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></p>
<p class="x_MsoNormal"><span class="x_s1"> </span></p>
<p class="x_p1"><span class="x_s1">../configure --prefix=/people/d3g293/mpich/mpich-4.2.1/build_newell/install \</span></p>
<p class="x_p1"><span class="x_apple-converted-space"> </span><span class="x_s1">--with-device=ch4:ofi:sockets --with-libfabric=embedded \</span></p>
<p class="x_p1"><span class="x_apple-converted-space"> </span><span class="x_s1">--without-ucx --enable-threads=multiple --with-slurm \</span></p>
<p class="x_p1"><span class="x_apple-converted-space"> </span><span class="x_s1">CC=gcc CXX=g+</span></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I’ve tried building with UCX and gotten the same results.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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.</p>
<p class="x_MsoNormal"><br>
Thanks,</p>
<p class="x_MsoNormal">Bruce</p>
</div>
</div>
</body>
</html>