-
Notifications
You must be signed in to change notification settings - Fork 932
btl/openib: Disqualify rdmacm CPC if MPI_THREAD_MULTIPLE #2133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Above commit is merged with master branch and needs to be cherry-picked into v2.x as well. |
hjelmn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to remove the include of the ompi header here.
| #include "btl_openib_ip.h" | ||
| #include "btl_openib_ini.h" | ||
|
|
||
| #include "ompi/runtime/mpiruntime.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hjelmn is referring to this line -- you can't include an OMPI header in OPAL source code.
The rdmacm CPC in the openib BTL is not thread safe. The rdmacm CPC should disqualify itself (instead of failing in random ways) if MPI_THREAD_MULTIPLE is the thread level. Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
|
adding pushback label here till mpiruntime.h is removed |
jsquyres
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hppritcha Once @hjelmn approves the changes and CI finishes, good to go.
The rdmacm CPC in the openib BTL is not thread safe. The rdmacm CPC
should disqualify itself (instead of failing in random ways) if
MPI_THREAD_MULTIPLE is the thread level.
Fixes #1848
Signed-off-by: Potnuri Bharat Teja bharat@chelsio.com