I still do not believe there is a way for you to steer your traffic based on the thread that is calling into Open MPI. While you can spawn your own threads, Open MPI is going to figure out what interfaces to use based on the characteristics of the process during MPI_Init. Even if Open MPI decides to use two interfaces, the use of these will be done based on the process. It will alternate between them independent of which thread happens to be doing the sends or receives. There is no way of doing this with something like MPI_T_cvar_write which I think is what you were looking for.
Rolf >-----Original Message----- >From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Filippo Spiga >Sent: Tuesday, April 07, 2015 5:46 AM >To: Open MPI Users >Subject: Re: [OMPI users] Different HCA from different OpenMP threads >(same rank using MPI_THREAD_MULTIPLE) > >Thanks Rolf and Ralph for the replies! > >On Apr 6, 2015, at 10:37 PM, Ralph Castain <r...@open-mpi.org> wrote: >> That said, you can certainly have your application specify a thread-level >binding. You’d have to do the heavy lifting yourself in the app, I’m afraid, >instead of relying on us to do it for you > >Ok, my application must do it and I am fine with it. But how? I mean, does >Open MPi expose some API that allows such fine grain control? > >F > >-- >Mr. Filippo SPIGA, M.Sc. >http://filippospiga.info ~ skype: filippo.spiga ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------