Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
2 Views

HDF5 1.10.1 compiling error with ifort 18.0.0

Sorry to bother you.

 

I have been trying to compile HDF5 version 1.10.1 (downloaded from https://support.hdfgroup.org/HDF5/release/obtainsrc.html) with (the flags --enable-fortran --enable-shared --with-zlib) the recent intel (64 bit) compilers 18.0.0:

 

ifort (IFORT) 18.0.0 20170811

Copyright (C) 1985-2017 Intel Corporation.  All rights reserved.

 

 

I am getting this compilation error:

 

H5f90global.F90(145): error #7615: Multiple objects from the same EQUIVALENCE set may not appear in a COMMON block.   [H5T_NATIVE_INTEGER_KIND]

  EQUIVALENCE (predef_types(2), H5T_NATIVE_INTEGER_KIND(2))

--------------------------------^


The same HDF5 source files compiled without errors with the intel fortran compiler:
ifort (IFORT) 17.0.5 20170817

Copyright (C) 1985-2017 Intel Corporation.  All rights reserved.

Do you have any suggestions for me to follow to correct it?

Thanks in advance.

 

0 Kudos
2 Replies
Highlighted
Valued Contributor III
2 Views

See this thread, especially

0 Kudos
Highlighted
Beginner
2 Views

For future visitors, I've

For future visitors, I've attached a patch for HDF5 1.10.x

The issue is fixed in the HDF5 'develop' branch and will be in the 1.10.2 release.

 

 

 


 

0 Kudos