Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Conversation

jsquyres
Copy link
Member

The math for checking the number of QPs and CQs per usNIC/VF was
incorrect, allowing you to run MPI processes even when usNICs (i.e.,
VIC VFs) had fewer QPs and CQs than were necessary. This led to a
confusing error later when fi_enable(3) failed (because we lazily
create QPs). Fixing the math here ensure that we actually print a
helpful error message telling the user specifically what is wrong.

Signed-off-by: Jeff Squyres [email protected]

(cherry picked from commit open-mpi/ompi@dc18c32)

Reviewed by @bturrubiates 👍

The math for checking the number of QPs and CQs per usNIC/VF was
incorrect, allowing you to run MPI processes even when usNICs (i.e.,
VIC VFs) had fewer QPs and CQs than were necessary.  This led to a
confusing error later when fi_enable(3) failed (because we lazily
create QPs).  Fixing the math here ensure that we actually print a
helpful error message telling the user specifically what is wrong.

Signed-off-by: Jeff Squyres <[email protected]>

(cherry picked from commit open-mpi/ompi@dc18c32)
@jsquyres jsquyres added the bug label Apr 23, 2016
@jsquyres jsquyres added this to the v2.0.0 milestone Apr 23, 2016
@jsquyres
Copy link
Member Author

@hppritcha Good to go

@mellanox-github
Copy link

Test PASSed.
See http://bgate.mellanox.com/jenkins/job/gh-ompi-release-pr/1546/ for details.

@hppritcha hppritcha merged commit bd0e4e1 into open-mpi:v2.x Apr 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants