Skip to content

Commit da52fb1

Browse files
authored
Merge pull request #5342 from hjelmn/v3.0.x_sm
v3.0.x: osc/sm: fix a typo
2 parents fc6ff41 + ad577ea commit da52fb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ompi/mca/osc/sm/osc_sm_component.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
22
/*
33
* Copyright (c) 2012 Sandia National Laboratories. All rights reserved.
4-
* Copyright (c) 2014-2015 Los Alamos National Security, LLC. All rights
4+
* Copyright (c) 2014-2018 Los Alamos National Security, LLC. All rights
55
* reserved.
66
* Copyright (c) 2014 Intel, Inc. All rights reserved.
77
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
@@ -302,8 +302,8 @@ component_select(struct ompi_win_t *win, void **base, size_t size, int disp_unit
302302
goto error;
303303
}
304304

305-
ret = module->comm->c_coll->coll_bcast (&module->seg_ds, sizeof (module->seg_ds), MPI_BYTE, 0,
306-
module->comm, module->comm->c_coll->coll_bcast_module);
305+
/* wait for all processes to attach */
306+
ret = module->comm->c_coll->coll_barrier (module->comm, module->comm->c_coll->coll_barrier_module);
307307
if (OMPI_SUCCESS != ret) {
308308
goto error;
309309
}

0 commit comments

Comments
 (0)