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
Andrea,
Previously, I had some issues with Intel 15 and HDF5. I believe all this is fixed in the upcoming 1.8.15 release, but for now, I got around my issue by passing in:
FCFLAGS=-assume nostd_value
to the build when using Intel 15.
Matt
···
On 05/06/2015 08:26 AM, Andrea Negri wrote:
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?
--
Matt Thompson SSAI, Sr Software Test Engr
NASA GSFC, Global Modeling and Assimilation Office
Code 610.1, 8800 Greenbelt Rd, Greenbelt, MD 20771
Phone: 301-614-6712 Fax: 301-614-6246
Could you send the config.log file? What system is this for?
Thanks,
Scot
···
On May 6, 2015, at 7:26 AM, Andrea Negri <negri.andre@gmail.com> wrote:
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.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5
Good point Matt, you will have to use FCFLAGS=-assume nostd_value when using intel 15 with 1.8.14. This issue has since been fixed in 1.8.15, so you will no longer need the flag.
Scot
···
On May 6, 2015, at 8:16 AM, Thompson, Matt (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC] <matthew.thompson@nasa.gov> wrote:
On 05/06/2015 08:26 AM, Andrea Negri wrote:
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?
Andrea,
Previously, I had some issues with Intel 15 and HDF5. I believe all this is fixed in the upcoming 1.8.15 release, but for now, I got around my issue by passing in:
FCFLAGS=-assume nostd_value
to the build when using Intel 15.
Matt
--
Matt Thompson SSAI, Sr Software Test Engr
NASA GSFC, Global Modeling and Assimilation Office
Code 610.1, 8800 Greenbelt Rd, Greenbelt, MD 20771
Phone: 301-614-6712 Fax: 301-614-6246
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5