FFLAGS

Hi,

I have to compile HDF5 with the Fortran flags '-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' (the LIS application for which I am installing HDF5 requires this).

I tried setting FFLAGS='-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' before running ./configure. But this caused the configure script to fail with configure: error: Fortran could not compile .f90 files.

I have no idea what these flags mean, or why setting them would cause configure to fail. Any suggestions would be most welcome.

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.

At best export (setenv on tcsh) both FC and FFLAGS separately before calling configure.
--DS

Greg Ederer wrote:

···

Hi,

I have to compile HDF5 with the Fortran flags '-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' (the LIS application for which I am installing HDF5 requires this).

I tried setting FFLAGS='-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' before running ./configure. But this caused the configure script to fail with configure: error: Fortran could not compile .f90 files.

I have no idea what these flags mean, or why setting them would cause configure to fail. Any suggestions would be most welcome.

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.

Hi Dominik,

I have both of these in my environment. The configure completes successfully when FFLAGS is unset.

Thanks,

Greg

Dominik Szczerba wrote:

···

At best export (setenv on tcsh) both FC and FFLAGS separately before calling configure.
--DS

Greg Ederer wrote:

Hi,

I have to compile HDF5 with the Fortran flags '-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' (the LIS application for which I am installing HDF5 requires this).

I tried setting FFLAGS='-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' before running ./configure. But this caused the configure script to fail with configure: error: Fortran could not compile .f90 files.

I have no idea what these flags mean, or why setting them would cause configure to fail. Any suggestions would be most welcome.

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.

So there is no other way than inspecting the config.log file...
-- DS

Greg Ederer wrote:

···

Hi Dominik,

I have both of these in my environment. The configure completes successfully when FFLAGS is unset.

Thanks,

Greg

Dominik Szczerba wrote:

At best export (setenv on tcsh) both FC and FFLAGS separately before calling configure.
--DS

Greg Ederer wrote:

Hi,

I have to compile HDF5 with the Fortran flags '-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' (the LIS application for which I am installing HDF5 requires this).

I tried setting FFLAGS='-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' before running ./configure. But this caused the configure script to fail with configure: error: Fortran could not compile .f90 files.

I have no idea what these flags mean, or why setting them would cause configure to fail. Any suggestions would be most welcome.

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.

Hi Dominik,

I have attached the config.log.

Thanks,

Greg

Dominik Szczerba wrote:

config.log (28.2 KB)

···

So there is no other way than inspecting the config.log file...
-- DS

Greg Ederer wrote:

Hi Dominik,

I have both of these in my environment. The configure completes successfully when FFLAGS is unset.

Thanks,

Greg

Dominik Szczerba wrote:

At best export (setenv on tcsh) both FC and FFLAGS separately before calling configure.
--DS

Greg Ederer wrote:

Hi,

I have to compile HDF5 with the Fortran flags '-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' (the LIS application for which I am installing HDF5 requires this).

I tried setting FFLAGS='-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' before running ./configure. But this caused the configure script to fail with configure: error: Fortran could not compile .f90 files.

I have no idea what these flags mean, or why setting them would cause configure to fail. Any suggestions would be most welcome.

Thanks!

Greg

--

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

Look for ERROR messages, there are a few. A sample:

configure:4289: /opt/absoft10.1/bin/f90 -c -YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1 conftest.f90 >&5
ERROR: File not found: NAMES=LCS
ERROR: File not found: SFX=

which tells me your options are simply invalid syntax (not recognized) for your compiler. Try to compile manually a simple test case with the same switches.

--DS

Greg Ederer wrote:

···

Hi Dominik,

I have attached the config.log.

Thanks,

Greg

Dominik Szczerba wrote:

So there is no other way than inspecting the config.log file...
-- DS

Greg Ederer wrote:

Hi Dominik,

I have both of these in my environment. The configure completes successfully when FFLAGS is unset.

Thanks,

Greg

Dominik Szczerba wrote:

At best export (setenv on tcsh) both FC and FFLAGS separately before calling configure.
--DS

Greg Ederer wrote:

Hi,

I have to compile HDF5 with the Fortran flags '-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' (the LIS application for which I am installing HDF5 requires this).

I tried setting FFLAGS='-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' before running ./configure. But this caused the configure script to fail with configure: error: Fortran could not compile .f90 files.

I have no idea what these flags mean, or why setting them would cause configure to fail. Any suggestions would be most welcome.

Thanks!

Greg

------------------------------------------------------------------------

----------------------------------------------------------------------
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.

--
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.

Thanks for the clue!

Cheers,

Greg

Dominik Szczerba wrote:

···

Look for ERROR messages, there are a few. A sample:

configure:4289: /opt/absoft10.1/bin/f90 -c -YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1 conftest.f90 >&5
ERROR: File not found: NAMES=LCS
ERROR: File not found: SFX=

which tells me your options are simply invalid syntax (not recognized) for your compiler. Try to compile manually a simple test case with the same switches.

--DS

Greg Ederer wrote:

Hi Dominik,

I have attached the config.log.

Thanks,

Greg

Dominik Szczerba wrote:

So there is no other way than inspecting the config.log file...
-- DS

Greg Ederer wrote:

Hi Dominik,

I have both of these in my environment. The configure completes successfully when FFLAGS is unset.

Thanks,

Greg

Dominik Szczerba wrote:

At best export (setenv on tcsh) both FC and FFLAGS separately before calling configure.
--DS

Greg Ederer wrote:

Hi,

I have to compile HDF5 with the Fortran flags '-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' (the LIS application for which I am installing HDF5 requires this).

I tried setting FFLAGS='-YEXT NAMES=LCS -s -YEXT SFX= -YCFRL=1' before running ./configure. But this caused the configure script to fail with configure: error: Fortran could not compile .f90 files.

I have no idea what these flags mean, or why setting them would cause configure to fail. Any suggestions would be most welcome.

Thanks!

Greg

------------------------------------------------------------------------

----------------------------------------------------------------------
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.

--

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.