<div dir="ltr">Hi Jithin,<div><br></div><div>Thanks for the response.  We just did a little more digging and it turns out that</div><div>the test case wasn't calling fi_enable before calling fi_getname.  For the</div><div>GNI provider that happens to be okay (currently).    The test now works with</div><div>the sockets provider.</div><div><br></div><div>Thanks,</div><div><br></div><div>Howard</div><div>  </div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-06 10:29 GMT-06:00 Jose, Jithin <span dir="ltr"><<a href="mailto:jithin.jose@intel.com" target="_blank">jithin.jose@intel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Howard,<br>
<span class=""><br>
>libfabric:sockets:av:sock_check_table_in():228<debug> AV-INSERT:dst_addr: family: 2, IP is 10.128.0.9, port: 0<br>
<br>
</span>From the logs, it looks like the address inserted to AV table has port = 0. Can you double check this?<br>
May be we should add some error-checking here to catch these.<br>
<br>
I think the connect() call is failing because of this:<br>
<span class=""><br>
>libfabric:sockets:ep_ctrl:sock_ep_connect():419<debug> Connecting to:<br>
</span>><a href="http://10.128.0.9:0" rel="noreferrer" target="_blank">10.128.0.9:0</a> <<a href="http://10.128.0.9:0" rel="noreferrer" target="_blank">http://10.128.0.9:0</a>><br>
<span class=""><br>
>Are there known problems with the sockets provider and send-to-self style send/recv<br>
>using FI_EP_RDM?<br>
<br>
</span>I am not aware of any issues with send-to-self send/recv with sockets-provider.<br>
<br>
- Jithin<br>
<div><div class="h5"><br>
-----Original Message-----<br>
From: Libfabric-users <<a href="mailto:libfabric-users-bounces@lists.openfabrics.org">libfabric-users-bounces@lists.openfabrics.org</a>> on behalf of Howard Pritchard <<a href="mailto:hppritcha@gmail.com">hppritcha@gmail.com</a>><br>
Date: Tuesday, July 5, 2016 at 10:36 AM<br>
To: "<a href="mailto:libfabric-users@lists.openfabrics.org">libfabric-users@lists.openfabrics.org</a>" <<a href="mailto:libfabric-users@lists.openfabrics.org">libfabric-users@lists.openfabrics.org</a>>, Henry Cooney <<a href="mailto:hacoo36@gmail.com">hacoo36@gmail.com</a>><br>
Subject: [libfabric-users] sockets provider question<br>
<br>
>Hi Folks,<br>
><br>
><br>
>We have a simple libfabric test we are trying to get to work.<br>
>It uses FI_EP_RDM endpoint type.  A single endpoint is<br>
>created.<br>
><br>
><br>
>The test is intended to send/recv messages on this single<br>
>endpoint.  This test works with GNI provider, but hangs<br>
>with the sockets provider.<br>
><br>
><br>
>We are working from master@33cad4b<br>
><br>
><br>
>If we turn on FI_LOG_LEVEL_DEBUG we see odd things about<br>
>trying to use port 0 - which doesn't sound good:<br>
><br>
><br>
>libfabric:sockets:av:sock_check_table_in():228<debug> AV-INSERT:dst_addr: family: 2, IP is 10.128.0.9, port: 0<br>
>libfabric:sockets:ep_data:sock_pe_add_tx_ctx():2435<debug> TX ctx added to PE<br>
>libfabric:sockets:ep_data:sock_pe_add_rx_ctx():2453<debug> RX ctx added to PE<br>
>libfabric:sockets:ep_ctrl:sock_conn_listen():311<debug> Binding listener thread to port: 0<br>
>libfabric:sockets:ep_ctrl:sock_conn_listen():337<debug> Bound to port: 56165 - 39144<br>
>and later on when we try to send a message:<br>
>Test Fabric object created.<br>
>Attempting to send a message. You should see some output.<br>
><br>
><br>
>Sending...<br>
>libfabric:sockets:ep_ctrl:sock_ep_connect():419<debug> Connecting to:<br>
</div></div>><a href="http://10.128.0.9:0" rel="noreferrer" target="_blank">10.128.0.9:0</a> <<a href="http://10.128.0.9:0" rel="noreferrer" target="_blank">http://10.128.0.9:0</a>><br>
<span class="">>libfabric:sockets:ep_ctrl:sock_ep_connect():421<debug> Connecting using address:10.128.0.9<br>
>libfabric:sockets:ep_ctrl:sock_ep_connect():443<debug> Error in connection() 111 - Connection refused - 16<br>
>libfabric:sockets:ep_ctrl:sock_ep_connect():445<debug> Connecting to:<br>
</span>><a href="http://10.128.0.9:0" rel="noreferrer" target="_blank">10.128.0.9:0</a> <<a href="http://10.128.0.9:0" rel="noreferrer" target="_blank">http://10.128.0.9:0</a>><br>
<div class="HOEnZb"><div class="h5">>libfabric:sockets:ep_ctrl:sock_ep_connect():447<debug> Connecting using address:10.128.0.9<br>
>Are there known problems with the sockets provider and send-to-self style send/recv<br>
>using FI_EP_RDM?<br>
>Thanks for any help,<br>
>Howard<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>