Ignore:
Timestamp:
08/07/17 18:32:48 (7 years ago)
Author:
mhnguyen
Message:

Fixing a minor bug on using same grid for reading and writing

+) Make sure all grid (for reading and writing) sent to servers

Test
+) On Curie
+) Work with toy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/node/context.cpp

    r1236 r1237  
    558558        sendEnabledFieldsInFiles(this->enabledReadModeFiles); 
    559559 
    560       // At last, we have all info of domain and axis, then send them 
     560      // We have all info of domain, axis and scalar, so send them 
    561561       sendRefDomainsAxisScalars(this->enabledWriteModeFiles); 
    562562      if (!hasServer) 
     
    564564 
    565565       // After that, send all grid (if any) 
    566       sendRefGrid(this->enabledWriteModeFiles); 
    567       if (!hasServer) 
    568         sendRefGrid(this->enabledReadModeFiles); 
     566      sendRefGrid(this->enabledFiles); 
     567      // This code may be useful in the future when we want to seperate completely read and write 
     568      // sendRefGrid(this->enabledWriteModeFiles); 
     569      // if (!hasServer) 
     570      //   sendRefGrid(this->enabledReadModeFiles); 
    569571 
    570572       // We have a xml tree on the server side and now, it should be also processed 
Note: See TracChangeset for help on using the changeset viewer.