Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] async thread in openib BTL
From: Eugene Loh (eugene.loh_at_[hidden])
Date: 2010-12-23 00:49:39


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 asks the async thread to shut down. Between MPI_Init()
and MPI_Finalize(), I would think that the async thread would poll on
the IB fd's and handle events that come up. If I stick print statements
into the async thread, however, I don't see any events come up on the IB
fd's. So, the async thread is useless. Yes? It starts up and shuts
down, but never sees any events on the IB devices?