Changeset 1255


Ignore:
Timestamp:
09/07/17 15:30:41 (3 years ago)
Author:
oabramkina
Message:

Fixing a bug in sizes of client buffers. The sizes of client buffers are estimated for each type of client (a model or any type of servers).

File:
1 edited

Legend:

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

    r1239 r1255  
    530530     distributeFiles(); 
    531531 
    532      // Buffer for primary server for connection to client will be allocated by default (to min size) 
    533      if (CServer::serverLevel != 1) 
    534        setClientServerBuffer(client); 
    535      if (hasServer) 
    536        for (int i = 0; i < clientPrimServer.size(); ++i) 
     532     setClientServerBuffer(client); 
     533     for (int i = 0; i < clientPrimServer.size(); ++i) 
    537534         setClientServerBuffer(clientPrimServer[i]); 
    538  
    539535 
    540536     if (hasClient) 
Note: See TracChangeset for help on using the changeset viewer.