Changeset 1527 for XIOS/dev/branch_openmp/extern/ep_dev/ep_gatherv.cpp
- Timestamp:
- 06/08/18 15:59:53 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/extern/ep_dev/ep_gatherv.cpp
r1503 r1527 46 46 { 47 47 48 if(!comm->is_ep) 49 { 50 return ::MPI_Gatherv(const_cast<void*>(sendbuf), sendcount, to_mpi_type(sendtype), recvbuf, const_cast<int*>(input_recvcounts), const_cast<int*>(input_displs), 51 to_mpi_type(recvtype), root, to_mpi_comm(comm->mpi_comm)); 52 } 53 48 if(!comm->is_ep) return ::MPI_Gatherv(const_cast<void*>(sendbuf), sendcount, to_mpi_type(sendtype), recvbuf, const_cast<int*>(input_recvcounts), const_cast<int*>(input_displs), 49 to_mpi_type(recvtype), root, to_mpi_comm(comm->mpi_comm)); 50 if(comm->is_intercomm) return MPI_Gatherv_intercomm(sendbuf, sendcount, sendtype, recvbuf, input_recvcounts, input_displs, recvtype, root, comm); 54 51 55 52 assert(sendtype == recvtype); … … 169 166 } 170 167 168 int MPI_Gatherv_intercomm(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int input_recvcounts[], const int input_displs[], 169 MPI_Datatype recvtype, int root, MPI_Comm comm) 170 { 171 printf("MPI_Gatherv_intercomm not yet implemented\n"); 172 MPI_Abort(comm, 0); 173 } 174 171 175 }
Note: See TracChangeset
for help on using the changeset viewer.