Skip to content

Commit 5444d2e

Browse files
author
Mamzi Bayatpour [email protected] ()
committed
disable nb acc for dyn windows
1 parent 7651aa3 commit 5444d2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ompi/mca/osc/ucx/osc_ucx_component.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@ static int component_select(struct ompi_win_t *win, void **base, size_t size, in
561561
/* fill in the function pointer part */
562562
memcpy(module, &ompi_osc_ucx_module_template, sizeof(ompi_osc_base_module_t));
563563

564-
if (enable_nonblocking_accumulate) {
564+
/* TODO Provide support for nonblocking operations with dynamic windows */
565+
if (enable_nonblocking_accumulate && flavor != MPI_WIN_FLAVOR_DYNAMIC) {
565566
module->super.osc_accumulate = ompi_osc_ucx_accumulate_nb;
566567
module->super.osc_get_accumulate = ompi_osc_ucx_get_accumulate_nb;
567568
}

0 commit comments

Comments
 (0)