<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="Title" content="">
<meta name="Keywords" content="">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Calibri;
mso-fareast-language:EN-US;}
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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:Calibri;
mso-fareast-language:EN-US;}
@page WordSection1
{size:595.0pt 842.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:14.0pt">Hello list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">I’m not getting any completion events from fi_read calls.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">I’m binding the cq using<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> ret = <u>fi_ep_bind</u>(*new_endpoint, &txcq->fid, FI_TRANSMIT);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">and just to play safe I tried adding FI_COMPLETION to the cq create flags<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> cq_attr.wait_obj = FI_WAIT_NONE;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> cq_attr.size = info->tx_attr->size;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> cq_attr.flags = FI_COMPLETION;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"> ret = fi_cq_open(fabric_domain_, &cq_attr, &txcq, &txcq);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">the fi_read returns success, so I think my args are ok.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">What else might I have missed to tell the cq that I’d like completion events from read operations?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt">JB<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Times New Roman";mso-fareast-language:EN-GB">--</span><span style="font-family:"Times New Roman";mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Times New Roman";mso-fareast-language:EN-GB">John Biddiscombe, email:biddisco @.at.@ cscs.ch</span><span style="font-family:"Times New Roman";mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Times New Roman";mso-fareast-language:EN-GB"><a href="http://www.cscs.ch/"><span style="color:#0563C1">http://www.cscs.ch/</span></a></span><span style="font-family:"Times New Roman";mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Times New Roman";mso-fareast-language:EN-GB">CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07</span><span style="font-family:"Times New Roman";mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="IT-CH" style="font-family:"Times New Roman";mso-fareast-language:EN-GB">Via Trevano 131, 6900 Lugano, Switzerland | Fax: +41 (91) 610.82.82</span><span style="font-family:"Times New Roman";mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>