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).
I have read the topics http://www.mail-archive.com/[email protected]/msg00029.html http://www.mail-archive.com/[email protected]/msg01629.html 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/ ----------------------------------------------------------- _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
