Emanuele, 

the scipy compiler flags under 

http://www.scipy.org/Installing_SciPy/BuildingGeneral

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)

Regards,
Hanno

Emanuele Olivetti <[EMAIL PROTECTED]> said:

> Ops, sorry for the misleding subject: I wrote ATLAS but I meant
LAPACK :)
> 
> 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
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
> 



-- 
Hanno Klemm
[EMAIL PROTECTED]



-------------------------------------------------------------------------
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
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to