Skip to content

Conversation

@kawashima-fj
Copy link
Member

According to MPI-3.1 P.122, ni for MPI_COMBINER_DARRAY should be 4*ndims+4, not 4*size+4.

This bug may cause SEGV if size is smaller than ndims when the darray is used for one-sided communication (pt2pt OSC).

This bug was introduced in 79b13f36 (when darray became a first class citizen and the a_i index of darray was shifted by 2). The corresponding MPI_Type_create_darray() function sets a right value so we don't need to update the function.

According to MPI-3.1 P.122, `ni` for `MPI_COMBINER_DARRAY`
should be `4*ndims+4`, not `4*size+4`.

This bug may cause SEGV if `size` is smaller than `ndims`
when the darray is used for one-sided communication (pt2pt OSC).

This bug was introduced in open-mpi/ompi@79b13f36 (when darray
became a first class citizen and the `a_i` index of darray was
shifted by 2). The corresponding `MPI_Type_create_darray()`
function sets a right value so we don't need to update the function.
@kawashima-fj kawashima-fj added this to the v2.0.1 milestone Jun 15, 2016
@kawashima-fj kawashima-fj self-assigned this Jun 15, 2016
@kawashima-fj kawashima-fj merged commit 259c2d9 into open-mpi:master Jun 15, 2016
@kawashima-fj kawashima-fj deleted the pr/darray-args branch August 12, 2016 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant