Changeset 1485 for XIOS/dev/XIOS_DEV_CMIP6/src/io/inetcdf4.cpp
- Timestamp:
- 04/17/18 11:55:51 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/io/inetcdf4.cpp
r1447 r1485 7 7 namespace xios 8 8 { 9 CINetCDF4::CINetCDF4(const StdString& filename, const MPI_Comm* comm /*= NULL*/, bool multifile /*= true*/, const StdString& timeCounterName /*= "time_counter"*/) 9 CINetCDF4::CINetCDF4(const StdString& filename, const MPI_Comm* comm /*= NULL*/, bool multifile /*= true*/, 10 bool readMetaDataPar /*= false*/, const StdString& timeCounterName /*= "time_counter"*/) 10 11 { 11 12 // Don't use parallel mode if there is only one process … … 17 18 comm = NULL; 18 19 } 19 mpi = comm && !multifile ;20 mpi = comm && !multifile && readMetaDataPar; 20 21 21 22 // The file format will be detected automatically by NetCDF, it is safe to always set NC_MPIIO
Note: See TracChangeset
for help on using the changeset viewer.