[libfabric-users] 2 questions
Dave Goodell (dgoodell)
dgoodell at cisco.com
Tue Feb 21 08:30:04 PST 2017
(Some example code either inline in your mail or hosted at gist.github.com would help others assist you with debugging.)
> On Feb 21, 2017, at 9:44 AM, Biddiscombe, John A. <biddisco at cscs.ch> wrote:
>
> To answer Q1 : I discover that you have to put the dest address into the info->dest_addr fields before calling getinfo - which is a bit annoying, but after stepping though the libfabric code, I see it is using the rdma_cm functions under the hood and the rdma_get_peer_addr fails if it hasn’t been set.
> (Note to self: find out how these address vectors work cos they look like they will be much easier to work with)
You could set hints->dest_addr, but I think the more typical model is to set the "node" and "service" parameters to fi_getinfo() to be something like "192.168.3.32" and "37000" on the active side, which should set the returned info->dest_addr correctly for you. I.e., it should behave much like getaddrinfo(3).
-Dave
More information about the Libfabric-users
mailing list