Ignore:
Timestamp:
11/16/21 17:37:42 (3 years ago)
Author:
ymipsl
Message:

One sided protocol improvment.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/context_server.hpp

    r2246 r2258  
    3434    void releaseBuffers(void) ; 
    3535    void notifyClientsFinalize(void) ; 
     36    void freeWindows(void) ; // !<< free Windows for one sided communication 
    3637     
    3738    MPI_Comm intraComm ; 
     
    4142    MPI_Comm interComm ; 
    4243    int commSize ; 
     44    int clientSize_ ; 
    4345 
    4446    MPI_Comm interCommMerged; //!< Communicator of the client group + server group (intraCommunicator) needed for one sided communication. 
     
    7173 
    7274      std::map<int, StdSize> mapBufferSize_; 
    73       vector<MPI_Win> windows ; //! one sided mpi windows to expose client buffers to servers ; No memory will be attached on server side. 
     75      std::vector<MPI_Comm>winComm_ ; //! Window communicators 
     76      std::vector<std::vector<MPI_Win> >windows_ ; //! one sided mpi windows to expose client buffers to servers ; No memory will be attached on server side. 
    7477      CEventScheduler* eventScheduler_ ; 
    7578      bool isProcessingEvent_ ; 
Note: See TracChangeset for help on using the changeset viewer.