[SciPy-dev] Building newscipy against non-atlas blas/lapack libraries

Pearu Peterson pearu at scipy.org
Sat Nov 5 13:04:10 CST 2005


Hi,

When building newscipy against non-atlas blas/lapack libraries it is 
crusial that you build blas/lapack libraries properly. See the relevant 
sections in

   http://www.scipy.org/documentation/buildnewscipy.txt
   http://www.scipy.org/documentation/buildatlas4scipy.txt

When using the GNU compiler, it is important that the lapack library is 
compiled with optimisaton flag

   -O2

instead of

   -fno-f2c -O3

that is default OPTS in INSTALL/make.inc.LINUX.

If you do not fix OPTS  variable in make.inc, scipy tests will fail as has 
been reported in the list. And if you use system lapack libraries that 
are compiled with  `-fno-f2c -O3`, the tests will also fail.

So, please build lapack library with proper optimisation flags when using 
it in scipy.

Pearu




More information about the Scipy-dev mailing list