I am currently not able to build HDF5. I have the intel compilers (full suite: C/C++ and Fortran) on a Core 2 Duo MacBook Pro with Snow Leopard.
I upgraded recently the OS (10.6.8) and the compilers (11.1.080).
and still have the duplicate line in H5fortran_types.f90
INTEGER, PARAMETER :: Fortran_REAL_4 = 4
that causes an error.
If I try do delete the incriminated line, it builds but tests fail).
I have tried 'ifort -fpp -DDEC$=DEC_ -DMS$=MS_' with no different result.
My config line is:
CC=icc CFLAGS=-m64 CXX=icpc CXXFLAGS=-m64 FC='ifort -fpp -DDEC$=DEC_ -DMS$=MS_' FFLAGS=-m64 FCFLAGS=-m64 ./configure --prefix=/opt/hdf5-1.8.7-intel-11.1 --enable-fortran --enable-shared --with-zlib=/opt/hdf5-1.8.7-intel-11.1 --with-szlib=/opt/hdf5-1.8.7-intel-11.1
The part of "make" that fails is
Making all in fortran
Making all in src
FC H5test_kind_SIZEOF.o
FCLD H5test_kind
./H5test_kind > H5fortran_detect.f90
FC H5fortran_detect.o
FCLD H5fortran_detect
./H5fortran_detect > H5fort_type_defines.h
CC H5match_types.o
CCLD H5match_types
./H5match_types
make all-am
FC H5fortran_types.lo
H5fortran_types.f90(33): error #6418: This name has already been assigned a data type. [FORTRAN_REAL_4]
INTEGER, PARAMETER :: Fortran_REAL_4 = 4
------------------------------^
compilation aborted for H5fortran_types.f90 (code 1)
make[3]: *** [H5fortran_types.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Thanks for any help,
Pierre
···
-----------------------------------------------------------
Pierre de Buyl
Chemical Physics Theory Group - University of Toronto
Physique des Systèmes Complexes et Mécanique Statistique - Université Libre de Bruxelles
web: http://homepages.ulb.ac.be/~pdebuyl/
-----------------------------------------------------------
I don't have an answer for you, but the best way to ensure that HDF, or any software project, continues to build with your compiler is to submit a nightly build to the dashboard:
On Fri, 23 Sep 2011 15:54:20 +0200, Pierre de Buyl said:
I am currently not able to build HDF5. I have the intel compilers (full
suite: C/C++ and Fortran) on a Core 2 Duo MacBook Pro with Snow Leopard.
I upgraded recently the OS (10.6.8) and the compilers (11.1.080).
--
____________________________________________________________
Sean McBride, B. Eng sean@rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
Can you provide the contents of: H5fort_type_defines.h and H5fortran_types.f90?
Thanks,
Scot
···
On Fri, 23 Sep 2011 15:54:20 +0200, Pierre de Buyl wrote:
Dear HDF5 users,
I am currently not able to build HDF5. I have the intel compilers
(full suite: C/C++ and Fortran) on a Core 2 Duo MacBook Pro with Snow
Leopard.
I upgraded recently the OS (10.6.8) and the compilers (11.1.080).
and still have the duplicate line in H5fortran_types.f90
INTEGER, PARAMETER :: Fortran_REAL_4 = 4
that causes an error.
If I try do delete the incriminated line, it builds but tests fail).
I have tried 'ifort -fpp -DDEC$=DEC_ -DMS$=MS_' with no different result.
My config line is:
CC=icc CFLAGS=-m64 CXX=icpc CXXFLAGS=-m64 FC='ifort -fpp -DDEC$=DEC_
-DMS$=MS_' FFLAGS=-m64 FCFLAGS=-m64 ./configure
--prefix=/opt/hdf5-1.8.7-intel-11.1 --enable-fortran --enable-shared
--with-zlib=/opt/hdf5-1.8.7-intel-11.1
--with-szlib=/opt/hdf5-1.8.7-intel-11.1
The part of "make" that fails is
Making all in fortran
Making all in src
FC H5test_kind_SIZEOF.o
FCLD H5test_kind
./H5test_kind > H5fortran_detect.f90
FC H5fortran_detect.o
FCLD H5fortran_detect
./H5fortran_detect > H5fort_type_defines.h
CC H5match_types.o
CCLD H5match_types
./H5match_types
make all-am
FC H5fortran_types.lo
H5fortran_types.f90(33): error #6418: This name has already been
assigned a data type. [FORTRAN_REAL_4]
INTEGER, PARAMETER :: Fortran_REAL_4 = 4
------------------------------^
compilation aborted for H5fortran_types.f90 (code 1)
make[3]: *** [H5fortran_types.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Thanks for any help,
Pierre
-----------------------------------------------------------
Pierre de Buyl
Chemical Physics Theory Group - University of Toronto
Physique des Systèmes Complexes et Mécanique Statistique - Université
Libre de Bruxelles
web: http://homepages.ulb.ac.be/~pdebuyl/
-----------------------------------------------------------
On Fri, 23 Sep 2011 15:54:20 +0200, Pierre de Buyl wrote:
Dear HDF5 users,
I am currently not able to build HDF5. I have the intel compilers
(full suite: C/C++ and Fortran) on a Core 2 Duo MacBook Pro with Snow
Leopard.
I upgraded recently the OS (10.6.8) and the compilers (11.1.080).
and still have the duplicate line in H5fortran_types.f90
INTEGER, PARAMETER :: Fortran_REAL_4 = 4
that causes an error.
If I try do delete the incriminated line, it builds but tests fail).
I have tried 'ifort -fpp -DDEC$=DEC_ -DMS$=MS_' with no different result.
My config line is:
CC=icc CFLAGS=-m64 CXX=icpc CXXFLAGS=-m64 FC='ifort -fpp -DDEC$=DEC_
-DMS$=MS_' FFLAGS=-m64 FCFLAGS=-m64 ./configure
--prefix=/opt/hdf5-1.8.7-intel-11.1 --enable-fortran --enable-shared
--with-zlib=/opt/hdf5-1.8.7-intel-11.1
--with-szlib=/opt/hdf5-1.8.7-intel-11.1
The part of "make" that fails is
Making all in fortran
Making all in src
FC H5test_kind_SIZEOF.o
FCLD H5test_kind
./H5test_kind > H5fortran_detect.f90
FC H5fortran_detect.o
FCLD H5fortran_detect
./H5fortran_detect > H5fort_type_defines.h
CC H5match_types.o
CCLD H5match_types
./H5match_types
make all-am
FC H5fortran_types.lo
H5fortran_types.f90(33): error #6418: This name has already been
assigned a data type. [FORTRAN_REAL_4]
INTEGER, PARAMETER :: Fortran_REAL_4 = 4
------------------------------^
compilation aborted for H5fortran_types.f90 (code 1)
make[3]: *** [H5fortran_types.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Thanks for any help,
Pierre
-----------------------------------------------------------
Pierre de Buyl
Chemical Physics Theory Group - University of Toronto
Physique des Systèmes Complexes et Mécanique Statistique - Université
Libre de Bruxelles
web: http://homepages.ulb.ac.be/~pdebuyl/
-----------------------------------------------------------