Changeset 2527
- Timestamp:
- 06/29/23 15:52:00 (19 months ago)
- Location:
- XIOS3/branches/xios-3.0-beta/src/transport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/branches/xios-3.0-beta/src/transport/legacy_context_client.cpp
r2521 r2527 33 33 34 34 if (!isAttachedModeEnabled()) MPI_Intercomm_merge(interComm_,false, &interCommMerged_) ; 35 else interCommMerged_ = interComm_; // interComm_ is yet an intracommunicator in attached 35 36 36 37 MPI_Comm_split(intraComm_,clientRank,clientRank, &commSelf_) ; // for windows … … 212 213 } 213 214 214 CClientBuffer* buffer = buffers[rank] = new CClientBuffer(interCommMerged_, clientSize+rank, mapBufferSize_[rank], maxEventSizes[rank]); 215 int considerServers = 1; 216 if (isAttachedModeEnabled()) considerServers = 0; 217 CClientBuffer* buffer = buffers[rank] = new CClientBuffer(interCommMerged_, considerServers*clientSize+rank, mapBufferSize_[rank], maxEventSizes[rank]); 215 218 if (isGrowableBuffer_) buffer->setGrowableBuffer(1.2) ; 216 219 else buffer->fixBuffer() ; -
XIOS3/branches/xios-3.0-beta/src/transport/legacy_context_server.cpp
r2521 r2527 44 44 45 45 if (!isAttachedModeEnabled()) MPI_Intercomm_merge(interComm_,true,&interCommMerged_) ; 46 else interCommMerged_ = interComm_; // interComm_ is yet an intracommunicator in attached 46 47 MPI_Comm_split(intraComm_, intraCommRank, intraCommRank, &commSelf_) ; // for windows 47 48
Note: See TracChangeset
for help on using the changeset viewer.