Changeset 1520 for XIOS/dev/branch_openmp/extern/src_ep_dev/ep_alltoall.cpp
- Timestamp:
- 06/04/18 19:25:08 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/extern/src_ep_dev/ep_alltoall.cpp
r1354 r1520 9 9 int MPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) 10 10 { 11 if(!comm .is_ep)11 if(!comm->is_ep) 12 12 { 13 return ::MPI_Alltoall(sendbuf, sendcount, to_mpi_type(sendtype), recvbuf, recvcount, to_mpi_type(recvtype), to_mpi_comm(comm .mpi_comm));13 return ::MPI_Alltoall(sendbuf, sendcount, to_mpi_type(sendtype), recvbuf, recvcount, to_mpi_type(recvtype), to_mpi_comm(comm->mpi_comm)); 14 14 } 15 15 … … 23 23 int count = sendcount; 24 24 25 int ep_rank = comm .ep_comm_ptr->size_rank_info[0].first;26 int ep_rank_loc = comm .ep_comm_ptr->size_rank_info[1].first;27 int mpi_rank = comm .ep_comm_ptr->size_rank_info[2].first;28 int ep_size = comm .ep_comm_ptr->size_rank_info[0].second;29 int num_ep = comm .ep_comm_ptr->size_rank_info[1].second;30 int mpi_size = comm .ep_comm_ptr->size_rank_info[2].second;25 int ep_rank = comm->ep_comm_ptr->size_rank_info[0].first; 26 int ep_rank_loc = comm->ep_comm_ptr->size_rank_info[1].first; 27 int mpi_rank = comm->ep_comm_ptr->size_rank_info[2].first; 28 int ep_size = comm->ep_comm_ptr->size_rank_info[0].second; 29 int num_ep = comm->ep_comm_ptr->size_rank_info[1].second; 30 int mpi_size = comm->ep_comm_ptr->size_rank_info[2].second; 31 31 32 32 void* tmp_recvbuf;
Note: See TracChangeset
for help on using the changeset viewer.