..now I tried
/sw/bin/gfortran -o dsetexample dsetexample.f90 -lhdf5 -lhdf5_fortran 
-I/sw/include -L/sw/lib
and I get the same error message. May be I already used the fink compiler 
package before because I installed it after the installation of the other 
version but did not realize installing this package. Sorry.
Any other idea?

Greetings!


Am 15.02.2012 um 00:36 schrieb Alexander Hansen:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2/14/12 6:20 PM, Silke Trömel wrote:
>> Dear all, does anybody knows why after successful compiling of the 
>> example code dsetexample.f90 provided from the hdf5-group, I get 
>> this error message concerning the data type ID? ./dsetexample 
>> HDF5-DIAG: Error detected in HDF5 (1.8.8) thread 0: #000: H5D.c 
>> line 143 in H5Dcreate2(): not a datatype ID major: Invalid 
>> arguments to routine minor: Inappropriate type HDF5-DIAG: Error 
>> detected in HDF5 (1.8.8) thread 0: #000: H5D.c line 391 in 
>> H5Dclose(): not a dataset major: Invalid arguments to routine 
>> minor: Inappropriate type
>> 
>> I used gfortran  -o dsetexample dsetexample.f90  -I/sw/include 
>> -L/sw/lib -lhdf5 -lhdf5_fortran
>> 
>> on MAC OS X, Version 10.7.2. I installed hdf5.7-gfortran using
>> fink and installed gfortran 4.2.3. I also asked the hdf5-help-desk 
>> (answer attached), but I am unable to cope with the hints given. 
>> Can you help me or tell me  whether the HDF5 version built with 
>> fink uses the same gfortran version?
>> 
>> Best wishes, Silke
>> 
>> 
> 
> It does not.
> 
> It uses gfortran-4.6.2, provided by fink's gcc46-compiler package as
> /sw/bin/gfortran.  Try using that instead.
> 
> - -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk867+AACgkQB8UpO3rKjQ9XHQCfXEKrUllR3gkFISLfbHRgQz4o
> T4YAoJkJBW0Wd95BDnurqir2WxKzlk+V
> =6g4J
> -----END PGP SIGNATURE-----

Dr. Silke Trömel
Meteorologisches Institut
der Universität Bonn
Auf dem Hügel 20
53121 Bonn
Tel:  +49 (0)228 735779
Fax: +49 (0)228 735188
http://www.meteo.uni-bonn.de/mitarbeiter/stroemel
http://www.herz-tb1.uni-bonn.de



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to