[Numpy-discussion] compiling ATLAS for numpy

Hanno Klemm klemm at phys.ethz.ch
Thu Sep 28 05:47:55 CDT 2006


the scipy compiler flags under 


work well. However, if you happen to have to use gcc 3.2.3 (e.g. often
in Redhat Enterprise editions present), you have to turn off
optimization, otherwise lapack doesn't build properly.

The correct build flags are then 
OPTS     = -m64 -fPIC
(at least that's what worked for me)


Emanuele Olivetti <olivetti at itc.it> said:

> Ops, sorry for the misleding subject: I wrote ATLAS but I meant
> Emanuele Olivetti wrote:
> > Hi,
> > I'm installing numpy on a 2 cpus intel pentium 4 Linux box. I'm
installing BLAS and
> > LAPACK from sources too and I need to tune compiler flags. Here is
the question: which
> > are the proper flags for compiling LAPACK? Inside lapack.tgz
make.inc.LINUX says:
> >             OPTS     = -funroll-all-loops -fno-f2c -O3
> > instead on scipy.org[0] it's suggested:
> >             OPTS = -O2
> ...
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
share your
> opinions on IT & business topics through brief surveys -- and earn cash
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Hanno Klemm
klemm at phys.ethz.ch

More information about the Numpy-discussion mailing list