Hello,

I've tested the program against the latest binary release (downloaded today)

When I link the program against dll/lib libraries contained in
HDF5-1.8.5-win32/dll, the test fails.
When I link the program agains libraries contained in
HDF5-1.8.5-win32/lib, I have to add the following options to the linker :

 - NODEFAULTLIB:MSVCRT.lib
 - NODEFAULTLIB:libifcoremt.lib

but the test passes.

Hope this helps.

Best regards,

Cyril.



Le 21/06/2010 16:12, Giraudon Cyril a écrit :
> Elena,
>
> Yes yes with a link toward ifort 11.1 binaries I will do the test.
>
> Regards,
>
> Cyril.
>
>
>
> Le 21/06/2010 16:00, Elena Pourmal a écrit :
>   
>> Cyril,
>>
>> We have binaries packed with CPack (as part of our CMake effort). Do you 
>> think you can test it for us? 
>>
>> If so, we will send you a link to the binaries, and if they work, we will 
>> post binaries on the Web site. 
>>
>> Thank you!
>>
>> Elena
>> On Jun 21, 2010, at 7:26 AM, Giraudon Cyril wrote:
>>
>>   
>>     
>>> Hello,
>>>
>>> I tries the little test program with the latest release of HDF5 (1.8.5)
>>> and the same H5Tget_size function fails.
>>> The binary package is compiled with ifort 10 and I compile the program
>>> with ifort 11.1.06.
>>>
>>> Are binaries, created with ifort 10, 100% compatible with ifort 11 ?
>>>
>>> I can't compile HDF5 under windows since i have not Visual Studio 2008,
>>> only the Express Edition with which the CMake 2.8.1 FortranCInterface
>>> seems broken.
>>>
>>> Is there any windows binaries compiled with ifort 11.1 that I could try ?
>>>
>>> Thank a lot,
>>>
>>> Regards,
>>>
>>> Cyril.
>>>
>>>
>>>     
>>>       
>>>>> Le 26/05/2010 18:52, Elena Pourmal a écrit :
>>>>>
>>>>>         
>>>>>           
>>>>>> 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
>>>>>>
>>>>>>
>>>>>>           
>>>>>>             
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>       
>>>>         
>>> _______________________________________________
>>> 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
>>   
>>     
>
> _______________________________________________
> 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