This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling refblas3 with gfortran 4.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]