![]() |
Blitz Devel : |
From: Patrick Guio (patrick.guio_at_[hidden])
Date: 2004-05-06 02:20:59
On Wed, 5 May 2004, Theodore Papadopoulo wrote:
Hi Theo,
Well I do not really understand, I also use FC1 with autoconf 2.59,
automake 1.8.4 and libtool 1.5.6 (all installed by myself since RH or
Fedora are not good on keeping up to date those tools...) and I have no
trouble with them.
What surprises me is the command
~/src/Cvs/Blitz/blitz/configure --with-cxx=gcc
--with-cxx is definitely obsolete, try
~/src/Cvs/Blitz/blitz/configure --help
There has been an effort to make the configure call more standard and one
should set CXX, CXXFLAGS or other variables as detailed in the configure
help.
Cheers,
Patrick
>
> patrick.guio_at_[hidden] said:
> > AC_FC_FREEFORM and AC_FC_SRCEXT should definitely be used for f90
> > until f90 support exists. Using the FC* variables avoids to declare a
> > new set of variables F90* and compiler tests are run with FC
> > variables. I have seen in several projects FC variables used for the
> > f90 compiler.
>
> I do not claim that they are not useful, I claim that on a very
> recent redhat Fedora core 1, with an upgrade for automake and
> autoconf (and even maybe for libtool), those autoconf macros make the
> configuration to abort...
>
>
> cd blitz-src
> export ACLOCAL="aclocal -I m4/"
> autoreconf --verbose -i --force $SRC_DIR 2>&1 | tee AUTOTOOLS.log1
>
> /usr/bin/autoconf --version
> autoconf (GNU Autoconf) 2.59
> [ Deleted stuff ]
>
> cd ~/compiles/blitz-linux-3.4-test/
> ~/src/Cvs/Blitz/blitz/configure --with-cxx=gcc
> [ Deleted stuff ]
>
> configure: Setting compiler flags for GNU g++ (wahoo!)
> checking for xlf... no
> checking for f77... f77
> checking whether we are using the GNU Fortran 77 compiler... yes
> checking whether f77 accepts -g... yes
> checking for xlf90... no
> checking for f90... no
> checking for ifort... no
> checking for ifc... no
> checking for pgf90... no
> checking whether we are using the GNU Fortran compiler... no
> checking whether accepts -g... no
> checking for Fortran flag needed to allow free-form source... unknown
> configure: error: Fortran does not accept free-form source
>
> End of the game !!!
> I'm pretty sure that it was the same with autoconf 2.58...
> >From there, I do not know what to do except removing the two
> AC_FC_FREEFORM
> AC_FC_SRCEXT(f90)
> and then everything works fine.
>
> Now, I just read the documentation, and it seems that the proper way
> to deal with this is to specify an action-if-failure which disables
> the fortran (90?) tests instead of the default action-if-failure
> which is "exit with an error message".
>
> Do you agree with this ?
>
> Theo.
>
> --------------------------------------------------------------------
> Theodore Papadopoulo
> Email: Theodore.Papadopoulo_at_[hidden] Tel: (33) 04 92 38 76 01
> --------------------------------------------------------------------
>
>
> _______________________________________________
> Blitz-dev mailing list
> Blitz-dev_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi/blitz-dev
>
======================================================================
Patrick Guio
Institute of Physics, University of Oslo
P.O. box 1048, Blindern, N-0316 Oslo
Tel : (+47) 22 84 40 60 - Fax : (+47) 22 85 56 71
E-mail : patrick.guio_at_[hidden]
URL : http://folk.uio.no/~patricg