<div dir="ltr">Valentino, I also got the same error when I was trying to connect to another node; which wasn't listening.<div>Unlike in Sockets, where the connect would wait a while and retry, I think in verbs it just returns that error without waiting.</div><div><br></div><div>So, perhaps you might try to check your address & port numbers to see if you are actually trying to connect to another node (that has a passive_ep waiting for incoming connection requests)</div><div><br></div><div>(Sorry for the messed up formatting, I'm replying from a digest)</div><div><br></div><div>Regards,</div><div>CHP<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 7, 2016 at 10:48 PM <<a href="mailto:libfabric-users-request@lists.openfabrics.org">libfabric-users-request@lists.openfabrics.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Date: Tue, 6 Sep 2016 19:21:23 +0000<br>
From: "Ilango, Arun" <<a href="mailto:arun.ilango@intel.com" target="_blank">arun.ilango@intel.com</a>><br>
To: Valentino Picotti <<a href="mailto:valentino.picotti@gmail.com" target="_blank">valentino.picotti@gmail.com</a>>,<br>
        "<a href="mailto:libfabric-users@lists.openfabrics.org" target="_blank">libfabric-users@lists.openfabrics.org</a>"<br>
        <<a href="mailto:libfabric-users@lists.openfabrics.org" target="_blank">libfabric-users@lists.openfabrics.org</a>><br>
Subject: Re: [libfabric-users] Strange error on fi_eq_sread<br>
Message-ID:<br>
        <<a href="mailto:9AF9040AB234BE4FAA27F4923A65A41B087D678B@ORSMSX114.amr.corp.intel.com" target="_blank">9AF9040AB234BE4FAA27F4923A65A41B087D678B@ORSMSX114.amr.corp.intel.com</a>><br>
<br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I’m assuming you meant fi_eq_sread returns -FI_EAVAIL. The fi_eq_strerror returns the error string for provider (ibverbs/rdmacm) specific error. It is not set by libfabric. I think it’s probably set by the kernel space code of rdmacm/ibverbs. Did you check the value in err_entry.err ? That could give clues as to what rdmacm error event was received.<br>
<br>
Thanks,<br>
Arun.<br>
<br>
From: Libfabric-users [mailto:<a href="mailto:libfabric-users-bounces@lists.openfabrics.org" target="_blank">libfabric-users-bounces@lists.openfabrics.org</a>] On Behalf Of Valentino Picotti<br>
Sent: Tuesday, September 06, 2016 8:00 AM<br>
To: <a href="mailto:libfabric-users@lists.openfabrics.org" target="_blank">libfabric-users@lists.openfabrics.org</a><br>
Subject: [libfabric-users] Strange error on fi_eq_sread<br>
<br>
Hi,<br>
<br>
I'm using lib fabric with the verbs provider.<br>
In my program i make a call to fi_eq_sread waiting for a FI_CONNECTED event, after a successful fi_connect.<br>
fi_cq_sread returns -FI_EAVAIL and printing the err_entry results in a Exec format error.<br>
I dived into to libfabric verbs and rdma source code, but nothing sets such errno.<br>
<br>
Here are the links to the source code:<br>
- Eq initialisation<<a href="https://github.com/manzali/lseb/blob/picotti/transport/libfabric/shared.cpp#L95" rel="noreferrer" target="_blank">https://github.com/manzali/lseb/blob/picotti/transport/libfabric/shared.cpp#L95</a>><br>
- Read<<a href="https://github.com/manzali/lseb/blob/picotti/transport/libfabric/shared.cpp#L16" rel="noreferrer" target="_blank">https://github.com/manzali/lseb/blob/picotti/transport/libfabric/shared.cpp#L16</a>> that returns an error<br>
- Call<<a href="https://github.com/manzali/lseb/blob/picotti/transport/libfabric/connector.cpp#L69" rel="noreferrer" target="_blank">https://github.com/manzali/lseb/blob/picotti/transport/libfabric/connector.cpp#L69</a>> to the read<br>
<br>
Thanks in advance.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20160906/618ede9a/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20160906/618ede9a/attachment-0001.html</a>><br>
<br>
------------------------------<br>
</blockquote></div></div></div>