- Timestamp:
- 01/23/19 10:31:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/extern/src_ep_dev/ep_reduce_scatter.cpp
r1539 r1642 61 61 62 62 int my_recvcount = recvcounts[ep_rank]; 63 MPI_Gather_local(&my_recvcount, 1, MPI_INT, local_recvcounts.data(), 0, comm);64 MPI_Bcast_local(local_recvcounts.data(), num_ep, MPI_INT, 0, comm);63 MPI_Gather_local(&my_recvcount, 1, EP_INT, local_recvcounts.data(), 0, comm); 64 MPI_Bcast_local(local_recvcounts.data(), num_ep, EP_INT, 0, comm); 65 65 66 66 int my_displs = std::accumulate(recvcounts, recvcounts+ep_rank, 0); 67 MPI_Gather_local(&my_displs, 1, MPI_INT, local_displs.data(), 0, comm);68 MPI_Bcast_local(local_displs.data(), num_ep, MPI_INT, 0, comm);67 MPI_Gather_local(&my_displs, 1, EP_INT, local_displs.data(), 0, comm); 68 MPI_Bcast_local(local_displs.data(), num_ep, EP_INT, 0, comm); 69 69 70 70
Note: See TracChangeset
for help on using the changeset viewer.