Changeset 1661 for XIOS/dev/dev_trunk_omp/extern/remap/src/mpi_routing.cpp
- Timestamp:
- 05/15/19 17:19:08 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/extern/remap/src/mpi_routing.cpp
r1646 r1661 153 153 for (int i = 0; i < nbSource; i++) 154 154 { 155 #ifdef _usingEP 155 156 MPI_Irecv(&sourceRank[i], 1, MPI_INT, -2, 0, communicator, &request[indexRequest++]); 157 #endif 158 159 #ifdef _usingMPI 160 MPI_Irecv(&sourceRank[i], 1, MPI_INT, MPI_ANY_SOURCE, 0, communicator, &request[indexRequest++]); 161 #endif 156 162 } 157 163 MPI_Barrier(communicator); … … 171 177 for (int i = 0; i < nbSource; i++) 172 178 { 179 #ifdef _usingEP 173 180 MPI_Irecv(&sourceRank[i], 1, MPI_INT, -2, 0, communicator, &request[indexRequest]); 181 #endif 182 #ifdef _usingMPI 183 MPI_Irecv(&sourceRank[i], 1, MPI_INT, MPI_ANY_SOURCE, 0, communicator, &request[indexRequest]); 184 #endif 174 185 indexRequest++; 175 186 }
Note: See TracChangeset
for help on using the changeset viewer.