Changeset 1053 for XIOS/dev/branch_yushan/extern/remap/src/mpi_routing.cpp
- Timestamp:
- 02/17/17 17:55:37 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/extern/remap/src/mpi_routing.cpp
r694 r1053 5 5 #include "timerRemap.hpp" 6 6 #include <iostream> 7 #ifdef _usingEP 8 #include "ep_declaration.hpp" 9 #endif 7 10 8 11 namespace sphereRemap { … … 122 125 CTimer::get("CMPIRouting::init(reduce_scatter)").print(); 123 126 124 MPI_Alloc_mem(nbTarget *sizeof(int), MPI_INFO_NULL, &targetRank); 125 MPI_Alloc_mem(nbSource *sizeof(int), MPI_INFO_NULL, &sourceRank); 127 MPI_Info info_null; 128 129 MPI_Alloc_mem(nbTarget *sizeof(int), info_null, &targetRank); 130 MPI_Alloc_mem(nbSource *sizeof(int), info_null, &sourceRank); 126 131 127 132 targetRankToIndex = new int[mpiSize];
Note: See TracChangeset
for help on using the changeset viewer.