[libfabric-users] Using PSM2 and sockets.
sean.hefty at intel.com
Tue Feb 11 10:47:15 PST 2020
> So, if I want to create a socket communication over PSM2, I must use sockets from C or
> is there a interface provided by libfabric?
Do you mean SOCK_STREAM semantics?
You were on the right track from a libfabric API perspective with fi_passive_ep. However, that's not supported by psm2. If you require psm2 as the provider, you would need to build the socket API semantics over the RDM endpoint type. The data transfer implementation may not be that difficult, but you would need to implement some sort of connection protocol over the RDM EP to emulate the socket listen/connect/accept/shutdown calls.
More information about the Libfabric-users