Skip to content

Conversation

@jsquyres
Copy link
Member

Defer initializing the CPCs until we know that we have devices/ports to use. This both prevents some useless work at startup when there are no devices/ports to use, and also prevents librdmacm from complaining that there are no verbs-capable RDMA devices available (e.g., if a Cisco usNIC device is present, but does not present a verbs RDMA interface).

@hjelmn Can you please confirm that I didn't break anything?

@jsquyres jsquyres force-pushed the pr/openib-delay-cpc-init branch from f4e5ca6 to 3195214 Compare April 25, 2015 11:37
@mellanox-github
Copy link

Refer to this link for build results (access rights to CI server needed):
http://bgate.mellanox.com/jenkins/job/gh-ompi-master-pr/485/
Test PASSed.

@jsquyres
Copy link
Member Author

@hjelmn reviewed this and gave me an "ok" in IM. He says that Jenkins explicitly tests openib, so it should have failed if I broke something.

I think @hppritcha is going to specifically test this, though, so I'll wait for his ok before merging it in.

Defer initializing the CPCs until we know that we have devices/ports
to use.  This both prevents some useless work at startup when there
are no devices/ports to use, and also prevents librdmacm complaining
that there are no verbs-capable RDMA devices available (e.g., if a
Cisco usNIC device is present, but does not present a verbs RDMA
interface).
@jsquyres
Copy link
Member Author

@hjelmn @hppritcha I would like to merge in #565, and it depends on this PR. Can you please review / test?

Thanks.

@mellanox-github
Copy link

Refer to this link for build results (access rights to CI server needed):
http://bgate.mellanox.com/jenkins/job/gh-ompi-master-pr/497/
Test PASSed.

@hppritcha
Copy link
Member

This worked for me on one of the mlnx clusters here.

jsquyres added a commit that referenced this pull request May 5, 2015
btl openib: only initialize CPCs if there are devices to use
@jsquyres jsquyres merged commit f79e137 into open-mpi:master May 5, 2015
@jsquyres jsquyres deleted the pr/openib-delay-cpc-init branch May 5, 2015 14:26
jsquyres pushed a commit to jsquyres/ompi that referenced this pull request Nov 10, 2015
Add config code to check for need of workaround. Add runtime way to turn off just in case.
markalle pushed a commit to markalle/ompi that referenced this pull request Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants