Hi,

       When I create a filespace using the following code:

    hsize_t celldset_sz = 2195543407;
    filespace = H5Screate_simple (1, &celldset_sz, NULL);
    dset_id = H5Dcreate (file_id, "cellinfo", H5T_NATIVE_INT, filespace,
                         H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
    H5Sclose (filespace);
    H5Dclose (dset_id);

     I get the following error:

HDF5-DIAG: Error detected in HDF5 (1.8.9) MPI-process 2:
  #000: H5Dio.c line 228 in H5Dwrite(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type


      Could you tell me why I get this error?

Regards
Suman
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to