Cyril,

Your program looks fine. We will need to look into the issue. To my knowledge 
all tests passed with Intel 10 compiler (and function has been tested :-). I 
will file a bug report.

Elena

On May 26, 2010, at 10:57 AM, Giraudon Cyril wrote:

> Hello,
> 
> I have a problem with h5tget_size under windows.
> The compiler is ifort 11.1 and I use a the latest precompiled version of
> HDF5 :
> hdf5-1.8.4-patch1-win32-vs2008-iv101-enc
> 
> The following little program works under linux (ubuntu 32bit & centos5.4
> 64bit) but does'nt  under windowsXP :
> 
> """
> program test
> 
> use hdf5
> 
> integer :: hdferr
> integer(hid_t) :: real_type_id
> integer(size_t) :: type_size
> 
> print *, "Test starting ..."
> 
> call h5open_f(hdferr)
> 
> call h5tget_size_f(H5T_NATIVE_REAL, type_size, hdferr)
> if (hdferr<0) then
>    print *, "Get size failed"
> endif
> print *, "Real's size : ", type_size
> 
> print *, "End."
> 
> call h5close_f(hdferr)
> 
> end program test
> """
> 
> Under windows, the program stops with :
> """
> Test starting ...
> HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 0:
>  #000: ../../../src/H5T.c line 2071 in H5Tget_size(): not a datatype
>    major: Invalid arguments to routine
>    minor: Inapproriate type
> Get size failed.
> """
> 
> Do I something wrong ?
> 
> Thanks a lot,
> 
> Cyril.
> 
> 
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org


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

Reply via email to