Commit 3ca18e9
committed
coll/spacc: fix module initialization in v3.1.x
Prepare the placeholder for the array of requests.
The call of coll/spacc/MPI_Allreduce with count < comm_size
or with non-commutative binary operation produces the segmentation fault (only in v3.1.x).
The problem is that spacc/MPI_Allreduce in this case switched to the `ompi_coll_base_allreduce_intra_basic_linear`.
But a lot of base collectives require prepared placeholder for the array of requests.
Signed-off-by: Mikhail Kurnosov <mkurnosov@gmail.com>1 parent 45fb684 commit 3ca18e9
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
| |||
0 commit comments