[Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed
Gong, Shawn (Contractor)
Shawn.Gong at drdc-rddc.gc.ca
Tue May 22 13:00:59 EDT 2007
Robert,
1) this is the first a few lines of the out.txt when I type
"python setup.py install >out.txt" :
(I'm not sure if "libraries mkl,vml,guide not found" means trouble or
not)
--------------------------------
F2PY Version 2_3473
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in /home/sgong/dev/dist/lib
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in
/home/sgong/dev/dist/lib
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
FOUND:
libraries = ['ptf77blas', 'ptcblas', 'atlas']
library_dirs = ['/usr/local/lib/atlas']
language = c
Could not locate executable gfortran
Could not locate executable f95
customize GnuFCompiler
customize GnuFCompiler
customize GnuFCompiler using config
compiling '_configtest.c':
/* This file is generated from numpy_distutils/system_info.py */
void ATL_buildinfo(void);
int main(void) {
ATL_buildinfo();
return 0;
}
C compiler: gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC
compile options: '-c'
gcc: _configtest.c
gcc _configtest.o -L/usr/local/lib/atlas -lptf77blas -lptcblas -latlas
-o _configtest
ATLAS version 3.6.0 built by root on Mon May 14 15:46:37 EDT 2007:
UNAME : Linux srv25662-rde.ottawa.drdc-rddc.gc.ca
2.4.21-37.0.1.ELsmp #1 SMP Wed Jan 11 18:44:17 EST 2006 i686 i686 i386
GNU/Linux
INSTFLG :
MMDEF : /usr/local/src/ATLAS/CONFIG/ARCHS/P4SSE2/gcc/gemm
ARCHDEF : /usr/local/src/ATLAS/CONFIG/ARCHS/P4SSE2/gcc/misc
F2CDEFS : -DAdd__ -DStringSunStyle
CACHEEDGE: 1048576
F77 : /usr/bin/g77, version GNU Fortran (GCC 3.2.3 20030502 (Red
Hat Linux 3.2.3-53)) 3.2.3 20030502 (Red Hat Linux 3.2.3-53)
F77FLAGS : -fomit-frame-pointer -O
CC : /usr/bin/gcc, version gcc (GCC) 3.2.3 20030502 (Red Hat
Linux 3.2.3-53)
CC FLAGS : -fomit-frame-pointer -O3 -funroll-all-loops
MCC : /usr/bin/gcc, version gcc (GCC) 3.2.3 20030502 (Red Hat
Linux 3.2.3-53)
MCCFLAGS : -fomit-frame-pointer -O
success!
removing: _configtest.c _configtest.o _configtest
FOUND:
libraries = ['ptf77blas', 'ptcblas', 'atlas']
library_dirs = ['/usr/local/lib/atlas']
language = c
define_macros = [('ATLAS_INFO', '"\\"3.6.0\\""')]
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in /home/sgong/dev/dist/lib
libraries mkl,vml,guide not found in /usr/local/lib
libraries mkl,vml,guide not found in /usr/lib
NOT AVAILABLE
NOT AVAILABLE
--------------------
2) Then in Python, when I type "import numpy"
It says: Running from numpy source directory
Then I type "numpy.sqrt(5)"
AttributeError: 'module' object has no attribute 'sqrt'
I assume that this means numpy was not installed successfully.
Thanks
Shawn
-----Original Message-----
From: numpy-discussion-bounces at scipy.org
[mailto:numpy-discussion-bounces at scipy.org] On Behalf Of Robert Kern
Sent: Tuesday, May 22, 2007 12:50 PM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed
Gong, Shawn (Contractor) wrote:
> Hi Robert,
>
> I used exactly your text in site.cfg. The out.txt seems to get the
> lib_dir, but "import numpy" in python stills gives error.
*What* error? Please copy-and-paste the complete error message.
> Please see the attached files.
> Should I ask system guys to move the libs to /usr/lib so I don't have
to
> fight with site.cfg ?
Not until you tell us what the error message is.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma
that is made terrible by our own mad attempt to interpret it as though
it had
an underlying truth."
-- Umberto Eco
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
More information about the NumPy-Discussion
mailing list