Ignore:
Timestamp:
05/23/23 12:11:20 (14 months ago)
Author:
jderouillat
Message:

Add a comparison operator to the filesToWrite_ std::set to force the file creation ordering + Backporting of 2462, 2494 and test suite environment for RedHat8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/dev/XIOS_ATTACHED/src/manager/token_manager.hpp

    r2458 r2504  
    1919        MPI_Aint size = 0 ; 
    2020        if (leader_== commRank) size = sizeof(size_t) ; 
    21         MPI_Win_create(&currentToken_, size, sizeof(size_t), MPI_INFO_NULL, comm, &winCurrentToken_) ; 
    22         MPI_Win_create(&retrievedToken_, size, sizeof(size_t), MPI_INFO_NULL, comm, &winRetrievedToken_) ; 
     21        const MPI_Aint windowSize=sizeof(size_t);  
     22        MPI_Win_allocate(windowSize, 1, MPI_INFO_NULL, comm, &winBufferCurrent_,   &winCurrentToken_) ; 
     23        MPI_Win_allocate(windowSize, 1, MPI_INFO_NULL, comm, &winBufferRetrieved_, &winRetrievedToken_) ;  
    2324      } 
    2425 
     
    5960      MPI_Win winCurrentToken_ ; 
    6061      MPI_Win winRetrievedToken_ ; 
    61        
     62      void* winBufferCurrent_ ;  
     63      void* winBufferRetrieved_ ; 
     64 
    6265      int leader_ ; 
    6366 
Note: See TracChangeset for help on using the changeset viewer.