Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] questions about the openib component
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-12-15 20:10:58

On Dec 8, 2010, at 10:59 AM, ºî½Ü wrote:

> Now I am studying the openib component, and I find it is really complicated. Here I have one question to ask, it is as follows:
> In the initialization of openib component, the function named setup_qps() is used. In this function, the following code segments are written:
> mca_btl_openib_component.num_pp_qps = num_pp_qps;
> mca_btl_openib_component.num_srq_qps = num_srq_qps;
> mca_btl_openib_component.num_xrc_qps = num_xrc_qps;
> mca_btl_openib_component.num_qps = num_pp_qps + num_srq_qps + num_xrc_qps;
> if you run the program in the step way, you will find that at last the value of mca_btl_openib_component.num_qps is 4( the value of num_pp_qps is 1, and the value of num_srq_qps is 3). Can someone explain me why 4 QPs(1 normal QP, 3 SRQ QPs) need to be created?

Have a look at this paper:

Jeff Squyres
For corporate legal information go to: