Skip to content

Add multithreading support in PML UCX framework. #3168

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

Merged
merged 1 commit into from
Mar 20, 2017

Conversation

xinzhao3
Copy link
Contributor

No description provided.

@xinzhao3 xinzhao3 force-pushed the topic/ucx-mt-support branch from f7ca4d3 to 2aea543 Compare March 14, 2017 16:15
@jladd-mlnx jladd-mlnx added this to the v3.0.0 milestone Mar 14, 2017
@jladd-mlnx jladd-mlnx requested a review from yosefe March 14, 2017 18:45
@xinzhao3 xinzhao3 force-pushed the topic/ucx-mt-support branch 2 times, most recently from 5c07acd to d863295 Compare March 14, 2017 19:10
Copy link
Contributor

@yosefe yosefe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, pls add error messages

attr.field_mask = UCP_WORKER_ATTR_FIELD_THREAD_MODE;
status = ucp_worker_query(ompi_pml_ucx.ucp_worker, &attr);
if (UCS_OK != status) {
ucp_worker_destroy(ompi_pml_ucx.ucp_worker);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls add PML_UCX_ERROR message

if (ompi_mpi_thread_multiple && attr.thread_mode != UCS_THREAD_MODE_MULTI) {
/* UCX does not support multithreading, disqualify current PML for now */
/* TODO: we should let OMPI to fallback to THREAD_SINGLE mode */
ucp_worker_destroy(ompi_pml_ucx.ucp_worker);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls add PML_UCX_ERROR message

@xinzhao3 xinzhao3 force-pushed the topic/ucx-mt-support branch from d863295 to dc86874 Compare March 20, 2017 17:42
@hppritcha
Copy link
Member

@yosefe please check off on the review if its ready to go.

@jladd-mlnx jladd-mlnx merged commit f8d7324 into open-mpi:master Mar 20, 2017
@jladd-mlnx jladd-mlnx mentioned this pull request Mar 20, 2017
6 tasks
@hppritcha
Copy link
Member

@bwbarrett good to go!

@xinzhao3 xinzhao3 deleted the topic/ucx-mt-support branch March 24, 2017 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants