Hi all,
I have compiled the hdf5-1.8.14 library with ifort 15.0.1 20141023 and
gcc 4.1.2, with the flags --enable-fortran --enable-fortran2003. The
compilation phase was fine, but when I did make check, I obtain that
all the tests are fine until

============================
Fortran API: Testing  fortranlib_test
============================
Fortran API:  fortranlib_test  Test Log
============================
                        ==========================
                               FORTRAN tests
                        ==========================
 FORTRANLIB_TEST is linked with HDF5 Library version 1.8 release  14

 Mounting test                                                          PASSED
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: H5S.c line 392 in H5Sclose(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
 h5sclose_f FAILED
 file name obtained from the dataset id is incorrect
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: H5S.c line 392 in H5Sclose(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
 h5sclose_f FAILED
 file name obtained from the dataset id is incorrect

and a very long list of errors follows...


The same happens if I use icc 15.0.1 20141023 in combination with
ifort. I tried to download the files h5ex_d_rdwr.c and h5ex_d_rdwr.f90
from the hdf5 website, to compile it with h5cc and h5fc, respectively.
The first one works as expected, but the last one returns errors like:

HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: H5D.c line 415 in H5Dclose(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type


As a last test, I rebuild the library with ifort and gcc, WITHOUT the
Fortran 2003 interface. This time h5ex_d_rdwr.f90 returns the expected
result. So I guess that the problem is in the Fortran 2003 interface.
For now, I patched my software to work without the fortran 2003
interface, but since this will be the default interface in the next
versions of HDF5, it seems importanto to fix this.

Do you need extra informations?

Thanks!

Andrea Negri

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5
  • [Hdf-for... Andrea Negri
    • Re:... Thompson, Matt (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC]
      • ... Scot Breitenfeld
    • Re:... Scot Breitenfeld

Reply via email to