[libfabric-users] fi_read completion event (Biddiscombe, John A.)

Biddiscombe, John A. biddisco at cscs.ch
Fri Mar 10 05:34:35 PST 2017


Evan

>
I believe you need to set FI_RMA_EVENT in the caps.

To do this add:
hints->caps |= FI_RMA_EVENT before calling fi_getinfo.

The fi_getinfo and fi_endpoint man pages have more information about what FI_RMA_EVENT does when set.
<

from the wording “Increments the specified counter whenever an RMA read or atomic fetch operation is initiated from a remote endpoint that targets the given endpoint” this makes me believe that the event is trigger on Node B when Node A reads/writes from it. I would like a completion on Node A, when Node A had read/write from B.

likewise
“FI_RMA_EVENT
Requests that an endpoint support the generation of completion events when it is the target of an RMA and/or atomic operation. This flag requires that FI_REMOTE_READ and/or FI_REMOTE_WRITE be enabled on the endpoint.”

Which seems to confirm the above.

Is there something else I need to look out for? I can confirm that I get recv/send completions and all is fine, but nothing for fi_read.

Thanks

JB

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20170310/a5184e77/attachment.html>


More information about the Libfabric-users mailing list