Changeset 1757 for XIOS/dev/dev_ym/XIOS_ONE_SIDED/src/context_server.hpp
- Timestamp:
- 10/18/19 14:55:57 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_ONE_SIDED/src/context_server.hpp
r1639 r1757 19 19 bool listenPendingRequest(MPI_Status& status) ; 20 20 void checkPendingRequest(void) ; 21 void getBufferFromClient(size_t timeLine) ; 21 22 void processRequest(int rank, char* buff,int count) ; 22 23 void processEvents(void) ; … … 25 26 void setPendingEvent(void) ; 26 27 bool hasPendingEvent(void) ; 27 28 bool isAttachedModeEnabled() const; 29 void releaseBuffers(void) ; 30 void notifyClientsFinalize(void) ; 31 28 32 MPI_Comm intraComm ; 29 33 int intraCommSize ; … … 33 37 int commSize ; 34 38 39 MPI_Comm interCommMerged; //!< Communicator of the client group + server group (intraCommunicator) needed for one sided communication. 40 41 MPI_Comm commSelf; //!< Communicator of the server alone. Needed to create a new communicator between 1 proc client and 1 proc server for one sided communication 42 35 43 map<int,CServerBuffer*> buffers ; 44 map<int,size_t> lastTimeLine ; //!< last event time line for a processed request 45 map<int,size_t>::iterator itLastTimeLine ; //!< iterator on lastTimeLine 36 46 map<int,MPI_Request> pendingRequest ; 37 47 map<int,char*> bufferRequest ; … … 44 54 bool pendingEvent ; 45 55 bool scheduled ; /*!< event of current timeline is alreading scheduled ? */ 56 bool attachedMode ; //! true if attached mode is enabled otherwise false 57 bool pureOneSided ; //!< if true, client will communicated with servers only trough one sided communication. Otherwise the hybrid mode P2P /One sided is used. 58 46 59 size_t hashId ; 47 60 … … 50 63 private: 51 64 std::map<int, StdSize> mapBufferSize_; 65 vector<MPI_Win> windows ; //! one sided mpi windows to expose client buffers to servers ; No memory will be attached on server side. 66 52 67 } ; 53 68
Note: See TracChangeset
for help on using the changeset viewer.