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

Evan Harvey e1.0harvey at gmail.com
Thu Mar 9 12:56:25 PST 2017


Hi John,

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.

Hope this helps,
~Evan

On Thu, Mar 9, 2017 at 1:00 PM, <
libfabric-users-request at lists.openfabrics.org> wrote:

> Send Libfabric-users mailing list submissions to
>         libfabric-users at lists.openfabrics.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.openfabrics.org/mailman/listinfo/libfabric-users
> or, via email, send a message with subject or body 'help' to
>         libfabric-users-request at lists.openfabrics.org
>
> You can reach the person managing the list at
>         libfabric-users-owner at lists.openfabrics.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Libfabric-users digest..."
>
>
> Today's Topics:
>
>    1. fi_read completion event (Biddiscombe, John A.)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 9 Mar 2017 16:09:23 +0000
> From: "Biddiscombe, John A." <biddisco at cscs.ch>
> To: "libfabric-users at lists.openfabrics.org"
>         <libfabric-users at lists.openfabrics.org>
> Subject: [libfabric-users] fi_read completion event
> Message-ID: <91E2CB01-C8E7-4067-B1A7-1DD81BAB5B46 at cscs.ch>
> Content-Type: text/plain; charset="utf-8"
>
> Hello list
>
> I’m not getting any completion events from fi_read calls.
>
> I’m binding the cq using
>             ret = fi_ep_bind(*new_endpoint, &txcq->fid, FI_TRANSMIT);
> and just to play safe I tried adding FI_COMPLETION to the cq create flags
>             cq_attr.wait_obj = FI_WAIT_NONE;
>             cq_attr.size = info->tx_attr->size;
>             cq_attr.flags = FI_COMPLETION;
>             ret = fi_cq_open(fabric_domain_, &cq_attr, &txcq, &txcq);
>
> the fi_read returns success, so I think my args are ok.
>
> What else might I have missed to tell the cq that I’d like completion
> events from read operations?
>
> 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
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.openfabrics.org/pipermail/libfabric-users/
> attachments/20170309/315d0519/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Libfabric-users mailing list
> Libfabric-users at lists.openfabrics.org
> http://lists.openfabrics.org/mailman/listinfo/libfabric-users
>
>
> ------------------------------
>
> End of Libfabric-users Digest, Vol 12, Issue 6
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20170309/ead7b9a9/attachment.html>


More information about the Libfabric-users mailing list