Ignore:
Timestamp:
04/17/18 11:55:51 (3 years ago)
Author:
oabramkina
Message:

Enforcing sequential I/O on the client side during reading of metadata by client processes. Parallel I/O can still be used in this case via setting file attribute "read_metadata_par" to true.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/io/nc4_data_input.cpp

    r1479 r1485  
    1010namespace xios 
    1111{ 
    12   CNc4DataInput::CNc4DataInput(const StdString& filename, MPI_Comm comm_file, bool multifile, bool isCollective /*= true*/, const StdString& timeCounterName /*= "time_counter"*/) 
     12  CNc4DataInput::CNc4DataInput(const StdString& filename, MPI_Comm comm_file, bool multifile, bool isCollective /*= true*/, 
     13                               bool readMetaDataPar /*= false*/, const StdString& timeCounterName /*= "time_counter"*/) 
    1314    : SuperClass() 
    14     , SuperClassWriter(filename, &comm_file, multifile, timeCounterName) 
     15    , SuperClassWriter(filename, &comm_file, multifile, readMetaDataPar, timeCounterName) 
    1516    , comm_file(comm_file) 
    1617    , filename(filename) 
Note: See TracChangeset for help on using the changeset viewer.