Changeset 1037 for XIOS/dev/branch_yushan/src/io/onetcdf4.cpp
- Timestamp:
- 01/25/17 16:25:17 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/io/onetcdf4.cpp
r878 r1037 3 3 #include "onetcdf4.hpp" 4 4 #include "group_template.hpp" 5 #include "mpi.hpp"5 //#include "mpi_std.hpp" 6 6 #include "netcdf.hpp" 7 7 #include "netCdfInterface.hpp" … … 48 48 } 49 49 wmpi = comm && !multifile; 50 51 MPI_Info info_null; 50 52 51 53 if (wmpi) … … 56 58 { 57 59 if (wmpi) 58 CNetCdfInterface::createPar(filename, mode, *comm, MPI_INFO_NULL, this->ncidp);60 CNetCdfInterface::createPar(filename, mode, *comm, info_null, this->ncidp); 59 61 else 60 62 CNetCdfInterface::create(filename, mode, this->ncidp); … … 66 68 mode |= NC_WRITE; 67 69 if (wmpi) 68 CNetCdfInterface::openPar(filename, mode, *comm, MPI_INFO_NULL, this->ncidp);70 CNetCdfInterface::openPar(filename, mode, *comm, info_null, this->ncidp); 69 71 else 70 72 CNetCdfInterface::open(filename, mode, this->ncidp);
Note: See TracChangeset
for help on using the changeset viewer.