On Wed, Aug 13, 2014 at 12:47 AM, Sturla Molden
Robert Kern
wrote: BLAS/LAPACK are heavy dependencies that often give problems, which is why you don't want to require them for the casual user that only needs numpy arrays to make some plots for examples.
Maybe we are not talking about the same thing, but isn't blas_lite.c and lapack_lite.c more or less f2c'd versions of reference BLAS and reference LAPACK?
Not all of them, no. Just the routines that numpy itself uses. Hence, "lite".
I thought it got the 'lite' name because Netlib up to LAPACK 3.1.1 had packages named 'lapack-lite-3.1.1.tgz' in addition to 'lapack-3.1.1.tgz'. (I am not sure what the differences between the packages were.)
No. https://github.com/numpy/numpy/blob/master/numpy/linalg/lapack_lite/README
The lapack_lite.c file looks rather complete, but it seems the build process somehow extracts only parts of it.
I assume you mean dlapack_lite.c? It is incomplete. It is the end product of taking the full LAPACK 3.0 distribution, stripping out the routines that are not used in numpy, and f2cing the subset. Go ahead and look for the routines in LAPACK 3.0 systematically, and you will find many of them missing. -- Robert Kern