Changeset 1538 for XIOS/dev/branch_openmp/src/io/inetcdf4.cpp
- Timestamp:
- 06/11/18 19:06:45 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/io/inetcdf4.cpp
r1520 r1538 21 21 //mpi = comm && !multifile; 22 22 mpi = comm && !multifile && readMetaDataPar; 23 ep_lib::MPI_Info info_null;23 //ep_lib::MPI_Info info_null = MPI_INFO_NULL; 24 24 25 25 // The file format will be detected automatically by NetCDF, it is safe to always set NC_MPIIO 26 26 // even if Parallel NetCDF ends up being used. 27 27 if (mpi) 28 CNetCdfInterface::openPar(filename, NC_NOWRITE | NC_MPIIO, to_mpi_comm((*comm)->mpi_comm), to_mpi_info( info_null), this->ncidp);28 CNetCdfInterface::openPar(filename, NC_NOWRITE | NC_MPIIO, to_mpi_comm((*comm)->mpi_comm), to_mpi_info(MPI_INFO_NULL), this->ncidp); 29 29 else 30 30 CNetCdfInterface::open(filename, NC_NOWRITE, this->ncidp);
Note: See TracChangeset
for help on using the changeset viewer.