Ignore:
Timestamp:
11/21/17 14:08:25 (6 years ago)
Author:
ymipsl
Message:

Reduce the memory footprint on server level2.

YM

Location:
XIOS/dev/XIOS_DEV_CMIP6/src/node
Files:
2 edited

Legend:

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

    r1330 r1340  
    237237 
    238238    this->setData(recv_data_tmp); 
     239    // delete incomming flux for server only 
     240    recvFoperationSrv.reset() ; 
     241    recvDataSrv.reset() ; 
    239242  } 
    240243 
  • XIOS/dev/XIOS_DEV_CMIP6/src/node/grid.cpp

    r1330 r1340  
    1818#include "grid_transformation.hpp" 
    1919#include "grid_generate.hpp" 
     20#include "server.hpp" 
    2021 
    2122namespace xios { 
     
    826827         computeConnectedClients(); 
    827828       } 
     829     } 
     830     if (CServer::serverLevel==2) 
     831     { 
     832       computeWrittenIndex() ; 
     833       if (serverDistribution_!=0) serverDistribution_->partialClear() ; 
     834       if (clientDistribution_!=0) clientDistribution_->partialClear() ; 
     835       outGlobalIndexFromClient.clear() ; 
    828836     } 
    829837   } 
     
    12501258   } 
    12511259 
     1260 
    12521261  void CGrid::computeClientIndexScalarGrid() 
    12531262  { 
Note: See TracChangeset for help on using the changeset viewer.