Commit 17fa9a6c authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix missing offset.

parent 40c6e6f4
......@@ -281,7 +281,7 @@ xt_exchanger_neigh_alltoall_get_MPI_Datatype(Xt_exchanger exchanger,
MPI_Datatype datatype_copy = MPI_DATATYPE_NULL;
for (size_t i = 0; i < nmsg; ++i) {
if (ranks[i] == rank) {
xt_mpi_call(MPI_Type_dup(exchanger_na->datatypes[i], &datatype_copy),
xt_mpi_call(MPI_Type_dup(exchanger_na->datatypes[i+ofs], &datatype_copy),
exchanger_na->comm);
break;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment