[SciPy-dev] [matplotlib-devel] Preliminary patch for the (new) scipy

Darren Dale dd55 at cornell.edu
Sun Nov 20 18:22:39 CST 2005

On Sunday 20 November 2005 6:57 pm, Darren Dale wrote:
> On Sunday 20 November 2005 5:47 pm, Robert Kern wrote:
> > Darren Dale wrote:
> > > Will scipy_core ever include something like Numeric's lapack_lite?
> >
> > scipy_core does not depend on ATLAS. It already has lapack_lite.
> >
> > [svk-projects]$ ls scipy_core/scipy/corelib/lapack_lite
> > blas_lite.c         dlapack_lite.c      f2c_lite.c         
> > zlapack_lite.c dlamch.c            f2c.h              
> > lapack_litemodule.c

Sorry, I've obviously overlooked something, but maybe I have also discovered a 
bug. I've just removed atlas/blas/lapack, updated scipy_core from svn, 
removed my build and site-packages/scipy directories, and tried to build 
scipy_core. Here is a warning message I get toward the end of the build and 
install processes:

building 'scipy.lib._dotblas' extension
compiling C sources
i686-pc-linux-gnu-gcc options: '-pthread -fno-strict-aliasing -DNDEBUG -fPIC'
creating build/temp.linux-i686-2.4/scipy/corelib
creating build/temp.linux-i686-2.4/scipy/corelib/blasdot
compile options: '-DNO_ATLAS_INFO=1 -Iscipy/corelib/blasdot 
-Iscipy/base/include -Ibuild/src/scipy/base -Iscipy/base/src 
-I/usr/include/python2.4 -c'
i686-pc-linux-gnu-gcc: scipy/corelib/blasdot/_dotblas.c
/usr/bin/g77 -shared 
build/temp.linux-i686-2.4/scipy/corelib/blasdot/_dotblas.o -L/usr/lib -lblas 
-lg2c -o build/lib.linux-i686-2.4/scipy/lib/_dotblas.so
cannot find -lblas
collect2: ld returned 1 exit status
cannot find -lblas
collect2: ld returned 1 exit status
error: Command "/usr/bin/g77 -shared 
build/temp.linux-i686-2.4/scipy/corelib/blasdot/_dotblas.o -L/usr/lib -lblas 
-lg2c -o build/lib.linux-i686-2.4/scipy/lib/_dotblas.so" failed with exit 
status 1

and here I try to import scipy:

In [1]: from scipy import *
exceptions.ImportError                               Traceback (most recent 
call last)


ImportError: No module named scipy


More information about the Scipy-dev mailing list