Skip to content

Commit 8cd79c4

Browse files
committed
UCX: Propagate MPI serialized for all worker creations
Move MPI to UCX thread mode function to common source. Also use serialized mode for all oshmem initializations. Signed-off-by: Thomas Vegas <[email protected]> (cherry picked from commit 44cc663)
1 parent 972ded5 commit 8cd79c4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ompi/mca/osc/ucx/osc_ucx_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ static int component_select(struct ompi_win_t *win, void **base, size_t size, in
415415
assert(mca_osc_ucx_component.ucp_worker == NULL);
416416
memset(&worker_params, 0, sizeof(worker_params));
417417
worker_params.field_mask = UCP_WORKER_PARAM_FIELD_THREAD_MODE;
418-
if (mca_osc_ucx_component.enable_mpi_threads == true) {
418+
if (mca_osc_ucx_component.enable_mpi_threads) {
419419
worker_params.thread_mode = UCS_THREAD_MODE_MULTI;
420420
} else {
421421
worker_params.thread_mode =

opal/mca/common/ucx/common_ucx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include "mpi.h"
2929

3030
#include <ucm/api/ucm.h>
31-
3231
#include <fnmatch.h>
3332
#include <stdio.h>
3433

0 commit comments

Comments
 (0)