Re: [OMPI devel] async thread in openib BTL

2011-01-03 Thread Jeff Squyres
In addition, it would be really, really nice if someone would consolidate the watching of these devices into other mechanisms. The idea here is that the error can be noticed asynchronously, so it can't be part of the main libevent fd-watching (which is only checked once in a while). The async

Re: [OMPI devel] async thread in openib BTL

2010-12-23 Thread Shamis, Pavel
The async thread is used to handle asynchronous error/notification events, like port up/down, hca errors etc. So most of the time the thread sleeps, and in healthy network you not supposed to see any events. Regards, Pasha On Dec 23, 2010, at 12:49 AM, Eugene Loh wrote: > I'm starting to loo

[OMPI devel] async thread in openib BTL

2010-12-23 Thread Eugene Loh
I'm starting to look at the openib BTL for the first time and am puzzled. In btl_openib_async.c, it looks like an asynchronous thread is started. During MPI_Init(), the main thread sends the async thread a file descriptor for each IB interface to be polled. In MPI_Finalize(), the main thread