HDF5 Library Version conflict

Information about Programming in the MOHID Framework
mg@warb.uni-hannover.de
MOHID Beginner
Posts: 4
Joined: Thu Jan 01, 1970 00:00

HDF5 Library Version conflict

Postby mg@warb.uni-hannover.de » Wed Jun 25, 2008 14:59

Hi!

I finally managed to build a MohidLand.exe with Visual Studio 2005 and Intel Fortran Compiler 10.1 using the recent SourceOffSite code and the \"IntelLibs\", everything as explained in the MohidWiki.
However when I tried to run the built *.exe, I got the following error message:

Code: Select all

Warning! The HDF5 header files included by this application do not match the
version used by the HDF5 library to which this application is linked. Data
corruption or segmentation faults may occur if the application is
allowed to continue.  You can, at your own risk, disable this check by setting
the environment variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
Setting it to 2 will suppress the warning totally.
Headers are 1.6.4, library is 1.6.5
Bye...

So it seems that I have to update the headers.... unfortunately I don't know how to do that!

Does anybody have an idea?

Thanks!
regards,
Matthias

mg@warb.uni-hannover.de
MOHID Beginner
Posts: 4
Joined: Thu Jan 01, 1970 00:00

Postby mg@warb.uni-hannover.de » Thu Jul 03, 2008 13:11

Ok, it's solved.

The problem was, that the HDF5 files from SourceOffSite didn't work.

Now I took all HDF5 files from the SourceCode V4.9 in the directory 'SourceCode_v4.9_25June2007/HDF_1_6_5/MultiThread' and followed the instructions in the Mohid wiki 'Compiling Mohid with OpenMP'.

So I have now a working MohidLand.exe with Visual Studio 2005 and Intel Fortran Compiler 10.1 on a 64bit machine with 'Windows x64 edition'.

A first test run brought double speed compared with the Compaq compiler on a 32bit PC.

regards,
Matthias

administrator@.
Site Admin
Posts: 348
Joined: Thu Jan 01, 1970 00:00
Location: Instituto Superior Tecnico - Lisbon - Portugal
Contact:

Postby administrator@. » Tue Jul 22, 2008 11:46

Hi Matthias,

I'll update all this information regarding compilers and hdf5 libraries on MOHID Wiki soon.
Thanks for the tips meanwhile. Best regards,

Luis


Return to “MOHID Programming”

Who is online

Users browsing this forum: No registered users and 1 guest