This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: compiling refblas3 with gfortran 4.2
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Kamaraju Kusumanchi <kamaraju at bluebottle dot com>
- Cc: fortran at gcc dot gnu dot org
- Date: Thu, 19 Jul 2007 11:11:17 -0700
- Subject: Re: compiling refblas3 with gfortran 4.2
- References: <f7o7g6$ih4$1@sea.gmane.org>
On Thu, Jul 19, 2007 at 01:37:00PM -0400, Kamaraju Kusumanchi wrote:
>
> The Debian distribution is trying to migrate from g77 to gfortran 4.2. As
> part of this process all the existing packages need to be compiled using
> gfortran which were originally compiled with g77.
>
> When trying to compile refblas3 package with gfortran 4.2 instead of g77 on
> a Debian unstable machine, we are encountering some problems. The options
> used to compile are
>
> -pipe -O3 -fomit-frame-pointer
>
What is refblas3? The BLAS available from www.netlib.org
compiles and passes all its tests on FreeBSD-*-amd64 with
the following set of flags:
-O -march=opteron
-O2 -march=opteron
-O3 -march=opteron
-O3 -march=opteron -fomit-frame-pointer
-O3 -march=opteron -fomit-frame-pointer -ffast-math
-O3 -march=opteron -fomit-frame-pointer -ffast-math -funroll-loops
-O3 -march=opteron -fomit-frame-pointer -ffast-math -funroll-loops -ftree-vectorize
troutmask:sgk[236] gfc -v
Using built-in specs.
Target: x86_64-portbld-freebsd7.0
Configured with: ./..//gcc-4.2.1-RC-20070712/configure --disable-nls --with-system-zlib --with-libiconv-prefix=/usr/local --with-gmp=/usr/local --program-suffix=42 --libdir=/usr/local/lib/gcc-4.2.1 --with-gxx-include-dir=/usr/local/lib/gcc-4.2.1/include/c++/ --infodir=/usr/local/info/gcc42 --disable-libgcj --prefix=/usr/local x86_64-portbld-freebsd7.0
Thread model: posix
gcc version 4.2.1 20070712 (prerelease)
Does is compile and pass its tests with -O2?
--
Steve