Re: [OMPI devel] Question about 'progress function'

2016-05-06 Thread Nathan Hjelm
The return code of your progress function should be related to the activity (send, recv, put, get, etc completion) on your network. The return is not really used right now but may be meaningful in the future. Your BTL signals progress through two mechanisms: 1) Send completion is indicated by e

Re: [OMPI devel] Question about 'progress function'

2016-05-06 Thread dpchoudh .
George Thanks for your help. But what should the progress function return, so that the event is signalled? Right now I am returning a 1 when data has been transmitted and 0 otherwise, but that does not seem to work. Also, please keep in mind that the transport I am working on supports unreliable d

Re: [OMPI devel] Question about 'progress function'

2016-05-05 Thread George Bosilca
Durga, TCP doesn't need a specialized progress function because we are tied directly with libevent. In your case you should provide a BTL progress function, function that will be called at the end of libevent base loop regularly. George. On Thu, May 5, 2016 at 11:30 PM, dpchoudh . wrote: >