- Timestamp:
- 06/06/17 15:12:34 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan_merged/extern/remap/src/libmapper.cpp
r694 r1155 14 14 #include "mapper.hpp" 15 15 #include "cputime.hpp" // cputime 16 #include "gridRemap.hpp" 16 17 17 18 using namespace sphereRemap ; 19 20 extern CRemapGrid srcGrid; 21 #pragma omp threadprivate(srcGrid) 22 23 extern CRemapGrid tgtGrid; 24 #pragma omp threadprivate(tgtGrid) 25 18 26 19 27 /* mapper is a ponter to a global class instance whoes members are allocated in the first step (finding the sizes of the weight arrays) 20 28 and deallocated during the second step (computing the weights) */ 21 29 Mapper *mapper; 22 30 #pragma omp threadprivate(mapper) 23 31 24 32 /** xxx_bounds_yyy is of length n_vert_per_cell_xxx*n_cell_xxx … … 148 156 char **argv = NULL; 149 157 MPI_Init(&argc, &argv);*/ 150 MPI_Init(NULL, NULL); 158 //MPI_Init(NULL, NULL); 159 int provided; 160 MPI_Init_thread(NULL, NULL, 3, &provided); 161 assert(provided >= 3); 151 162 } 152 163
Note: See TracChangeset
for help on using the changeset viewer.