Library build failed on CentOS 7


#1

Hi,

I just downloaded HDF5-1.10.5 and attempted to build the libraries. I did (under tcsh):
setenv FC ifort
setenv CC icc
(I’m using the Intel fortran and C compilers, version 11.0)
./configure --prefix=/home/jslavin/.local/hdf5-1.10.5/ --enable-fortran
–enable-fortran2003

make

This fails with the following message:
make[3]: Entering directory `/export/slavin/software/hdf5-1.10.5/hl/fortran/src’
PPFC H5DSff.lo
libtool: compile: ifort -I. -I…/…/…/src -I…/…/…/fortran/src -O3 -I…/…/…/fortran/src -I…/…/…/fortran/src -c H5DSff.F90 -fPIC -o .libs/H5DSff.o
H5DSff.F90(69): error #7836: If the actual argument is scalar, the corresponding dummy argument shall be scalar unless the actual argument is an element of an array that is not an assumed-shape or pointer array, or a substring of such an element. [DIMNAME]
errcode = H5DSset_scale_c(dsid, " ", INT(0,SIZE_T) )
-----------------^
compilation aborted for H5DSff.F90 (code 1)

Does anyone have a clue about this issue? It looks to me that all the arguments are scalars. I’m wondering if it has to do with the declaration:
CHARACTER(KIND=C_CHAR), DIMENSION(*), INTENT(in) :: dimname
in the interface definition for H5DSset_scale_c
Any help would be appreciated.

Thanks,
Jon