Changeset 2557


Ignore:
Timestamp:
09/04/23 19:24:43 (8 months ago)
Author:
ymipsl
Message:

Bug fix for new p2p protocol.
YM

Location:
XIOS3/trunk/src/transport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/transport/p2p_client_buffer.cpp

    r2556 r2557  
    1414    //control_[CONTROL_ADDR] = 0 ; 
    1515    //control_[CONTROL_FINALIZE] = 0 ; 
    16     //sendNewBuffer() ; 
     16    sendNewBuffer() ; 
    1717    createWindow(commSelf, interCommMerged, intraServerRank ) ; 
    1818    char dummy ; 
     
    308308  void CP2pClientBuffer::sendNewBuffer(void) 
    309309  { 
    310 //    MPI_Aint controlAddr ; 
     310    MPI_Aint controlAddr ; 
    311311//    MPI_Get_address(control_, &controlAddr) ; 
    312 //    MPI_Send(&controlAddr, 1, MPI_AINT, intraServerRank_, 20, interCommMerged_) ; 
     312    MPI_Send(&controlAddr, 1, MPI_AINT, intraServerRank_, 20, interCommMerged_) ; 
    313313  } 
    314314 
  • XIOS3/trunk/src/transport/p2p_server_buffer.cpp

    r2556 r2557  
    102102      { 
    103103        info(logProtocol)<<"Send bloc to free : "<<lastBlocToFree_<<endl ; 
    104         if (info.isActive(logProtocol)) CTimer::get("Send bloc to free").resume() ; 
     104        //if (info.isActive(logProtocol)) CTimer::get("Send bloc to free").resume() ; 
    105105        //MPI_Win_lock(MPI_LOCK_EXCLUSIVE, windowRank_, 0, winControl_) ; 
    106106        //MPI_Aint target=MPI_Aint_add(controlAddr_, CONTROL_ADDR*sizeof(MPI_Aint)) ; 
    107107        //MPI_Put(&lastBlocToFree_, 1, MPI_AINT, windowRank_, target, 1, MPI_AINT, winControl_) ; 
    108108        //MPI_Win_unlock(windowRank_,winControl_) ;  
    109         if (info.isActive(logProtocol)) CTimer::get("Send bloc to free").suspend() ; 
     109        //if (info.isActive(logProtocol)) CTimer::get("Send bloc to free").suspend() ; 
    110110        lastBlocToFree_ = 0 ;         
    111111      } 
Note: See TracChangeset for help on using the changeset viewer.