[Numpy-discussion] Help installing numpy 1.0.2 on LINUX

John Pruce 1960_j@operamail....
Sun Jun 24 11:58:33 CDT 2007


I am trying to install nunpy 1.0.2 on aMandrake Linux system kernel 2.6.17mdk.
I have followed the Install instructions in numpy.

I am including a small portion of the python setup.py install command:

Running from numpy source directory.
F2PY Version 2_3649
blas_opt_info:
blas_mkl_info:
   libraries mkl,vml,guide not found in /usr/local/lib/atlas
   NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
   libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib/atlas
   NOT AVAILABLE

atlas_blas_info:
   FOUND:
     libraries = ['f77blas', 'cblas', 'atlas']
     library_dirs = ['/usr/local/lib/atlas']
     language = c

Could not locate executable g77
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 -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC

compile options: '-c'
gcc: _configtest.c
gcc -pthread _configtest.o -L/usr/local/lib/atlas -lf77blas -lcblas 
-latlas -o _configtest
ATLAS version 3.6.0 built by root on Fri Jun 15 18:59:04 EDT 2007:
    UNAME    : Linux localhost 2.6.17-5mdv #1 SMP Wed Sep 13 14:32:31 
EDT 2006 i686 Celeron (Mendocino) GNU/Linux
    INSTFLG  :
    MMDEF    :
    ARCHDEF  :
    F2CDEFS  : -DAdd__ -DStringSunStyle
    CACHEEDGE: 131072
    F77      : /usr/local//gcc2.95.3/bin/g77, version GNU Fortran 
0.5.25 20010315 (release)
    F77FLAGS : -fomit-frame-pointer -O
    CC       : /usr/local/gcc2.95.3/bin/gcc, version 2.95.3
    CC FLAGS : -fomit-frame-pointer -O3 -funroll-all-loops
    MCC      : /usr/local/gcc2.95.3/bin/gcc, version 2.95.3
    MCCFLAGS : -fomit-frame-pointer -O
success!
removing: _configtest.c _configtest.o _configtest
   FOUND:
     libraries = ['f77blas', 'cblas', '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 /usr/local/lib/atlas
   NOT AVAILABLE

   NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
   libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib/atlas
   libraries lapack_atlas not found in /usr/local/lib/atlas
numpy.distutils.system_info.atlas_threads_info
   NOT AVAILABLE

atlas_info:
   libraries lapack_atlas not found in /usr/local/lib/atlas
numpy.distutils.system_info.atlas_info
   FOUND:
     libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
     library_dirs = ['/usr/local/lib/atlas']
     language = f77

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 -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC

compile options: '-c'
gcc: _configtest.c
gcc -pthread _configtest.o -L/usr/local/lib/atlas -llapack -lf77blas 
-lcblas -latlas -o _configtest
ATLAS version 3.6.0 built by root on Fri Jun 15 18:59:04 EDT 2007:
    UNAME    : Linux localhost 2.6.17-5mdv #1 SMP Wed Sep 13 14:32:31 
EDT 2006 i686 Celeron (Mendocino) GNU/Linux
    INSTFLG  :
    MMDEF    :
    ARCHDEF  :
    F2CDEFS  : -DAdd__ -DStringSunStyle
    CACHEEDGE: 131072
    F77      : /usr/local//gcc2.95.3/bin/g77, version GNU Fortran 
0.5.25 20010315 (release)
    F77FLAGS : -fomit-frame-pointer -O
    CC       : /usr/local/gcc2.95.3/bin/gcc, version 2.95.3
    CC FLAGS : -fomit-frame-pointer -O3 -funroll-all-loops
    MCC      : /usr/local/gcc2.95.3/bin/gcc, version 2.95.3
    MCCFLAGS : -fomit-frame-pointer -O
success!
removing: _configtest.c _configtest.o _configtest
   FOUND:
     libraries = ['lapack', 'f77blas', 'cblas', 'atlas']
     library_dirs = ['/usr/local/lib/atlas']
     language = f77
     define_macros = [('ATLAS_INFO', '"\\"3.6.0\\""')]

running install
running build
running config_fc
running build_src
building py_modules sources
creating build/src.linux-i686-2.5
creating build/src.linux-i686-2.5/numpy
creating build/src.linux-i686-2.5/numpy/distutils
building extension "numpy.core.multiarray" sources
creating build/src.linux-i686-2.5/numpy/core
Generating build/src.linux-i686-2.5/numpy/core/config.h
customize GnuFCompiler
customize GnuFCompiler
customize GnuFCompiler using config
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -fPIC

When I try to run numpy.test(level=1) I get:

>>> import numpy
>>> numpy.test(level=1)
Traceback (most recent call last)
   File "<stdln>". line 1, in  <module>
AttributeError: 'module' has no attribute 'test'
>>>

Thank you for your help or suggestions.

John



-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Powered by Outblaze


More information about the Numpy-discussion mailing list