Changeset 1686 for XIOS/dev/dev_olga/src/node/domain.cpp
- Timestamp:
- 07/31/19 13:51:01 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/node/domain.cpp
r1612 r1686 226 226 bool distributed = !((!ni.isEmpty() && (ni == ni_glo) && !nj.isEmpty() && (nj == nj_glo)) || 227 227 (!i_index.isEmpty() && i_index.numElements() == ni_glo*nj_glo)); 228 bool distributed_glo ; 228 229 distributed |= (1 == CContext::getCurrent()->client->clientSize); 229 230 … … 2061 2062 2062 2063 numberWrittenIndexes_[writtenCommSize] = nbWritten; 2063 if (isDistributed()) 2064 bool distributed_glo, distributed=isDistributed() ; 2065 MPI_Allreduce(&distributed,&distributed_glo, 1, MPI_INT, MPI_LOR, writtenComm) ; 2066 2067 if (distributed_glo) 2064 2068 { 2065 2069
Note: See TracChangeset
for help on using the changeset viewer.