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