Ignore:
Timestamp:
01/20/22 09:48:58 (2 years ago)
Author:
jderouillat
Message:

Fix for second level servers usage (nomenclature and recomment MPI_Win_free)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/context_server.cpp

    r2275 r2287  
    418418  void CContextServer::freeWindows() 
    419419  { 
    420     if (!isAttachedModeEnabled()) 
    421     { 
    422       for(auto& it : winComm_) 
    423       { 
    424         int rank = it.first ; 
    425         MPI_Win_free(&windows_[rank][0]); 
    426         MPI_Win_free(&windows_[rank][1]); 
    427         MPI_Comm_free(&winComm_[rank]) ; 
    428       } 
    429     } 
     420    //if (!isAttachedModeEnabled()) 
     421    //{ 
     422    //  for(auto& it : winComm_) 
     423    //  { 
     424    //    int rank = it.first ; 
     425    //    MPI_Win_free(&windows_[rank][0]); 
     426    //    MPI_Win_free(&windows_[rank][1]); 
     427    //    MPI_Comm_free(&winComm_[rank]) ; 
     428    //  } 
     429    //} 
    430430  } 
    431431 
Note: See TracChangeset for help on using the changeset viewer.