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

Improvment of one-sided protocol.
Windows are now created in the flight for each client-server connection.
YM

File:
1 edited

Legend:

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

    r2258 r2259  
    9090      MPI_Comm interComm; //!< Communicator of server group (interCommunicator) 
    9191 
    92       MPI_Comm interCommMerged; //!< Communicator of the client group + server group (intraCommunicator) needed for one sided communication. 
     92      MPI_Comm interCommMerged_; //!< Communicator of the client group + server group (intraCommunicator) needed for one sided communication. 
     93      MPI_Comm commSelf_ ; //!< Communicator for proc alone from interCommMerged  
    9394 
    9495      MPI_Comm intraComm; //!< Communicator of client group 
     
    120121      std::list<int> ranksServerNotLeader; 
    121122 
    122       std::vector<MPI_Comm> winComm_ ; //! Window communicators 
    123       std::vector<std::vector<MPI_Win> >windows_ ; //! one sided mpi windows to expose client buffers to servers == windows[nbServers][2] 
     123      std::map<int, MPI_Comm> winComm_ ; //! Window communicators 
     124      std::map<int, std::vector<MPI_Win> >windows_ ; //! one sided mpi windows to expose client buffers to servers == windows[nbServers][2] 
    124125      bool isAttached_ ; 
    125126      CContextServer* associatedServer_ ; //!< The server associated to the pair client/server 
Note: See TracChangeset for help on using the changeset viewer.