Ignore:
Timestamp:
09/08/16 11:18:51 (8 years ago)
Author:
rlacroix
Message:

Fix: Ensure that the buffer sizes needed to send the axis attributes are evaluated before actually sending any data.

This should avoid unexpected buffer requests (which would not cause any real issue most of the times since XIOS tries to recover from those).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/axis.hpp

    r836 r927  
    104104         void recvServerAttribut(CBufferIn& buffer) ; 
    105105         void checkAttributesOnClient(); 
     106         void checkAttributesOnClientAfterTransformation(const std::vector<int>& globalDim, int orderPositionInGrid, 
     107                                                         CServerDistributionDescription::ServerDistributionType distType = CServerDistributionDescription::BAND_DISTRIBUTION); 
    106108         void sendCheckedAttributes(const std::vector<int>& globalDim, int orderPositionInGrid, 
    107109                                    CServerDistributionDescription::ServerDistributionType disType = CServerDistributionDescription::BAND_DISTRIBUTION); 
     
    129131         void checkBounds(); 
    130132         void checkTransformations(); 
    131          void computeServerIndex(const std::vector<int>& globalDim, int orderPositionInGrid, 
    132                                  CServerDistributionDescription::ServerDistributionType disType); 
    133          void sendValue(const std::vector<int>& globalDim, int orderPositionInGrid, 
    134                         CServerDistributionDescription::ServerDistributionType distType); 
     133         void sendValue(); 
    135134         void computeConnectedServer(const std::vector<int>& globalDim, int orderPositionInGrid, 
    136135                                     CServerDistributionDescription::ServerDistributionType distType); 
     
    150149         bool isChecked; 
    151150         bool areClientAttributesChecked_; 
     151         bool isClientAfterTransformationChecked; 
    152152         std::set<StdString> relFiles, relFilesCompressed; 
    153153         TransMapTypes transformationMap_; 
Note: See TracChangeset for help on using the changeset viewer.