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_client.cpp

    r2276 r2287  
    378378// don't know when release windows 
    379379 
    380       if (!isAttachedModeEnabled()) 
    381        
    382         for(auto& it : winComm_) 
    383         { 
    384           int rank = it.first ; 
    385           MPI_Win_free(&windows_[rank][0]); 
    386           MPI_Win_free(&windows_[rank][1]); 
    387           MPI_Comm_free(&winComm_[rank]) ; 
    388         } 
    389       }  
     380      //if (!isAttachedModeEnabled()) 
     381      // 
     382      //  for(auto& it : winComm_) 
     383      //  { 
     384      //    int rank = it.first ; 
     385      //    MPI_Win_free(&windows_[rank][0]); 
     386      //    MPI_Win_free(&windows_[rank][1]); 
     387      //    MPI_Comm_free(&winComm_[rank]) ; 
     388      //  } 
     389      //}  
    390390   } 
    391391 
Note: See TracChangeset for help on using the changeset viewer.