Hi, I needed to apply a couple of patches to some config files in order to build hdf5-1.8.8 with intel version 12 compiler.
I have attached two patch files, gnu-flags.patch and intel-flags.patch. 1) In version 12.1, icc -v returns the message: icc version 12.1.0 (gcc version 4.4.5 compatibility) The file $HDF5_ROOT/config/gnu-flags sees the substring "gcc version" and decides the compiler is gcc This causes the H5_CFLAGS to be set to flags which are not appropriate for icc. There is already logic in this file to deal with the fact that the PathScale compiler also outputs the gnu version string. gnu-flags.patch adds similar logic for icc version 12. 2) In $HDF5_ROOT/config/intel-flags there is a case statement at the end which sets PROD_CFLAGS according to the icc version, but it stops with version 11. intel-flags.patch adds the case for icc v12 and assigns the same flags as for icc v11. Suggested improvements welcome. Thanks, John Eisenlohr
gnu-flags.patch
Description: Binary data
intel-flags.patch
Description: Binary data
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
