Thank you. That worked.

Naomi Greenberg
Principal Member of the Research Staff
Electromagnetics Lab
www.riversideresearch.org
T: 212.502.1718 | F: 212.502.1729 |

Riverside Research | 156 William Street | New York, N.Y. 10038


 
This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain proprietary, confidential or
privileged information or otherwise be protected by law. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please notify the sender and destroy all copies and the
original message.



-----Original Message-----
From: Hdf-forum [mailto:[email protected]] On Behalf Of
Pierre de Buyl
Sent: Wednesday, June 07, 2017 3:04 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] Error compiling hdf5 with gfortran 6.3.1

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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