[libfabric-users] Trouble setting up a connection

Hefty, Sean sean.hefty at intel.com
Tue Feb 23 11:17:05 PST 2016


> > thanks for this list. I am trying to write a minimal example using
> > libfabric in reliable connection mode. I extracted most of my approach
> > from the msg.c example in fabtests.
> >
> > Here is my attempt: https://gist.github.com/joerns/bfe5d13969ce0bc008c4
> >
> > I got so far that the server listens and waits for incoming events on an
> > EQ, and the client tries to connect. But when the client tries to
> > connect and waits for a "connection established" event, the fi_eq_sread
> > call fails and returns -259:
> 
> I'd make one small tweak to your error checking: call fi_strerror()
> >
> >> error: reading from event queue failed (after connect): rd=-259
> >
> > Any ideas what could be the reason for that?
> 
> 259 is "Error available" -- but yeah, what does that mean?

It means that there is an error available on the EQ.  You need to call fi_eq_readerr to retrieve it.


More information about the Libfabric-users mailing list