Index: pnetcdf.h =================================================================== --- pnetcdf.h +++ pnetcdf.h @@ -66,7 +66,7 @@ int reqtype; MPI_Request mpi_req; int indep; - nc_type vartype; + MPI_Datatype vartype; void *xbuf; void *cbuf; void *lbuf;