[Hdf-forum] compiling hdf5 on OS/X

Dave Lane dlane at ap.stmarys.ca
Thu Aug 28 10:56:49 CDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/attachments/20140828/ab79040e/attachment.html>


More information about the Hdf-forum mailing list