did you declare the correct types for dset,ref_out,ref_size,hdferr?

  INTEGER(HID_T) :: dset
  what type is your ref_out??? :: ref_out
  INTEGER(HSIZE_T) :: ref_size
  INTEGER :: hdferr

On 08.12.2011 22:06, dyjbean wrote:
hi,
 in my hdf5 file, there includes object reference, i want to read
this "object reference " value out,
so i invoke the subroutine as follows

 ref_size(1)=size(ref_out)
 call h5dread_f(dset,H5T_STD_REF_DSETREG,ref_out,ref_size,hdferr)
but after i compile the code, there is an error prompt:
 error #6285: There is no matching specific subroutine for this
generic subroutine call. [H5DREAD_F]
 call h5dread_f(dset,H5T_STD_REF_DSETREG,ref_out,ref_size,hdferr)
the code i made referred to
can anybody give me advice about how to read the "object reference"
in hdf5 files?

any help will be appreciated!
thanks

-------------------------

dyjbean


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

Reply via email to