<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>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle25
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle27
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.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;}
/* List Definitions */
@list l0
{mso-list-id:810057064;
mso-list-type:hybrid;
mso-list-template-ids:498472462 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1
{mso-list-id:1075937023;
mso-list-template-ids:-1201370850;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></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">Hi Arun,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have tried using the steps mentioned by you but it is still not working. I also tried to run the fabtest but it was also not returning verbs provider. I have installed Libfabric v1.5.1 using the following steps-<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoNormal" style="mso-list:l0 level1 lfo3">./configure --prefix=$HOME/libfabric151 --enable-verbs=yes --enable-rxm=yes --disable-mlx<o:p></o:p></li><li class="MsoNormal" style="mso-list:l0 level1 lfo3">make<o:p></o:p></li><li class="MsoNormal" style="mso-list:l0 level1 lfo3">make install<o:p></o:p></li></ol>
<p class="MsoListParagraph"><o:p> </o:p></p>
<p class="MsoNormal">Please find the attached logs for more details.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Following is my .bashrc configuration for libfabric-<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="596" height="135" style="width:6.2083in;height:1.4062in" id="_x0000_i1025" src="cid:image006.png@01D3ACB2.2CF1DA00"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am using the following command for compiling my program –<o:p></o:p></p>
<p class="MsoNormal">cc -o libfabric_test_version libfabric_test_version.c -I $LIBFABRIC_HOME/include -L $LIBFABRIC_HOME/lib -lfabric<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sample program is also attached with this mail.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can you please let us know if we are doing anything wrong. It will be really great if you please let us know how to resolve this issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Subhadeep<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Ilango, Arun [<a href="mailto:arun.ilango@intel.com">mailto:arun.ilango@intel.com</a>]
<br>
<b>Sent:</b> Wednesday, February 21, 2018 1:30 PM<br>
<b>To:</b> Subhadeep Bhattacharya <<a href="mailto:sb17v@my.fsu.edu">sb17v@my.fsu.edu</a>>; Hefty, Sean <<a href="mailto:sean.hefty@intel.com">sean.hefty@intel.com</a>><br>
<b>Cc:</b> Gladkov, Dmitry <<a href="mailto:dmitry.gladkov@intel.com">dmitry.gladkov@intel.com</a>>;
<a href="mailto:libfabric-users@lists.openfabrics.org">libfabric-users@lists.openfabrics.org</a><br>
<b>Subject:</b> RE: Libfabric : Facing issues with FI_VERSION(1, 5) in fi_getinfo()<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Subhadeep,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">There are two ways to use RDM endpoint in verbs provider: one is the verbs/RDM path that’s internal to the provider and the other is through the ofi_rxm utility provider which layers on top of verbs provider.
The former would be deprecated from libfabric 1.7 onwards and it’s advisable to use ofi_rxm.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">To use the internal verbs/RDM path, FI_CONTEXT mode bit needs to be set in hints. To use ofi_rxm FI_MR_LOCAL domain attribute mr_mode bit needs to be set.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Can you try with the following added to your code:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">hints->domain_attr->mr_mode = FI_MR_LOCAL;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">hints->mode = FI_CONTEXT;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Note: Passing FI_LOCAL_MR in hints->mode as you have in the code should have worked for ofi_rxm but there is a bug which currently prevents that. It should be fixed in the next release.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Arun.<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"></a><span style="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"><a name="_____replyseparator"></a><b>From:</b> Subhadeep Bhattacharya [<a href="mailto:sb17v@my.fsu.edu">mailto:sb17v@my.fsu.edu</a>]
<br>
<b>Sent:</b> Tuesday, February 20, 2018 6:10 PM<br>
<b>To:</b> Ilango, Arun <<a href="mailto:arun.ilango@intel.com">arun.ilango@intel.com</a>>; Hefty, Sean <<a href="mailto:sean.hefty@intel.com">sean.hefty@intel.com</a>><br>
<b>Cc:</b> Gladkov, Dmitry <<a href="mailto:dmitry.gladkov@intel.com">dmitry.gladkov@intel.com</a>>;
<a href="mailto:libfabric-users@lists.openfabrics.org">libfabric-users@lists.openfabrics.org</a><br>
<b>Subject:</b> RE: Libfabric : Facing issues with FI_VERSION(1, 5) in fi_getinfo()<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The IP address I am using (10.10.16.2 and 10.10.16.3) are seems to be fine and they are associated with IPoIB devices. I am getting the verbs as a provider while using FI_VERSION(1,4). But for FI_VERSION(1,5) I am not getting the verbs
provider.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">PFA the logs -<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">logs_for_v15 – For FI_VERSION(1,5)<o:p></o:p></p>
<p class="MsoNormal">logs_for_v14 – For FI_VERSION(1,4) <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Subhadeep<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Ilango, Arun [<a href="mailto:arun.ilango@intel.com">mailto:arun.ilango@intel.com</a>]
<br>
<b>Sent:</b> Tuesday, February 20, 2018 2:14 PM<br>
<b>To:</b> Hefty, Sean <<a href="mailto:sean.hefty@intel.com">sean.hefty@intel.com</a>>; Subhadeep Bhattacharya <<a href="mailto:sb17v@my.fsu.edu">sb17v@my.fsu.edu</a>><br>
<b>Cc:</b> Gladkov, Dmitry <<a href="mailto:dmitry.gladkov@intel.com">dmitry.gladkov@intel.com</a>>;
<a href="mailto:libfabric-users@lists.openfabrics.org">libfabric-users@lists.openfabrics.org</a><br>
<b>Subject:</b> RE: Libfabric : Facing issues with FI_VERSION(1, 5) in fi_getinfo()<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Subhadeep,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Can you run your program with FI_LOG_LEVEL=info and share the logs?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Arun.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="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>From:</b> Hefty, Sean <br>
<b>Sent:</b> Tuesday, February 20, 2018 9:05 AM<br>
<b>To:</b> Subhadeep Bhattacharya <<a href="mailto:sb17v@my.fsu.edu">sb17v@my.fsu.edu</a>>; Ilango, Arun <<a href="mailto:arun.ilango@intel.com">arun.ilango@intel.com</a>><br>
<b>Cc:</b> Gladkov, Dmitry <<a href="mailto:dmitry.gladkov@intel.com">dmitry.gladkov@intel.com</a>>;
<a href="mailto:libfabric-users@lists.openfabrics.org">libfabric-users@lists.openfabrics.org</a><br>
<b>Subject:</b> RE: Libfabric : Facing issues with FI_VERSION(1, 5) in fi_getinfo()<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Copying the verbs maintainers and libfabric-users list. I think the most common problem is selecting IP addresses that are associated with IPoIB devices.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Btw, you may want to look at the fi_tostr() function for printing libfabric structures, bitmasks, etc.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- Sean<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Subhadeep Bhattacharya [<a href="mailto:sb17v@my.fsu.edu">mailto:sb17v@my.fsu.edu</a>]
<br>
<b>Sent:</b> Monday, February 19, 2018 9:01 AM<br>
<b>To:</b> Hefty, Sean <<a href="mailto:sean.hefty@intel.com">sean.hefty@intel.com</a>><br>
<b>Subject:</b> Libfabric : Facing issues with FI_VERSION(1, 5) in fi_getinfo()<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Sean,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am trying to work with Libfabric in our cluster but currently facing some issues. While checking the ‘fi_info’ with the provider as ‘verbs’, I am getting verbs provider for the current node.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img border="0" width="420" height="476" style="width:4.375in;height:4.9583in" id="Picture_x0020_1" src="cid:image007.png@01D3ACB2.2CF1DA00" alt="cid:image001.png@01D3AA8E.A09391E0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have installed ‘v1.5.3’ in our cluster and trying to write some code using Libfabric. But I am getting only ‘sockets’ as provider when giving
<b>FI_VERSION(1, 5)</b> in <b>fi_getinfo()</b> function. I want to use verbs provider but the fi_getinfo is not returning it. Please find the images below for more details-<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img border="0" width="844" height="639" style="width:8.7916in;height:6.6562in" id="Picture_x0020_2" src="cid:image008.png@01D3ACB2.2CF1DA00" alt="cid:image002.png@01D3AA8E.A09391E0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img border="0" width="1143" height="131" style="width:11.9062in;height:1.3645in" id="Picture_x0020_3" src="cid:image009.png@01D3ACB2.2CF1DA00" alt="cid:image003.png@01D3AA8E.A09391E0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If I give <b>FI_VERSION(1, 4)</b>, I am getting verbs also as provider.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img border="0" width="961" height="645" style="width:10.0104in;height:6.7187in" id="Picture_x0020_4" src="cid:image010.png@01D3ACB2.2CF1DA00" alt="cid:image004.png@01D3AA8E.A09391E0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img border="0" width="1176" height="212" style="width:12.25in;height:2.2083in" id="Picture_x0020_5" src="cid:image011.png@01D3ACB2.2CF1DA00" alt="cid:image005.png@01D3AA8E.A09391E0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can you please clarify if I am doing anything wrong. It would be really great if you please mention how to resolve this issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks and Regards,<o:p></o:p></p>
<p class="MsoNormal">Subhadeep<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Graduate Research Assistant<o:p></o:p></p>
<p class="MsoNormal">Computer Architecture and SysTems Research Lab (CASTL)<o:p></o:p></p>
<p class="MsoNormal">Florida State University<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>