Changeset 2504


Ignore:
Timestamp:
05/23/23 12:11:20 (17 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

Location:
XIOS3/dev/XIOS_ATTACHED
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/dev/XIOS_ATTACHED/src/manager/pool_ressource.cpp

    r2458 r2504  
    2626    } 
    2727     
     28    notifyType_=NOTIFY_NOTHING; 
    2829    winNotify_->lockWindow(commRank,0) ; 
    2930    winNotify_->updateToWindow(commRank, this, &CPoolRessource::notificationsDumpOut) ; 
  • 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 
  • XIOS3/dev/XIOS_ATTACHED/src/node/context.hpp

    r2482 r2504  
    1515#include "server_context.hpp" 
    1616#include "event_scheduler.hpp" 
     17#include "file.hpp" 
    1718 
    1819 
     
    299300        void registerFileToWrite(CFile* file) { filesToWrite_.insert(file); } // Add a file that need to be write for example to create headers 
    300301      private:   
    301         std::set<CFile*> filesToWrite_ ;   
     302        std::set<CFile*,FilePtrCompare> filesToWrite_ ;   
    302303 
    303304      private: 
  • XIOS3/dev/XIOS_ATTACHED/src/node/file.hpp

    r2482 r2504  
    228228   ///-------------------------------------------------------------- 
    229229 
     230   struct FilePtrCompare { 
     231     bool operator() (CFile const *l, CFile const *r) const { 
     232       return l->getFileOutputName() < r->getFileOutputName(); 
     233     } 
     234   }; 
    230235} // namespace xios 
    231236 
  • XIOS3/dev/XIOS_ATTACHED/xios_test_suite/ARCH/arch-X64_IRENE.env

    r2383 r2504  
    11module purge 
    2 module load ucx/1.11.2 
     2module load ucx/1.12.1 
    33module load flavor/buildcompiler/intel/20 
    4 module load mpi/openmpi/4.1.1 
     4module load mpi/openmpi/4.1.4 
    55 
    66module load flavor/hdf5/parallel 
    7 module load netcdf-fortran/4.4.4 
    8 module load hdf5/1.8.20 
    9 module load gnu/11.2.0 
    10 module load perl/5.30.2 
     7module load hdf5/1.12.2 
     8module load netcdf-fortran/4.5.3 
     9module load gnu/11.1.0 
     10module load perl/5.32.1 
    1111 
    1212export UCX_TLS=dc_x,cma,knem,self 
     13 
  • XIOS3/dev/XIOS_ATTACHED/xios_test_suite/ARCH/arch-X64_IRENE_GNU.env

    r2191 r2504  
    11module purge 
    22module load flavor/buildcompiler/gcc/8 
    3 module load mpi/openmpi/4.0.2  
     3module load mpi/openmpi/4.1.4 
    44 
    55module load flavor/hdf5/parallel 
    6 module load netcdf-fortran/4.4.4 
    7 module load hdf5/1.8.20 
     6module load hdf5/1.12.2 
     7module load netcdf-fortran/4.5.3 
    88module load gnu/8.3.0 
    99 
    10 module load totalview 
    11 module load perl/5.30.2 
     10module load perl/5.32.1 
  • XIOS3/dev/XIOS_ATTACHED/xios_test_suite/ARCH/arch-X64_IRENE_LLVM.env

    r2300 r2504  
    11module purge 
    2 module load llvm/11.0.0 
    3 module load mpi/openmpi/4.0.2  
     2module load llvm/14.0.0 
     3module load mpi/openmpi/4.1.4  
    44export OMPI_CC=clang 
    55export OMPI_CXX=clang++ 
    66 
    77module load flavor/hdf5/parallel 
    8 module load netcdf-fortran/4.4.4 
    9 module load hdf5/1.8.20 
    10 #module load gnu/8.3.0 
     8module load hdf5/1.12.2 
     9module load netcdf-fortran/4.5.3 
     10module load gnu/12.2.0 
     11export CPLUS_INCLUDE_PATH="${GNU_ROOT}/include/c++/12.2.0:${GNU_ROOT}/include/c++/12.2.0/x86_64-pc-linux-gnu" 
    1112 
    12 module load totalview 
    13 module load perl/5.30.2 
     13module load perl/5.32.1 
Note: See TracChangeset for help on using the changeset viewer.