My bug report to gcc.gnu deals with this issue:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48404

In summary, there is a mismatch of the LD_LIBRARY_PATH and the gcc version used 
to compile the code on your OS.

The issue with the intel compiler is new, what is the output from the attached 
program using the intel compiler. Also use FC instead of F77 to set the fortran 
compiler.

Scot


Attachment: testkind.f90
Description: testkind.f90




On Aug 28, 2014, at 10:56 AM, Dave Lane <[email protected]> wrote:

Hi,

I am having troubles compiling hdf5-1.8.13 (with --enable-fortran) on OS X 10.9. The configure lines are:
setenv CC gcc
setenv F77 gfortran
setenv CXX g++
./configure --with-szlib=/opt/local/szip/$F77 --prefix=/opt/local/hdf5/$F77 --enable-fortran --enable-cxx
The error reported is:
./H5test_kind > H5fortran_detect.f90
  FC       H5fortran_detect.o
H5fortran_detect.f90:164.17:

    REAL(KIND= 16) :: a
                 1
Error: Kind 16 not supported for type REAL at (1)
H5fortran_detect.f90:167.21:

    a_size = SIZEOF(a)
                     1
Error: Symbol 'a' at (1) has no IMPLICIT type
H5fortran_detect.f90:176.27:
It gives the same error with either gfortran (4.3.6) OR ifort (13.0.2).

I found some references to this error when googling, but no resolution - any ideas?

--- Dave
Saint Mary's University
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to