Gentoo Archives: gentoo-science

From: Jason Nielsen <jdn@××××××.ca>
To: Alan Jackson <ajackson@×××××.net>
Cc: gentoo-science@l.g.o
Subject: Re: [gentoo-science] Problems emerging blas-atlas
Date: Sun, 05 Feb 2006 21:59:19
Message-Id: Pine.LNX.4.63.0602051351520.14278@localhost
In Reply to: [gentoo-science] Problems emerging blas-atlas by Alan Jackson
1 On Sun, 5 Feb 2006, Alan Jackson wrote:
2
3 > I'm having problems emerging blas-atlas-3.6.0-r1 on my AMD64 X2 system.
4 > The configure drops into an infinite loop :
5 >
6 > I am now going to ask for two C compilers, and their associated flags.
7 > The first such set (CC & CCFLAGS) are used in compiling the non-generated
8 > ATLAS code. This code is written in normal C, and responds well to high
9 > levels of optimization. Typically, this is set to your default compiler,
10 > and your highest levels of optimization.
11 >
12 > The second set of C compilers (MCC & MMFLAGS) is used to compile the generated
13 > ATLAS code. Generated codes are written at a very low-level (think of C used
14 > as a kind of portable assembler). On many platforms, high levels of
15 > optimization are detrimental, as the compiler tries to pipeline a perfectly
16 > pipelined code, and succeeds in reducing performance substantially (this
17 > occurs on DEC ALPHAs & Sun UltraSparcs, for instance). If the default does
18 > not work for you, try a midrange optimization such as -O. The generated code
19 > does not alias any output arguments, so aliasing optimizations should be OK.
20 >
21 > Enter ANSI C compiler(CC) [/usr/bin/gcc]: Enter C Flags (CCFLAGS) [-fomit-frame-pointer -O -mfpmath=387 -m64]: Compiling with = '/usr/bin/gcc -fomit-frame-pointer -O -mfpmath=387 -m64' doesn't seem to work for me.
22 > Enter 1 to try different CC/flags, 0 to continue anyway [1]:
23 >
24 > I've turned in a bugzilla ticket - but I thought someone here might have
25 > a suggestion for my platform. Is there a compiler flag I should set that
26 > would make it happy? Mine are pretty simple : CFLAGS="-O2 -march=athlon-xp"
27 > This is a brand new system, so all the ebuilds from the kernel up are completely
28 > current.
29 >
30
31 Version 3.6.0 doesn't support AMD64 chips. You need to install the 3.7.11
32 devel version, it is portage but masked. If you are looking for a high
33 performance Lapack/BLAS for AMD64 you can also try the ACML library
34 (http://developer.amd.com/acml.aspx).
35
36 Cheers,
37 Jason
38 --
39 gentoo-science@g.o mailing list

Replies

Subject Author
Re: [gentoo-science] Problems emerging blas-atlas Alan Jackson <ajackson@×××××.net>