Hi Elena,

Thanks - I updated to 4.9.1 and was able to build it under gfortran. I also set the FC variable although it found the gfortran compiler with F77.

--- Dave

On 28/08/2014 1:42 PM, Elena Pourmal wrote:
Dave,

You will need to set up the FC variable instead of F77 and use gfortran 4.8.2 or later.

Elena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal  The HDF Group http://hdfgroup.org
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




On Aug 28, 2014, at 10:56 AM, Dave Lane <[email protected] <mailto:[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] <mailto:[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

_______________________________________________
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