Changeset 1539 for XIOS/dev/branch_openmp/extern/src_ep_dev/ep_scan.cpp
- Timestamp:
- 06/12/18 11:54:13 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/extern/src_ep_dev/ep_scan.cpp
r1520 r1539 350 350 int MPI_Scan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) 351 351 { 352 if(!comm->is_ep) 353 { 354 return ::MPI_Scan(sendbuf, recvbuf, count, to_mpi_type(datatype), to_mpi_op(op), to_mpi_comm(comm->mpi_comm)); 355 } 352 if(!comm->is_ep) return ::MPI_Scan(sendbuf, recvbuf, count, to_mpi_type(datatype), to_mpi_op(op), to_mpi_comm(comm->mpi_comm)); 353 if(comm->is_intercomm) return MPI_Scan_intercomm(sendbuf, recvbuf, count, datatype, op, comm); 356 354 357 355 valid_type(datatype); … … 446 444 } 447 445 446 int MPI_Scan_intercomm(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) 447 { 448 printf("MPI_Scan_intercomm not yet implemented\n"); 449 MPI_Abort(comm, 0); 450 } 451 448 452 }
Note: See TracChangeset
for help on using the changeset viewer.