- Timestamp:
- 06/13/19 17:41:23 (5 years ago)
- Location:
- XIOS/trunk/src/node
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/axis.cpp
r1639 r1672 847 847 848 848 numberWrittenIndexes_[writtenCommSize] = nbWritten; 849 if (isDistributed()) 849 850 bool distributed_glo, distributed=isDistributed() ; 851 MPI_Allreduce(&distributed,&distributed_glo, 1, MPI_INT, MPI_LOR, writtenComm) ; 852 if (distributed_glo) 850 853 { 851 854 -
XIOS/trunk/src/node/domain.cpp
r1639 r1672 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.