[libfabric-users] Connectionless RDM question

Hefty, Sean sean.hefty at intel.com
Mon Mar 6 13:03:33 PST 2017

> What I was trying to say is that I receive a message on node B. There
> may be many nodes in the job. Is there any info in the completion that
> tells me which node (A,C,D….Z) sent the message, or must I add my own
> address to each message? With EP_MSG I have an endpoint per connection,
> so I know which node sent me the message because I know which
> connection it came from, with EP_RDM I don’t. is there a way of
> retrieving the message sender from the receiving end?

Use fi_cq_readfrom() to get the source address.  If you use FI_AV_INDEX, you can use the returned value as an index into your own array of peers.

More information about the Libfabric-users mailing list