Hi,

On Wed, Jun 07, 2017 at 02:28:56PM +0000, Greenberg, Naomi wrote:
> I used ./configure --prefix=/opt/hdf5-1.8.15-patch1.gfortran_6.3.1 --enable
> fortran.  Any ideas? I was able to build it using the Intel compiler (2016).

Is it a typo that I read "--enable fortran" (with a space) instead of
"--enable-fortran" ?

Else, if you have built already hdf5 in the same directory, you might need to
clean remaining files (from the intel compiler) that could conflict with the
compiled files needed by gfortran.

My general recipe for building hdf5, using here the gcc/gfortran compiler
setting. You might need to adjust (replace gcc by gcc-6 and gfortran by
gfortran-6, for instance).

In a fresh unpack of the source file:

export CC=gcc
export FC=gfortran
./configure --enable-fortran --enable-fortran2003 --prefix 
/opt/hdf5-1.8.15-patch1.gfortran_6.3.1
make

If there are further problems, can you include the full details of your build
process (all steps since unpacking the source archive, OS, compiler versions).

Regards,

Pierre


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to