[libfabric-users] Strange error on fi_eq_sread

Chang Hyun Park heartinpiece at gmail.com
Thu Sep 8 04:59:27 PDT 2016


Valentino, I also got the same error when I was trying to connect to
another node; which wasn't listening.
Unlike in Sockets, where the connect would wait a while and retry, I think
in verbs it just returns that error without waiting.

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)

(Sorry for the messed up formatting, I'm replying from a digest)

Regards,
CHP

On Wed, Sep 7, 2016 at 10:48 PM <
libfabric-users-request at lists.openfabrics.org> wrote:

>
> Date: Tue, 6 Sep 2016 19:21:23 +0000
> From: "Ilango, Arun" <arun.ilango at intel.com>
> To: Valentino Picotti <valentino.picotti at gmail.com>,
>         "libfabric-users at lists.openfabrics.org"
>         <libfabric-users at lists.openfabrics.org>
> Subject: Re: [libfabric-users] Strange error on fi_eq_sread
> Message-ID:
>         <
> 9AF9040AB234BE4FAA27F4923A65A41B087D678B at ORSMSX114.amr.corp.intel.com>
>
> Content-Type: text/plain; charset="utf-8"
>
> 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.
>
> Thanks,
> Arun.
>
> From: Libfabric-users [mailto:
> libfabric-users-bounces at lists.openfabrics.org] On Behalf Of Valentino
> Picotti
> Sent: Tuesday, September 06, 2016 8:00 AM
> To: libfabric-users at lists.openfabrics.org
> Subject: [libfabric-users] Strange error on fi_eq_sread
>
> Hi,
>
> I'm using lib fabric with the verbs provider.
> In my program i make a call to fi_eq_sread waiting for a FI_CONNECTED
> event, after a successful fi_connect.
> fi_cq_sread returns -FI_EAVAIL and printing the err_entry results in a
> Exec format error.
> I dived into to libfabric verbs and rdma source code, but nothing sets
> such errno.
>
> Here are the links to the source code:
> - Eq initialisation<
> https://github.com/manzali/lseb/blob/picotti/transport/libfabric/shared.cpp#L95
> >
> - Read<
> https://github.com/manzali/lseb/blob/picotti/transport/libfabric/shared.cpp#L16>
> that returns an error
> - Call<
> https://github.com/manzali/lseb/blob/picotti/transport/libfabric/connector.cpp#L69>
> to the read
>
> Thanks in advance.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20160906/618ede9a/attachment-0001.html
> >
>
> ------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20160908/cbce066a/attachment.html>


More information about the Libfabric-users mailing list