[libfabric-users] FI_CONNECTED question
Biddiscombe, John A.
biddisco at cscs.ch
Wed Feb 22 07:50:24 PST 2017
If I have N threads all making connections to remote endpoints, I poll the event queue (shared between all active endpoints making the connections).
How do I get the endpoint from the FI_CONNECTED event that tells me which connection the event is referring to?
When I receive an FI_CONNREQ event, I can get the dest_addr from the info, but the FI_CONNECTED always has nullptr there so I can’t use that to cross reference a list of my connection attempts.
Ideally, I’d like to get the fid_ep * from the CONNECTED event so that I then start using that endpoint, but I can’t find a way of getting that information. (with a single thread, I ‘know’ which endpoint last started a connection attempt – or accepted a connection request, but with many, I do not).
How should it be done?
Thanks
JB
--
John Biddiscombe, email:biddisco @.at.@ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Trevano 131, 6900 Lugano, Switzerland | Fax: +41 (91) 610.82.82
More information about the Libfabric-users
mailing list