Ignore:
Timestamp:
07/31/19 13:51:01 (5 years ago)
Author:
yushan
Message:

backup for trunk with graph

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/node/domain.cpp

    r1612 r1686  
    226226      bool distributed =  !((!ni.isEmpty() && (ni == ni_glo) && !nj.isEmpty() && (nj == nj_glo)) || 
    227227              (!i_index.isEmpty() && i_index.numElements() == ni_glo*nj_glo)); 
     228      bool distributed_glo ; 
    228229      distributed |= (1 == CContext::getCurrent()->client->clientSize); 
    229230 
     
    20612062 
    20622063      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) 
    20642068      { 
    20652069              
Note: See TracChangeset for help on using the changeset viewer.