[SciPy-user] install problems

Eric Zollars zollars at caltech.edu
Tue May 3 14:43:21 EDT 2005


> It looks like there is a problem with some of your libraries. Are you sure you 
> built the full libraries, and successfully? Just for kicks, how big are they? 
> I havent tried building Scipy against 3.4.2, can you upgrade?
> 
> $ ls -lh /usr/lib/lapack/atlas/
> total 9.6M
> -rw-r--r--  1 root root 5.5M Apr 11 15:31 liblapack.a
> -rwxr-xr-x  1 root root  855 Apr 11 15:31 liblapack.la
> lrwxrwxrwx  1 root root   18 Apr 11 15:31 liblapack.so -> liblapack.so.0.0.0
> lrwxrwxrwx  1 root root   18 Apr 11 15:31 liblapack.so.0 -> liblapack.so.0.0.0
> -rwxr-xr-x  1 root root 4.1M Apr 11 15:31 liblapack.so.0.0.0
> 
> $ ls -lh /usr/lib/blas/atlas/
> total 944K
> -rw-r--r--  1 root root 356K Apr 11 15:17 libblas.a
> -rwxr-xr-x  1 root root  824 Apr 11 15:17 libblas.la
> lrwxrwxrwx  1 root root   16 Apr 11 15:17 libblas.so -> libblas.so.0.0.0
> lrwxrwxrwx  1 root root   16 Apr 11 15:17 libblas.so.0 -> libblas.so.0.0.0
> -rwxr-xr-x  1 root root 139K Apr 11 15:17 libblas.so.0.0.0
> -rw-r--r--  1 root root 299K Apr 11 15:17 libcblas.a
> -rwxr-xr-x  1 root root  825 Apr 11 15:17 libcblas.la
> lrwxrwxrwx  1 root root   17 Apr 11 15:17 libcblas.so -> libcblas.so.0.0.0
> lrwxrwxrwx  1 root root   17 Apr 11 15:17 libcblas.so.0 -> libcblas.so.0.0.0
> -rwxr-xr-x  1 root root 138K Apr 11 15:17 libcblas.so.0.0.0

Thank you for your continued help Darren.
ls -lh
-rw-r--r--  1 zollars mayo 8.0M May  2 15:41 libatlas_g77_32.a
-rw-r--r--  1 zollars mayo 282K May  2 15:41 libcblas_g77_32.a
-rw-r--r--  1 zollars mayo 334K May  2 15:41 libf77blas_g77_32.a
-rw-r--r--  1 zollars mayo 6.6M May  2 15:41 liblapack_g77_32.a
-rw-r--r--  1 zollars mayo 319K May  2 15:41 libtstatlas_g77_32.a

As you can see the lapack library has been supplemented with the full
lapack set of routines.  I agree I think the problem is here.  I need to
confirm that I am doing everything correct with g77/gcc
interoperability.

In my ATLAS Makefile I have:
F2CDEFS = -DAdd__ -DStringSunStyle
The only libraries linked in are:
LIBS = -lm (i.e. no g2c,f2c,etc.)

The LAPACK makefile does not have any of these options.  My suspicion is
that -DAdd__ may have something to do with the problem.

In the meantime I have built scipy with BLAS_SRC and LAPACK_SRC.
Also, I am sticking with ATLAS 3.4.2 for now because 3.6 requires
gcc-3.3 and I haven't been motivated to attempt a local build of gcc.

Thanks again.
Eric





More information about the SciPy-User mailing list