Hello, I guess mine is quite an unusual system on which to build HDF5, so it is not surprising it isn't working "out of the box".
The setup is: * Red Hat Enterprise Linux v6.4 running as a guest on a z/VM LPAR on IBM z196 Mainframe (RHEL architecture is "s390x" as opposed to "x86_64" etc). * NAG Fortran compiler version 5.1 Trying to build HDF5 from source (hdf5-1.8.11), I do: ./configure --prefix=/usr/local/nag/hdf5 --enable-fortran CFLAGS='-mtune=z196 -march=z196' FC='/usr/local/bin/f95' make Unrecognised option -shared passed to ld Unrecognised option -rpath passed to ld Unrecognised file suffix .libs make[3]: *** [libhdf5_fortran.la] Error 2 make[3]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran/src' make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran/src' make[1]: Leaving directory `/root/hdf5/hdf5-1.8.11/fortran' Currently I'm not very good at debugging the whole configure/make/make install process; Google is normally my friend but not in this case, and I can't see anything on this mailing list about the NAG compiler. I have seen this post: http://www.eeo.ed.ac.uk/it/FAQ/SciIO.html#HDF5 which says: "The library cannot be built with the NAG f95 compiler", though I have no idea if this is true or not. One thing worth mentioning is that if I omit the FC option to configure, and hence use the gfortran compiler instead, all works well and I can make/make check/make install successfully. So it is definitely something to do with the NAG compiler. I'm hoping for some assistance from what looks like a friendly and helpful group! Regards Andy
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
