John, Thank you for the report and patches (patches look good).
We already have an entry in our issues DB for 1) and I just added 2) to it. The issue will be addressed in 1.8.9 (May 15, 2012). Thank you! Elena ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elena Pourmal The HDF Group http://hdfgroup.org 1800 So. Oak St., Suite 203, Champaign IL 61820 217.531.6112 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On Jan 10, 2012, at 11:39 AM, John Eisenlohr wrote: > 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><intel-flags.patch>_______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
