Changeset 1678 for XIOS/dev/dev_trunk_omp/src/node/domain.cpp
- Timestamp:
- 06/25/19 16:26:50 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/node/domain.cpp
r1661 r1678 243 243 bool distributed = !((!ni.isEmpty() && (ni == ni_glo) && !nj.isEmpty() && (nj == nj_glo)) || 244 244 (!i_index.isEmpty() && i_index.numElements() == ni_glo*nj_glo)); 245 bool distributed_glo ; 245 246 distributed |= (1 == CContext::getCurrent()->client->clientSize); 246 247 … … 2078 2079 2079 2080 numberWrittenIndexes_[writtenCommSize] = nbWritten; 2080 if (isDistributed()) 2081 bool distributed_glo, distributed=isDistributed() ; 2082 MPI_Allreduce(&distributed,&distributed_glo, 1, MPI_INT, MPI_LOR, writtenComm) ; 2083 2084 if (distributed_glo) 2081 2085 { 2082 2086
Note: See TracChangeset
for help on using the changeset viewer.