Changeset 2563 for XIOS3/trunk/src/transport/p2p_context_server.hpp
- Timestamp:
- 09/12/23 08:58:14 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/transport/p2p_context_server.hpp
r2562 r2563 36 36 MPI_Get_count(&status,MPI_CHAR,&count_); 37 37 buffer_.resize(count_) ; 38 info(logProtocol) << "DBG : Request created from " << rank_ << ", of size " << count_ << endl;39 38 MPI_Irecv(buffer_.data(), count_, MPI_CHAR, rank_, 20, interComm, &request_) ; 40 //MPI_Status mpistatus;41 //MPI_Recv(buffer_.data(), count_, MPI_CHAR, rank_, 20, interComm, &mpistatus) ;42 39 } 43 40 44 ~CRequest() { info(logProtocol) << "DBG : Request deleted " << rank_ << ", of size " << count_ << endl;}41 ~CRequest() { } 45 42 46 43 bool test(void) … … 49 46 MPI_Status status ; 50 47 MPI_Test(&request_, &flag, &status) ; 51 if (flag==true) { 52 info(logProtocol) << "DBG : Request completed " << rank_ << ", of size " << count_ << endl; 53 return true ; 54 } 48 if (flag==true) return true ; 55 49 else return false ; 56 50 }
Note: See TracChangeset
for help on using the changeset viewer.