Hi,
It should work with older gfortran versions.
Is this from a clean install of hdf5? I ask because the program
H5fortran_detect.f90 is generated from H5test_kind_SIZEOF.f90.
H5test_kind_SIZEOF.f90 determines which REAL KINDS are available and the
program detected KIND=16 as valid at some point. Is it possible you
configured/make hdf5 using 4.6 but then compiled it, maybe as a later
build, with an older version of gfortran? You need to make clean before
you switch to another compiler so that H5test_kind_SIZEOF.f90 is run
again with the current compiler.
On 2012-06-06 08:52, Kacper Kowalik wrote:
Hi,
currently H5test_kind_SIZEOF.f90 generates the code that fails to
build
with any gcc version less than 4.6.0. Namely:
gfortran -I../../src -I../../fortran/src -c -o H5fortran_detect.o
H5fortran_detect.f90
H5fortran_detect.f90:175.16:
REAL(KIND= 16) :: a
1
Error: Kind 16 not supported for type REAL at (1)
H5fortran_detect.f90:178.21:
a_size = SIZEOF(a)
1
Error: Symbol 'a' at (1) has no IMPLICIT type
make: *** [H5fortran_detect.o] Error 1
Is that change intended, i.e. do you drop support for older versions
of
gnu compiler?
Full build.log can be found at downstream bug[1]
Cheers,
Kacper Kowalik
[1] https://bugs.gentoo.org/show_bug.cgi?id=419895
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org