HDF5 1.8.5 patch 1 and Intel 11 on Mac OS 10.6.5

Hi ,
i've been trying to build HDF for quite some time on my mac with intel
compiler.
make fails when working on fortran/src/H5fortran_types.f90 because of a
duplicate line :

INTEGER, PARAMETER :: Fortran_REAL_4 = 4

After removing it, build works but make check fails at hyperslab ... and
then exists abnormally

Testing hyperslab copy 3x5x5 variable source
*FAILED*
   at hyperslab.c:528 in test_copy()...
...
Testing hyperslab copy 7x9x5 sync source & dest
*FAILED*
   at hyperslab.c:528 in test_copy()...
...
Testing image sampling 5x10 to 10x20
*FAILED*
   at hyperslab.c:1007 in test_sub_super()...
..
Testing image sampling 960x1280 to 480x640
PASSED
Testing image sampling 480x640 to 960x1280
Command terminated abnormally.
        1.27 real 0.55 user 0.03 sys
make[4]: *** [hyperslab.chkexe_] Error 1
make[3]: *** [build-check-s] Error 2
make[2]: *** [test] Error 2
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1

any one has any ideas ? I really need the intel version since i want to
compare the code with compiler intel and Gnu ...

Thanks

My configure:

export PREFIX=/opt/local/perso/hdf5-1.8.5-p1-intel
export CC=icc
export CPP="icpc -E"
export CXX=icpc
export FC=ifort
export F77=ifort
export F9X=ifort

rm -f myhdf.conf.log

./configure --enable-fortran | tee myhdf.conf.log

···

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/HDF5-1-8-5-patch-1-and-Intel-11-on-Mac-OS-10-6-5-tp1983611p1983611.html
Sent from the hdf-forum mailing list archive at Nabble.com.

So .. using -m32 solves both problems..

···

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/HDF5-1-8-5-patch-1-and-Intel-11-on-Mac-OS-10-6-5-tp1983611p1983834.html
Sent from the hdf-forum mailing list archive at Nabble.com.

Hi,

You may also try to update your Intel compiler. I am using ifort (IFORT) 11.1 20100806. Older versions (or even builds of the same version 11.1) caused problems similar to what you described.

Elena

···

On Nov 28, 2010, at 5:40 PM, crocopablo wrote:

So .. using -m32 solves both problems..

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/HDF5-1-8-5-patch-1-and-Intel-11-on-Mac-OS-10-6-5-tp1983611p1983834.html
Sent from the hdf-forum mailing list archive at Nabble.com.

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org