Hi Error message I got when needed to run this. Please assist! [rjauch@giswk002 pwm_scanner]$ python pwm_scanner.py Traceback (most recent call last): File "pwm_scanner.py", line 36, in <module> from glbase import * File "/home/rjauch/glbase/__init__.py", line 57, in <module> from glglob import glglob File "/home/rjauch/glbase/glglob.py", line 27, in <module> from scipy.stats import spearmanr, pearsonr File "/usr/local/Python-2.6.2/lib/python2.6/site-packages/scipy/stats/__init__.py", line 7, in <module> from stats import * File "/usr/local/Python-2.6.2/lib/python2.6/site-packages/scipy/stats/stats.py", line 199, in <module> import scipy.linalg as linalg File "/usr/local/Python-2.6.2/lib/python2.6/site-packages/scipy/linalg/__init__.py", line 8, in <module> from basic import * File "/usr/local/Python-2.6.2/lib/python2.6/site-packages/scipy/linalg/basic.py", line 389, in <module> import decomp File "/usr/local/Python-2.6.2/lib/python2.6/site-packages/scipy/linalg/decomp.py", line 23, in <module> from blas import get_blas_funcs File "/usr/local/Python-2.6.2/lib/python2.6/site-packages/scipy/linalg/blas.py", line 14, in <module> from scipy.linalg import fblas ImportError: /usr/local/Python-2.6.2/lib/python2.6/site-packages/scipy/linalg/fblas.so: undefined symbol: srotmg_ Can I safely ignore this? Messages shown when running python setup.py build for scipy. customize UnixCCompiler customize UnixCCompiler using build_clib customize GnuFCompiler Found executable /usr/bin/g77 gnu: no Fortran 90 compiler found gnu: no Fortran 90 compiler found customize GnuFCompiler gnu: no Fortran 90 compiler found gnu: no Fortran 90 compiler found customize GnuFCompiler using build_clib running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext extending extension 'scipy.sparse.linalg.dsolve._zsuperlu' defined_macros with [('USE_VENDOR_BLAS', 1)] extending extension 'scipy.sparse.linalg.dsolve._dsuperlu' defined_macros with [('USE_VENDOR_BLAS', 1)] extending extension 'scipy.sparse.linalg.dsolve._csuperlu' defined_macros with [('USE_VENDOR_BLAS', 1)] extending extension 'scipy.sparse.linalg.dsolve._ssuperlu' defined_macros with [('USE_VENDOR_BLAS', 1)] customize UnixCCompiler customize UnixCCompiler using build_ext customize GnuFCompiler gnu: no Fortran 90 compiler found gnu: no Fortran 90 compiler found customize GnuFCompiler gnu: no Fortran 90 compiler found gnu: no Fortran 90 compiler found customize GnuFCompiler using build_ext running scons [root@giswk002 scipy-0.7.2]# SYSTEM PYTHON INFO [root@giswk002 local]# python -c 'from numpy.f2py.diagnose import run; run()' ------ os.name='posix' ------ sys.platform='linux2' ------ sys.version: 2.6.2 (r262:71600, Jul 15 2009, 19:48:50) [GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] ------ sys.prefix: /usr/local/Python-2.6.2 ------ sys.path=':/usr/local/Python-2.6.2/lib/python2.6/site-packages:/usr/local:/usr/local/Python-2.6.2/lib/python26.zip:/usr/local/Python-2.6.2/lib/python2.6:/usr/local/Python-2.6.2/lib/python2.6/plat-linux2:/usr/local/Python-2.6.2/lib/python2.6/lib-tk:/usr/local/Python-2.6.2/lib/python2.6/lib-old:/usr/local/Python-2.6.2/lib/python2.6/lib-dynload:/root/.local/lib/python2.6/site-packages' ------ Failed to import Numeric: No module named Numeric Failed to import numarray: No module named numarray Found new numpy version '1.3.0' in /usr/local/Python-2.6.2/lib/python2.6/site-packages/numpy/__init__.pyc Found f2py2e version '2' in /usr/local/Python-2.6.2/lib/python2.6/site-packages/numpy/f2py/f2py2e.pyc Found numpy.distutils version '0.4.0' in '/usr/local/Python-2.6.2/lib/python2.6/site-packages/numpy/distutils/__init__.pyc' ------ Importing numpy.distutils.fcompiler ... ok ------ Checking availability of supported Fortran compilers: GnuFCompiler instance properties: archiver = ['/usr/bin/g77', '-cr'] compile_switch = '-c' compiler_f77 = ['/usr/bin/g77', '-g', '-Wall', '-fno-second- underscore', '-fPIC', '-O3', '-funroll-loops'] compiler_f90 = None compiler_fix = None libraries = ['g2c'] library_dirs = [] linker_exe = ['/usr/bin/g77', '-g', '-Wall', '-g', '-Wall'] linker_so = ['/usr/bin/g77', '-g', '-Wall', '-g', '-Wall', '- shared'] object_switch = '-o ' ranlib = ['/usr/bin/g77'] version = LooseVersion ('3.4.3') version_cmd = ['/usr/bin/g77', '--version'] Gnu95FCompiler instance properties: archiver = ['/usr/bin/gfortran', '-cr'] compile_switch = '-c' compiler_f77 = ['/usr/bin/gfortran', '-Wall', '-ffixed-form', '-fno- second-underscore', '-fPIC', '-O3', '-funroll-loops'] compiler_f90 = ['/usr/bin/gfortran', '-Wall', '-fno-second-underscore', '-fPIC', '-O3', '-funroll-loops'] compiler_fix = ['/usr/bin/gfortran', '-Wall', '-ffixed-form', '-fno- second-underscore', '-Wall', '-fno-second-underscore', '- fPIC', '-O3', '-funroll-loops'] libraries = ['gfortran'] library_dirs = [] linker_exe = ['/usr/bin/gfortran', '-Wall', '-Wall'] linker_so = ['/usr/bin/gfortran', '-Wall', '-Wall', '-shared'] object_switch = '-o ' ranlib = ['/usr/bin/gfortran'] version = LooseVersion ('4.0.0') version_cmd = ['/usr/bin/gfortran', '--version'] Fortran compilers found: --fcompiler=gnu GNU Fortran 77 compiler (3.4.3) --fcompiler=gnu95 GNU Fortran 95 compiler (4.0.0) Compilers available for this platform, but not found: --fcompiler=absoft Absoft Corp Fortran Compiler --fcompiler=compaq Compaq Fortran Compiler --fcompiler=g95 G95 Fortran Compiler --fcompiler=intel Intel Fortran Compiler for 32-bit apps --fcompiler=intele Intel Fortran Compiler for Itanium apps --fcompiler=intelem Intel Fortran Compiler for EM64T-based apps --fcompiler=lahey Lahey/Fujitsu Fortran 95 Compiler --fcompiler=nag NAGWare Fortran 95 Compiler --fcompiler=pg Portland Group Fortran Compiler --fcompiler=vast Pacific-Sierra Research Fortran 90 Compiler Compilers not available on this platform: --fcompiler=hpux HP Fortran 90 Compiler --fcompiler=ibm IBM XL Fortran Compiler --fcompiler=intelev Intel Visual Fortran Compiler for Itanium apps --fcompiler=intelv Intel Visual Fortran Compiler for 32-bit apps --fcompiler=mips MIPSpro Fortran Compiler --fcompiler=none Fake Fortran compiler --fcompiler=sun Sun or Forte Fortran 95 Compiler For compiler details, run 'config_fc --verbose' setup command. ------ Importing numpy.distutils.cpuinfo ... ok ------ CPU information: CPUInfoBase__get_nbits getNCPUs has_mmx has_sse has_sse2 has_sse3 is_32bit is_Intel is_Nocona is_XEON is_Xeon is_singleCPU ------ [root@giswk002 local]# Thanks a lot in advance!!! Regards, Padma
On 2010-05-26, at 12:07 AM, Padma TAN wrote:
Hi
Error message I got when needed to run this. Please assist!
Please send the output of numpy.show_config() and also tell us what OS and distribution (e.g. Ubuntu) this is from. It looks like you have a misconfigured BLAS. David
participants (2)
-
David Warde-Farley -
Padma TAN