RE: [Numpy-discussion] Problems with installation of version 23.3
The problem is indicated in the following line: Packages/dotblas/dotblas/_dotblas.c:7:19: cblas.h: No such file or directory I have this file (cblas.h) as a part of ATLAS installation Nadav -----Original Message----- From: Nils Wagner [mailto:nwagner@mecha.uni-stuttgart.de] Sent: Mon 27-Sep-04 10:46 To: numpy-discussion@lists.sourceforge.net Cc: Subject: [Numpy-discussion] Problems with installation of version 23.3 Hi all. I tried to install Numeric-23.3, but it failed. Here is the output python2.3 setup.py install running install running build running build_py running build_ext building 'lapack_lite' extension gcc -pthread -shared build/temp.linux-i686-2.3/Src/lapack_litemodule.o -L/usr/local/lib/atlas -llapack -lcblas -lf77blas -latlas -lg2c -o build/lib.linux-i686-2.3/lapack_lite.so building 'FFT.fftpack' extension creating build/temp.linux-i686-2.3/Packages creating build/temp.linux-i686-2.3/Packages/FFT creating build/temp.linux-i686-2.3/Packages/FFT/Src gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -I/usr/include/atlas -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/usr/include/python2.3 -c Packages/FFT/Src/fftpack.c -o build/temp.linux-i686-2.3/Packages/FFT/Src/fftpack.o gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -I/usr/include/atlas -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/usr/include/python2.3 -c Packages/FFT/Src/fftpackmodule.c -o build/temp.linux-i686-2.3/Packages/FFT/Src/fftpackmodule.o gcc -pthread -shared build/temp.linux-i686-2.3/Packages/FFT/Src/fftpackmodule.o build/temp.linux-i686-2.3/Packages/FFT/Src/fftpack.o -o build/lib.linux-i686-2.3/FFT/fftpack.so building 'RNG.RNG' extension creating build/temp.linux-i686-2.3/Packages/RNG creating build/temp.linux-i686-2.3/Packages/RNG/Src gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -I/usr/include/atlas -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/usr/include/python2.3 -c Packages/RNG/Src/pmath_rng.c -o build/temp.linux-i686-2.3/Packages/RNG/Src/pmath_rng.o gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -I/usr/include/atlas -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/usr/include/python2.3 -c Packages/RNG/Src/ranf.c -o build/temp.linux-i686-2.3/Packages/RNG/Src/ranf.o gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -I/usr/include/atlas -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/usr/include/python2.3 -c Packages/RNG/Src/RNGmodule.c -o build/temp.linux-i686-2.3/Packages/RNG/Src/RNGmodule.o gcc -pthread -shared build/temp.linux-i686-2.3/Packages/RNG/Src/RNGmodule.o build/temp.linux-i686-2.3/Packages/RNG/Src/ranf.o build/temp.linux-i686-2.3/Packages/RNG/Src/pmath_rng.o -o build/lib.linux-i686-2.3/RNG/RNG.so building '_dotblas' extension creating build/temp.linux-i686-2.3/Packages/dotblas creating build/temp.linux-i686-2.3/Packages/dotblas/dotblas gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -I/usr/include/atlas -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/usr/include/python2.3 -c Packages/dotblas/dotblas/_dotblas.c -o build/temp.linux-i686-2.3/Packages/dotblas/dotblas/_dotblas.o Packages/dotblas/dotblas/_dotblas.c:7:19: cblas.h: No such file or directory Packages/dotblas/dotblas/_dotblas.c: In function `FLOAT_dot': Packages/dotblas/dotblas/_dotblas.c:18: warning: implicit declaration of function `cblas_sdot' Packages/dotblas/dotblas/_dotblas.c: In function `DOUBLE_dot': Packages/dotblas/dotblas/_dotblas.c:23: warning: implicit declaration of function `cblas_ddot' Packages/dotblas/dotblas/_dotblas.c: In function `CFLOAT_dot': Packages/dotblas/dotblas/_dotblas.c:28: warning: implicit declaration of function `cblas_cdotu_sub' Packages/dotblas/dotblas/_dotblas.c: In function `CDOUBLE_dot': Packages/dotblas/dotblas/_dotblas.c:34: warning: implicit declaration of function `cblas_zdotu_sub' Packages/dotblas/dotblas/_dotblas.c: In function `dotblas_matrixproduct': Packages/dotblas/dotblas/_dotblas.c:150: warning: implicit declaration of function `cblas_daxpy' Packages/dotblas/dotblas/_dotblas.c:154: warning: implicit declaration of function `cblas_saxpy' Packages/dotblas/dotblas/_dotblas.c:158: warning: implicit declaration of function `cblas_zaxpy' Packages/dotblas/dotblas/_dotblas.c:162: warning: implicit declaration of function `cblas_caxpy' Packages/dotblas/dotblas/_dotblas.c:190: warning: implicit declaration of function `cblas_dgemv' Packages/dotblas/dotblas/_dotblas.c:190: error: `CblasRowMajor' undeclared (first use in this function) Packages/dotblas/dotblas/_dotblas.c:190: error: (Each undeclared identifier is reported only once Packages/dotblas/dotblas/_dotblas.c:190: error: for each function it appears in.) Packages/dotblas/dotblas/_dotblas.c:191: error: `CblasNoTrans' undeclared (first use in this function) Packages/dotblas/dotblas/_dotblas.c:196: warning: implicit declaration of function `cblas_sgemv' Packages/dotblas/dotblas/_dotblas.c:202: warning: implicit declaration of function `cblas_zgemv' Packages/dotblas/dotblas/_dotblas.c:208: warning: implicit declaration of function `cblas_cgemv' Packages/dotblas/dotblas/_dotblas.c:218: error: `CblasTrans' undeclared (first use in this function) Packages/dotblas/dotblas/_dotblas.c:244: warning: implicit declaration of function `cblas_dgemm' Packages/dotblas/dotblas/_dotblas.c:251: warning: implicit declaration of function `cblas_sgemm' Packages/dotblas/dotblas/_dotblas.c:258: warning: implicit declaration of function `cblas_zgemm' Packages/dotblas/dotblas/_dotblas.c:265: warning: implicit declaration of function `cblas_cgemm' Packages/dotblas/dotblas/_dotblas.c: In function `dotblas_innerproduct': Packages/dotblas/dotblas/_dotblas.c:463: error: `CblasRowMajor' undeclared (first use in this function) Packages/dotblas/dotblas/_dotblas.c:464: error: `CblasNoTrans' undeclared (first use in this function) Packages/dotblas/dotblas/_dotblas.c:517: error: `CblasTrans' undeclared (first use in this function) Packages/dotblas/dotblas/_dotblas.c: In function `dotblas_vdot': Packages/dotblas/dotblas/_dotblas.c:652: warning: implicit declaration of function `cblas_zdotc_sub' Packages/dotblas/dotblas/_dotblas.c:656: warning: implicit declaration of function `cblas_cdotc_sub' error: command 'gcc' failed with exit status 1 lisa:/var/tmp/Numeric-23.3 # Any suggestion would be appreicated. Nils locate cblas.h /usr/local/lib/atlas/cblas.h ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
On Mon, 2004-09-27 at 05:06, Nadav Horesh wrote:
I have this file (cblas.h) as a part of ATLAS installation
A quick 'diff' of setup.py from Numeric 23.1 and 23.3 shows that the latter is set up to build against ATLAS by default, while the former is not. In any event, what does 'locate cblas.h' return when executed from a shell prompt on your system? Put the directory containing this file into the include_dirs list of setup.py. On my system, I had to change library_dirs to ['/usr/local/lib/atlas'] and include_dirs to ['/usr/local/include/atlas'] to build 23.3. (I manually copied the contents of ATLAS/include to /usr/local/include/atlas.) -- Stephen Walton <stephen.walton@csun.edu> Dept. of Physics & Astronomy, Cal State Northridge
participants (2)
-
Nadav Horesh
-
Stephen Walton