Changeset 2221


Ignore:
Timestamp:
09/06/21 18:09:18 (3 months ago)
Author:
ymipsl
Message:

fix typo : MPI_Aint instead of MPI_AINT
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/buffer_client.cpp

    r2130 r2221  
    5757    {   
    5858     
    59       MPI_Win_attach(windows_[0], bufferHeader[0], bufferSize+headerSize) ; 
    60       MPI_Win_attach(windows_[1], bufferHeader[1], bufferSize+headerSize) ; 
     59      MPI_Aint buffSize=bufferSize+headerSize ; 
     60      MPI_Win_attach(windows_[0], bufferHeader[0], buffSize) ; 
     61      MPI_Win_attach(windows_[1], bufferHeader[1], buffSize) ; 
    6162     
    6263      MPI_Group group ; 
     
    393394    lockBuffer() ; 
    394395  
    395     int size=sizeof(int)+2*sizeof(size_t)+2*sizeof(MPI_AINT) ; 
     396    int size=sizeof(int)+2*sizeof(size_t)+2*sizeof(MPI_Aint) ; 
    396397    CBufferOut* bufOut = this->getBuffer(timelineEventChangeBufferSize, size); 
    397398    bufOut->put(size); 
Note: See TracChangeset for help on using the changeset viewer.