[SciPy-user] install problems
Darren Dale
dd55 at cornell.edu
Tue May 3 14:17:13 EDT 2005
On Monday 02 May 2005 8:42 pm, you wrote:
>
> Thanks, that blocked setup.py from getting the wrong libs but nothing I
> do seems to get scipy installed.
>
> I had to modify site.cfg:
> [DEFAULT]
> library_dirs = /ul/zollars/lib
> include_dirs = /ul/zollars/include
> because setup continued to find the bad libs when the default system lib
> directories were listed. Will this be a problem?
>
> [atlas]
> library_dirs = /ul/zollars/opt/ATLAS/lib/Linux_g77_32
> atlas_libs = lapack_g77_32, f77blas_g77_32, cblas_g77_32,atlas_g77_32
> I am getting this with setup.py install:
>
> gcc -pthread -shared
> build/temp.linux-ppc64-2.4/build/src/atlas_version_-0x74e85a32.o
> -L/ul/zollars/opt/ATLAS/lib/Linux_g77_32 -latlas_g77_32 -o
> build/temp.linux-ppc64-2.4/atlas_version.so
> FOUND:
> libraries = ['lapack_g77_32', 'f77blas_g77_32', 'cblas_g77_32',
> 'atlas_g77_32']
> library_dirs = ['/ul/zollars/opt/ATLAS/lib/Linux_g77_32']
> language = c
> define_macros = [('ATLAS_INFO', '"\\"3.4.2\\""')]
>
> lapack_opt_info:
> atlas_threads_info:
> scipy_distutils.system_info.atlas_threads_info
> scipy_core/scipy_distutils/system_info.py:598: UserWarning:
> *********************************************************************
> Could not find lapack library within the ATLAS installation.
> *********************************************************************
>
> I built the full lapack library according to the instructions with
> ATLAS. What else can I check?
>
> I have also tried setting the $BLAS and $LAPACK variables which do lead
> to a successful scipy install, but then fails the
> t=scipy.test(level=1). In this case the errors indicate problems with
> the scipy.linalg module, further suggesting problems with LAPACK. But I
> don't know what else to check.
>
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
--
Darren S. Dale
Bard Hall
Department of Materials Science and Engineering
Cornell University
Ithaca, NY. 14850
dd55 at cornell.edu
More information about the SciPy-User
mailing list