Ignore:
Timestamp:
09/30/21 14:22:35 (3 years ago)
Author:
jderouillat
Message:

Operate MPI windows free. Otherwise MPI will try to free it itself without respecting an adapted order, which will lead to a deadlock

File:
1 edited

Legend:

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

    r2230 r2240  
    412412      } 
    413413    } while (! out) ;  
     414      MPI_Win_free(&windows[0]) ; 
     415      MPI_Win_free(&windows[1]) ; 
    414416  } 
    415417 
     
    441443      context->finalize(); 
    442444 
    443 /* don't know where release windows 
     445// don't know where release windows 
    444446      MPI_Win_free(&windows[0]) ; 
    445447      MPI_Win_free(&windows[1]) ; 
    446 */      
     448      
    447449      std::map<int, StdSize>::const_iterator itbMap = mapBufferSize_.begin(), 
    448450                           iteMap = mapBufferSize_.end(), itMap; 
Note: See TracChangeset for help on using the changeset viewer.