Changeset 2524
- Timestamp:
- 06/23/23 16:22:08 (19 months ago)
- Location:
- XIOS3/branches/xios-3.0-beta/src/transport
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/branches/xios-3.0-beta/src/transport/one_sided_client_buffer.cpp
r2399 r2524 8 8 extern CLogType logProtocol; 9 9 10 COneSidedClientBuffer::COneSidedClientBuffer(MPI_Comm& interComm, int serverRank, MPI_Comm& commSelf, MPI_Comm& interCommMerged, int intraServerRank) : interComm_(interComm), serverRank_(serverRank) 10 COneSidedClientBuffer::COneSidedClientBuffer(MPI_Comm& interComm, int serverRank, MPI_Comm& commSelf, MPI_Comm& interCommMerged, int intraServerRank) : interComm_(interComm), serverRank_(serverRank), interCommMerged_(interCommMerged), intraServerRank_(intraServerRank) 11 11 { 12 12 … … 261 261 } 262 262 if (info.isActive(logProtocol)) CTimer::get("sendTimelineEvent : MPI_Isend").resume() ; 263 MPI_Isend(request.buffer->start(),request.buffer->count(), MPI_CHAR, serverRank_, 20, interComm_, &request.mpiRequest ) ;263 MPI_Isend(request.buffer->start(),request.buffer->count(), MPI_CHAR, intraServerRank_, 20, interCommMerged_, &request.mpiRequest ) ; 264 264 if (info.isActive(logProtocol)) CTimer::get("sendTimelineEvent : MPI_Isend").suspend() ; 265 265 info(logProtocol)<<outStr.str()<<endl ; … … 272 272 request.buffer = new CBufferOut(sizeof(EVENT_BUFFER_RESIZE)+sizeof(timeline)+sizeof(size)) ; 273 273 *(request.buffer)<<EVENT_BUFFER_RESIZE<<timeline<<size ; 274 MPI_Isend(request.buffer->start(),request.buffer->count(), MPI_CHAR, serverRank_, 20, interComm_, &request.mpiRequest ) ;274 MPI_Isend(request.buffer->start(),request.buffer->count(), MPI_CHAR, intraServerRank_, 20, interCommMerged_, &request.mpiRequest ) ; 275 275 requests_.push_back(request) ; 276 276 } … … 280 280 MPI_Aint controlAddr ; 281 281 MPI_Get_address(control_, &controlAddr) ; 282 MPI_Send(&controlAddr, 1, MPI_AINT, serverRank_, 20, interComm_) ;282 MPI_Send(&controlAddr, 1, MPI_AINT, intraServerRank_, 20, interCommMerged_) ; 283 283 } 284 284 -
XIOS3/branches/xios-3.0-beta/src/transport/one_sided_client_buffer.hpp
r2399 r2524 182 182 int serverRank_ ; 183 183 184 MPI_Comm interCommMerged_; 185 int intraServerRank_ ; 186 184 187 std::list<CBuffer*> buffers_ ; 185 188 std::list<SBloc> blocs_ ; -
XIOS3/branches/xios-3.0-beta/src/transport/one_sided_context_server.cpp
r2399 r2524 98 98 { 99 99 traceOff(); 100 MPI_Iprobe(MPI_ANY_SOURCE, 20,interComm , &flag, &status);100 MPI_Iprobe(MPI_ANY_SOURCE, 20,interCommMerged_, &flag, &status); 101 101 traceOn(); 102 102 if (flag==true) 103 103 { 104 requests_.push_back(CRequest(interComm , status)) ;104 requests_.push_back(CRequest(interCommMerged_, status)) ; 105 105 if (requests_.back().test()) 106 106 {
Note: See TracChangeset
for help on using the changeset viewer.