configure: error: Fortran could not compile .f90 files

Hi,

I'm trying to install hdf5-1.8.1 under Linux. I have Absoft 64-bit Fortran 95 10.1.2 installed and working. When I run configure --prefix=/usr/local --enable-fortran, however, I get:

...
checking if Fortran interface enabled... yes
checking whether we are using the GNU Fortran compiler... no
checking whether g95 accepts -g... no
checking for Fortran flag to compile .f90 files... unknown
configure: error: Fortran could not compile .f90 files

According to the INSTALL docs, configure should find f90, which is the Absoft compiler on my system. Any suggestions?

Thanks!

Greg

···

--

E R G O N O S I S
Greg Ederer
Lead Developer
greg@ergonosis.com
360.774.6848

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Greg,

Could you please send me the output of configure command and config.log file?

Thank you!

Elena

···

On Aug 1, 2008, at 12:50 PM, Greg Ederer wrote:

Hi,

I'm trying to install hdf5-1.8.1 under Linux. I have Absoft 64-bit Fortran 95 10.1.2 installed and working. When I run configure --prefix=/usr/local --enable-fortran, however, I get:

...
checking if Fortran interface enabled... yes
checking whether we are using the GNU Fortran compiler... no
checking whether g95 accepts -g... no
checking for Fortran flag to compile .f90 files... unknown
configure: error: Fortran could not compile .f90 files

According to the INSTALL docs, configure should find f90, which is the Absoft compiler on my system. Any suggestions?

Thanks!

Greg

--
> E R G O N O S I S
> Greg Ederer
> Lead Developer
> greg@ergonosis.com
> 360.774.6848
>

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

You have to
export F9X=something (I have ifort for intel fortran compiler)
also
CC= (like gcc or icc)
and
CXX (if you have c++ enabled, like icpc or g++)

Dave McCloskey

···

-----Original Message-----
From: Greg Ederer [mailto:greg@ergonosis.com]
Sent: Friday, August 01, 2008 1:50 PM
To: hdf-forum@hdfgroup.org
Subject: [hdf-forum] configure: error: Fortran could not compile .f90 files

Hi,

I'm trying to install hdf5-1.8.1 under Linux. I have Absoft 64-bit
Fortran 95 10.1.2 installed and working. When I run configure
--prefix=/usr/local --enable-fortran, however, I get:

...
checking if Fortran interface enabled... yes
checking whether we are using the GNU Fortran compiler... no
checking whether g95 accepts -g... no
checking for Fortran flag to compile .f90 files... unknown
configure: error: Fortran could not compile .f90 files

According to the INSTALL docs, configure should find f90, which is the
Absoft compiler on my system. Any suggestions?

Thanks!

Greg

--

E R G O N O S I S
Greg Ederer
Lead Developer
greg@ergonosis.com
360.774.6848

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Try FC=... ./configure...

Greg Ederer wrote:

···

Hi,

I'm trying to install hdf5-1.8.1 under Linux. I have Absoft 64-bit Fortran 95 10.1.2 installed and working. When I run configure --prefix=/usr/local --enable-fortran, however, I get:

...
checking if Fortran interface enabled... yes
checking whether we are using the GNU Fortran compiler... no
checking whether g95 accepts -g... no
checking for Fortran flag to compile .f90 files... unknown
configure: error: Fortran could not compile .f90 files

According to the INSTALL docs, configure should find f90, which is the Absoft compiler on my system. Any suggestions?

Thanks!

Greg

--
Dominik Szczerba, Ph.D.
Biomedical Simulation Group
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.