Changeset 1056 for XIOS/dev/branch_yushan/src/io/onetcdf4.cpp
- Timestamp:
- 02/21/17 08:40:09 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/io/onetcdf4.cpp
r1053 r1056 47 47 wmpi = comm && !multifile; 48 48 49 MPI_Info info_null;49 ep_lib::MPI_Info info_null; 50 50 51 51 if (wmpi) … … 57 57 if (wmpi) 58 58 { 59 CNetCdfInterface::createPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), info_null, this->ncidp);59 CNetCdfInterface::createPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), static_cast<MPI_Info>(info_null.mpi_info), this->ncidp); 60 60 printf("creating file with createPar\n"); 61 61 } … … 74 74 if (wmpi) 75 75 { 76 CNetCdfInterface::openPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), info_null, this->ncidp);76 CNetCdfInterface::openPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), static_cast<MPI_Info>(info_null.mpi_info), this->ncidp); 77 77 printf("opening file with openPar\n"); 78 78 }
Note: See TracChangeset
for help on using the changeset viewer.