Hello, since a couple of days I got an error when I try to run "from scipy import *" here is the error message.... " Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.4/site-packages/scipy/linalg/__init__.py", line 8, in ? from basic import * File "/usr/local/lib/python2.4/site-packages/scipy/linalg/basic.py", line 227, in ? import decomp File "/usr/local/lib/python2.4/site-packages/scipy/linalg/decomp.py", line 21, in ? from blas import get_blas_funcs File "/usr/local/lib/python2.4/site-packages/scipy/linalg/blas.py", line 14, in ? from scipy.linalg import fblas ImportError: /usr/local/lib/python2.4/site-packages/scipy/linalg/fblas.so: undefined symbol: srotmg_" does anyone have a clue?! thanks, Chiara _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Chiara Caronna wrote:
Hello, since a couple of days I got an error when I try to run "from scipy import *" here is the error message....
" Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.4/site-packages/scipy/linalg/__init__.py", line 8, in ? from basic import * File "/usr/local/lib/python2.4/site-packages/scipy/linalg/basic.py", line 227, in ? import decomp File "/usr/local/lib/python2.4/site-packages/scipy/linalg/decomp.py", line 21, in ? from blas import get_blas_funcs File "/usr/local/lib/python2.4/site-packages/scipy/linalg/blas.py", line 14, in ? from scipy.linalg import fblas ImportError: /usr/local/lib/python2.4/site-packages/scipy/linalg/fblas.so: undefined symbol: srotmg_"
does anyone have a clue?!
Your scipy was not linked to a BLAS library correctly. What BLAS library were you trying to link against? Where are its files located on your system? Did you use a site.cfg file to configure scipy? Can you show us the output of $ cd ~/src/scipy # or whatever $ python setup.py configure -- 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
From: Robert Kern <robert.kern@gmail.com> Reply-To: SciPy Users List <scipy-user@scipy.org> To: SciPy Users List <scipy-user@scipy.org> Subject: Re: [SciPy-user] error importing scipy Date: Thu, 01 Feb 2007 10:56:14 -0600
Hello, since a couple of days I got an error when I try to run "from scipy import *" here is the error message....
" Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.4/site-packages/scipy/linalg/__init__.py", line 8, in ? from basic import * File "/usr/local/lib/python2.4/site-packages/scipy/linalg/basic.py",
227, in ? import decomp File "/usr/local/lib/python2.4/site-packages/scipy/linalg/decomp.py",
21, in ? from blas import get_blas_funcs File "/usr/local/lib/python2.4/site-packages/scipy/linalg/blas.py",
Chiara Caronna wrote: line line line
14, in ? from scipy.linalg import fblas ImportError: /usr/local/lib/python2.4/site-packages/scipy/linalg/fblas.so: undefined symbol: srotmg_"
does anyone have a clue?!
Your scipy was not linked to a BLAS library correctly. What BLAS library were you trying to link against?
'_' ... I have never tried to do that... at least I am not aware of... Where are its files located on your system? I don't know it, how can I find that out?
Did you use a site.cfg file to configure scipy?
I am not sure I understood the question... I download the file scipy-0.5.2.tar.gz, extracted it and followed the instructions... so I guess the answer is "no, I didn't" Can you show us the output of
$ cd ~/src/scipy # or whatever $ python setup.py configure
I did this: cd /usr/local/lib/python2.4/site-packages/scipy python setup.py configure here is the output: non-existing path in 'cluster': 'src/vq_wrap.cpp' Appending scipy.cluster configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.cluster') mkl_info: libraries mkl,vml,guide not found in /usr/local/lib libraries mkl,vml,guide not found in /usr/lib NOT AVAILABLE fftw3_info: libraries fftw3 not found in /usr/local/lib libraries fftw3 not found in /usr/lib fftw3 not found NOT AVAILABLE fftw2_info: libraries rfftw,fftw not found in /usr/local/lib libraries rfftw,fftw not found in /usr/lib fftw2 not found NOT AVAILABLE dfftw_info: libraries drfftw,dfftw not found in /usr/local/lib libraries drfftw,dfftw not found in /usr/lib dfftw not found NOT AVAILABLE djbfft_info: NOT AVAILABLE could not resolve pattern in 'fftpack': 'dfftpack/*.f' non-existing path in 'fftpack': 'fftpack.pyf' non-existing path in 'fftpack': 'src/zfft.c' non-existing path in 'fftpack': 'src/drfft.c' non-existing path in 'fftpack': 'src/zrfft.c' non-existing path in 'fftpack': 'src/zfftnd.c' non-existing path in 'fftpack': 'convolve.pyf' non-existing path in 'fftpack': 'src/convolve.c' Appending scipy.fftpack configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.fftpack') blas_opt_info: blas_mkl_info: 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 lapack,blas not found in /usr/local/lib Setting PTATLAS=ATLAS Setting PTATLAS=ATLAS FOUND: libraries = ['lapack', 'blas'] library_dirs = ['/usr/lib'] language = c Could not locate executable gfortran Could not locate executable f95 customize GnuFCompiler invalid command 'configure' Could not locate executable ifort Could not locate executable ifc Could not locate executable ifort Could not locate executable efort Could not locate executable efc Could not locate executable ifort Could not locate executable efort Could not locate executable efc customize IntelFCompiler invalid command 'configure' customize LaheyFCompiler invalid command 'configure' customize PGroupFCompiler invalid command 'configure' customize AbsoftFCompiler invalid command 'configure' customize NAGFCompiler invalid command 'configure' customize VastFCompiler invalid command 'configure' customize CompaqFCompiler invalid command 'configure' customize IntelItaniumFCompiler invalid command 'configure' customize IntelEM64TFCompiler invalid command 'configure' customize Gnu95FCompiler invalid command 'configure' customize G95FCompiler invalid command 'configure' customize GnuFCompiler invalid command 'configure' customize Gnu95FCompiler invalid command 'configure' customize GnuFCompiler customize GnuFCompiler using config FOUND: libraries = ['lapack', 'blas'] library_dirs = ['/usr/lib'] language = c define_macros = [('ATLAS_INFO', '"\\"?.?.?\\""')] could not resolve pattern in 'integrate': 'linpack_lite/*.f' could not resolve pattern in 'integrate': 'mach/*.f' could not resolve pattern in 'integrate': 'quadpack/*.f' could not resolve pattern in 'integrate': 'odepack/*.f' non-existing path in 'integrate': '_quadpackmodule.c' non-existing path in 'integrate': '_odepackmodule.c' non-existing path in 'integrate': 'vode.pyf' Appending scipy.integrate configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.integrate') could not resolve pattern in 'interpolate': 'fitpack/*.f' non-existing path in 'interpolate': '_fitpackmodule.c' non-existing path in 'interpolate': 'fitpack.pyf' Appending scipy.interpolate configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.interpolate') non-existing path in 'io': 'numpyiomodule.c' Appending scipy.io configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.io') ATLAS version ?.?.? non-existing path in 'lib/blas': 'fblas.pyf.src' non-existing path in 'lib/blas': 'fblaswrap.f.src' could not resolve pattern in 'lib/blas': 'fblas_l?.pyf.src' non-existing path in 'lib/blas': 'cblas.pyf.src' could not resolve pattern in 'lib/blas': 'cblas_l?.pyf.src' Appending scipy.lib.blas configuration to scipy.lib Ignoring attempt to set 'name' (from 'scipy.lib' to 'scipy.lib.blas') lapack_opt_info: lapack_mkl_info: NOT AVAILABLE atlas_threads_info: Setting PTATLAS=ATLAS libraries lapack,blas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/lib numpy.distutils.system_info.atlas_threads_info Setting PTATLAS=ATLAS Setting PTATLAS=ATLAS FOUND: libraries = ['lapack', 'lapack', 'blas'] library_dirs = ['/usr/lib'] language = f77 customize GnuFCompiler invalid command 'configure' customize IntelFCompiler invalid command 'configure' customize LaheyFCompiler invalid command 'configure' customize PGroupFCompiler invalid command 'configure' customize AbsoftFCompiler invalid command 'configure' customize NAGFCompiler invalid command 'configure' customize VastFCompiler invalid command 'configure' customize CompaqFCompiler invalid command 'configure' customize IntelItaniumFCompiler invalid command 'configure' customize IntelEM64TFCompiler invalid command 'configure' customize Gnu95FCompiler invalid command 'configure' customize G95FCompiler invalid command 'configure' customize GnuFCompiler invalid command 'configure' customize Gnu95FCompiler invalid command 'configure' customize GnuFCompiler customize GnuFCompiler using config FOUND: libraries = ['lapack', 'lapack', 'blas'] library_dirs = ['/usr/lib'] language = f77 define_macros = [('ATLAS_INFO', '"\\"?.?.?\\""')] ATLAS version ?.?.? non-existing path in 'lib/lapack': 'flapack.pyf.src' could not resolve pattern in 'lib/lapack': 'flapack_*.pyf.src' non-existing path in 'lib/lapack': 'clapack.pyf.src' non-existing path in 'lib/lapack': 'calc_lwork.f' non-existing path in 'lib/lapack': 'atlas_version.c' Appending scipy.lib.lapack configuration to scipy.lib Ignoring attempt to set 'name' (from 'scipy.lib' to 'scipy.lib.lapack') Appending scipy.lib configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.lib') ATLAS version ?.?.? non-existing path in 'linalg': 'src/fblaswrap.f' non-existing path in 'linalg': 'generic_fblas.pyf' non-existing path in 'linalg': 'generic_fblas1.pyf' non-existing path in 'linalg': 'generic_fblas2.pyf' non-existing path in 'linalg': 'generic_fblas3.pyf' non-existing path in 'linalg': 'generic_cblas.pyf' non-existing path in 'linalg': 'generic_cblas1.pyf' non-existing path in 'linalg': 'generic_flapack.pyf' non-existing path in 'linalg': 'flapack_user_routines.pyf' non-existing path in 'linalg': 'generic_clapack.pyf' non-existing path in 'linalg': 'src/det.f' non-existing path in 'linalg': 'src/lu.f' non-existing path in 'linalg': 'src/calc_lwork.f' non-existing path in 'linalg': 'atlas_version.c' non-existing path in 'linalg': 'iterative/STOPTEST2.f.src' non-existing path in 'linalg': 'iterative/getbreak.f.src' non-existing path in 'linalg': 'iterative/BiCGREVCOM.f.src' non-existing path in 'linalg': 'iterative/BiCGSTABREVCOM.f.src' non-existing path in 'linalg': 'iterative/CGREVCOM.f.src' non-existing path in 'linalg': 'iterative/CGSREVCOM.f.src' non-existing path in 'linalg': 'iterative/GMRESREVCOM.f.src' non-existing path in 'linalg': 'iterative/QMRREVCOM.f.src' non-existing path in 'linalg': 'iterative/_iterative.pyf.src' Appending scipy.linalg configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.linalg') could not resolve pattern in 'linsolve': 'SuperLU/SRC/*.c' non-existing path in 'linsolve': '_zsuperlumodule.c' non-existing path in 'linsolve': '_superlu_utils.c' non-existing path in 'linsolve': '_superluobject.c' non-existing path in 'linsolve': '_dsuperlumodule.c' non-existing path in 'linsolve': '_superlu_utils.c' non-existing path in 'linsolve': '_superluobject.c' non-existing path in 'linsolve': '_csuperlumodule.c' non-existing path in 'linsolve': '_superlu_utils.c' non-existing path in 'linsolve': '_superluobject.c' non-existing path in 'linsolve': '_ssuperlumodule.c' non-existing path in 'linsolve': '_superlu_utils.c' non-existing path in 'linsolve': '_superluobject.c' umfpack_info: libraries umfpack not found in /usr/local/lib libraries umfpack not found in /usr/lib /usr/local/lib/python2.4/site-packages/numpy/distutils/system_info.py:401: UserWarning: UMFPACK sparse solver (http://www.cise.ufl.edu/research/sparse/umfpack/) not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [umfpack]) or by setting the UMFPACK environment variable. warnings.warn(self.notfounderror.__doc__) NOT AVAILABLE non-existing path in 'linsolve/umfpack': 'umfpack.i' non-existing path in 'linsolve/umfpack': 'umfpack.i' Appending scipy.linsolve.umfpack configuration to scipy.linsolve Ignoring attempt to set 'name' (from 'scipy.linsolve' to 'scipy.linsolve.umfpack') Appending scipy.linsolve configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.linsolve') non-existing path in 'maxentropy': 'doc' Appending scipy.maxentropy configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.maxentropy') Appending scipy.misc configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.misc') non-existing path in 'odr': 'odrpack/d_odr.f' non-existing path in 'odr': 'odrpack/d_mprec.f' non-existing path in 'odr': 'odrpack/dlunoc.f' non-existing path in 'odr': 'odrpack/d_lpk.f' non-existing path in 'odr': '__odrpack.c' Appending scipy.odr configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.odr') could not resolve pattern in 'optimize': 'minpack/*f' non-existing path in 'optimize': '_minpackmodule.c' could not resolve pattern in 'optimize': 'Zeros/*.c' non-existing path in 'optimize': 'zeros.c' non-existing path in 'optimize': 'lbfgsb/lbfgsb.pyf' non-existing path in 'optimize': 'lbfgsb/routines.f' non-existing path in 'optimize': 'tnc/moduleTNC.c' non-existing path in 'optimize': 'tnc/tnc.c' non-existing path in 'optimize': 'cobyla/cobyla.pyf' non-existing path in 'optimize': 'cobyla/cobyla2.f' non-existing path in 'optimize': 'cobyla/trstlp.f' non-existing path in 'optimize': 'minpack2/minpack2.pyf' non-existing path in 'optimize': 'minpack2/dcsrch.f' non-existing path in 'optimize': 'minpack2/dcstep.f' Appending scipy.optimize configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.optimize') Appending scipy.sandbox configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.sandbox') non-existing path in 'signal': 'sigtoolsmodule.c' non-existing path in 'signal': 'firfilter.c' non-existing path in 'signal': 'medianfilter.c' non-existing path in 'signal': 'sigtools.h' non-existing path in 'signal': 'splinemodule.c' non-existing path in 'signal': 'S_bspline_util.c' non-existing path in 'signal': 'D_bspline_util.c' non-existing path in 'signal': 'C_bspline_util.c' non-existing path in 'signal': 'Z_bspline_util.c' non-existing path in 'signal': 'bspline_util.c' Appending scipy.signal configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.signal') non-existing path in 'sparse': 'sparsetools/spblas.f.src' non-existing path in 'sparse': 'sparsetools/spconv.f.src' non-existing path in 'sparse': 'sparsetools/sparsetools.pyf.src' Appending scipy.sparse configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.sparse') could not resolve pattern in 'special': 'c_misc/*.c' could not resolve pattern in 'special': 'cephes/*.c' could not resolve pattern in 'special': 'mach/*.f' could not resolve pattern in 'special': 'amos/*.f' could not resolve pattern in 'special': 'toms/*.f' could not resolve pattern in 'special': 'cdflib/*.f' could not resolve pattern in 'special': 'specfun/*.f' non-existing path in 'special': '_cephesmodule.c' non-existing path in 'special': 'amos_wrappers.c' non-existing path in 'special': 'specfun_wrappers.c' non-existing path in 'special': 'toms_wrappers.c' non-existing path in 'special': 'cdf_wrappers.c' non-existing path in 'special': 'ufunc_extras.c' non-existing path in 'special': 'specfun.pyf' Appending scipy.special configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.special') could not resolve pattern in 'stats': 'statlib/*.f' non-existing path in 'stats': 'statlib.pyf' non-existing path in 'stats': 'futil.f' non-existing path in 'stats': 'mvn.pyf' non-existing path in 'stats': 'mvndst.f' Appending scipy.stats configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.stats') non-existing path in 'ndimage': 'src/nd_image.c' non-existing path in 'ndimage': 'src/ni_filters.c' non-existing path in 'ndimage': 'src/ni_fourier.c' non-existing path in 'ndimage': 'src/ni_interpolation.c' non-existing path in 'ndimage': 'src/ni_measure.c' non-existing path in 'ndimage': 'src/ni_morphology.c' non-existing path in 'ndimage': 'src/ni_support.c' non-existing path in 'ndimage': 'src' Appending scipy.ndimage configuration to scipy Ignoring attempt to set 'name' (from 'scipy' to 'scipy.ndimage') Warning: Assuming default configuration (stsci/convolve/{setup_convolve,setup}.py was not found) Traceback (most recent call last): File "setup.py", line 31, in ? setup(**configuration(top_path='').todict()) File "setup.py", line 23, in configuration config.add_subpackage('stsci') File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 765, in add_subpackage caller_level = 2) File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 748, in get_subpackage caller_level = caller_level + 1) File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 695, in _get_configuration_from_setup_py config = setup_module.configuration(*args) File "/usr/local/lib/python2.4/site-packages/scipy/stsci/setup.py", line 5, in configuration config.add_subpackage('convolve') File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 765, in add_subpackage caller_level = 2) File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 741, in get_subpackage caller_level = caller_level+1) File "/usr/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 541, in __init__ raise ValueError("%r is not a directory" % (package_path,)) ValueError: 'stsci/convolve' is not a directory
-- 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 _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
_________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/
Chiara Caronna wrote:
From: Robert Kern <robert.kern@gmail.com>
Your scipy was not linked to a BLAS library correctly. What BLAS library were you trying to link against?
'_' ... I have never tried to do that... at least I am not aware of...
Okay, what kind of system are you on? If Linux, what distribution? What LAPACK and BLAS packages do you have installed? -- 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
From: Robert Kern <robert.kern@gmail.com> Reply-To: SciPy Users List <scipy-user@scipy.org> To: SciPy Users List <scipy-user@scipy.org> Subject: Re: [SciPy-user] error importing scipy Date: Thu, 01 Feb 2007 11:41:46 -0600
Chiara Caronna wrote:
From: Robert Kern <robert.kern@gmail.com>
Your scipy was not linked to a BLAS library correctly. What BLAS library were you trying to link against?
'_' ... I have never tried to do that... at least I am not aware of...
Okay, what kind of system are you on? If Linux, what distribution?
I have Linux, Suse 8.4 (quite old, I know, but I can't change it, it's my office pc...)
What LAPACK and BLAS packages do you have installed? I have never installed them... how can I check which I have?
-- 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 _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Hi, Maybe this work . on suse machines there should be a yast to configure new programs. From yast it should be possible to get BLAS and LAPACK libraries (regarding suse 8.4 maybe you should try to upgrade it) On 2/1/07, Chiara Caronna <chiaracaronna@hotmail.com> wrote:
From: Robert Kern <robert.kern@gmail.com> Reply-To: SciPy Users List <scipy-user@scipy.org> To: SciPy Users List <scipy-user@scipy.org> Subject: Re: [SciPy-user] error importing scipy Date: Thu, 01 Feb 2007 11:41:46 -0600
Chiara Caronna wrote:
From: Robert Kern <robert.kern@gmail.com>
Your scipy was not linked to a BLAS library correctly. What BLAS library were you trying to link against?
'_' ... I have never tried to do that... at least I am not aware of...
Okay, what kind of system are you on? If Linux, what distribution?
I have Linux, Suse 8.4 (quite old, I know, but I can't change it, it's my office pc...)
What LAPACK and BLAS packages do you have installed? I have never installed them... how can I check which I have?
-- 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 _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
-- Best regards Per Jr. Greisen "If you make something idiot-proof, the universe creates a better idiot."
From: "Per Jr. Greisen" <pgreisen@gmail.com> Reply-To: SciPy Users List <scipy-user@scipy.org> To: "SciPy Users List" <scipy-user@scipy.org> Subject: Re: [SciPy-user] error importing scipy Date: Thu, 1 Feb 2007 20:12:11 +0100
Hi,
Maybe this work . on suse machines there should be a yast to configure new programs. From yast it should be possible to get BLAS and LAPACK libraries
Hi, I checked that out, and apparently blas and lapack are already installed... ?
(regarding suse 8.4 maybe you should try to upgrade it)
(I really would like, but I can't...)
On 2/1/07, Chiara Caronna <chiaracaronna@hotmail.com> wrote:
From: Robert Kern <robert.kern@gmail.com> Reply-To: SciPy Users List <scipy-user@scipy.org> To: SciPy Users List <scipy-user@scipy.org> Subject: Re: [SciPy-user] error importing scipy Date: Thu, 01 Feb 2007 11:41:46 -0600
Chiara Caronna wrote:
From: Robert Kern <robert.kern@gmail.com>
Your scipy was not linked to a BLAS library correctly. What BLAS library were you trying to link against?
'_' ... I have never tried to do that... at least I am not aware of...
Okay, what kind of system are you on? If Linux, what distribution?
I have Linux, Suse 8.4 (quite old, I know, but I can't change it, it's my office pc...)
What LAPACK and BLAS packages do you have installed? I have never installed them... how can I check which I have?
-- 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 _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
-- Best regards Per Jr. Greisen
"If you make something idiot-proof, the universe creates a better idiot."
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Chiara Caronna wrote:
From: "Per Jr. Greisen" <pgreisen@gmail.com> Reply-To: SciPy Users List <scipy-user@scipy.org> To: "SciPy Users List" <scipy-user@scipy.org> Subject: Re: [SciPy-user] error importing scipy Date: Thu, 1 Feb 2007 20:12:11 +0100
Hi,
Maybe this work . on suse machines there should be a yast to configure new programs. From yast it should be possible to get BLAS and LAPACK libraries
Hi, I checked that out, and apparently blas and lapack are already installed... ?
The problem is that the libraries shipped by SUSE are incomplete ! Please remove the rpm's and compile BLAS and LAPACK from scratch. http://www.scipy.org/Installing_SciPy/BuildingGeneral?highlight=%28%28----%2... Nils
(regarding suse 8.4 maybe you should try to upgrade it)
(I really would like, but I can't...)
On 2/1/07, Chiara Caronna <chiaracaronna@hotmail.com> wrote:
From: Robert Kern <robert.kern@gmail.com> Reply-To: SciPy Users List <scipy-user@scipy.org> To: SciPy Users List <scipy-user@scipy.org> Subject: Re: [SciPy-user] error importing scipy Date: Thu, 01 Feb 2007 11:41:46 -0600
Chiara Caronna wrote:
From: Robert Kern <robert.kern@gmail.com>
Your scipy was not linked to a BLAS library correctly. What BLAS
library
were you trying to link against?
'_' ... I have never tried to do that... at least I am not aware
of...
Okay, what kind of system are you on? If Linux, what distribution?
I have Linux, Suse 8.4 (quite old, I know, but I can't change it, it's my office pc...)
What LAPACK and BLAS packages do you have installed?
I have never installed them... how can I check which I have?
-- 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 _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
-- Best regards Per Jr. Greisen
"If you make something idiot-proof, the universe creates a better idiot."
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
Hi, I have an old code, where I used numarray, and there is this command: where c is a 1d array c= unpack(format, string) ccdimage=N.array(c,shape=[nrows,ncol]) if I use array from numpy I got this error: "shape is an invalid keyword argument for this function" I need to transform c in an array of shape [nrows,ncol], how can I do it with numpy? _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/
On Mon, Feb 05, 2007 at 03:38:13PM +0000, Chiara Caronna wrote:
I have an old code, where I used numarray, and there is this command: where c is a 1d array
c= unpack(format, string) ccdimage=N.array(c,shape=[nrows,ncol])
if I use array from numpy I got this error:
"shape is an invalid keyword argument for this function" I need to transform c in an array of shape [nrows,ncol], how can I do it with numpy?
c is an array, right, not, a list. Then you can do something like c = unpack(format, string) ccdimage = N.reshape(c, (nrows, nol)) If c is a list you can convert it to a 1D array using N.array(c). HTH, Gaël
it works, thank you! Chiara
From: Gael Varoquaux <gael.varoquaux@normalesup.org> Reply-To: SciPy Users List <scipy-user@scipy.org> To: SciPy Users List <scipy-user@scipy.org> Subject: Re: [SciPy-user] newbie: easy question (I hope) Date: Mon, 5 Feb 2007 17:54:16 +0100
On Mon, Feb 05, 2007 at 03:38:13PM +0000, Chiara Caronna wrote:
I have an old code, where I used numarray, and there is this command: where c is a 1d array
c= unpack(format, string) ccdimage=N.array(c,shape=[nrows,ncol])
if I use array from numpy I got this error:
"shape is an invalid keyword argument for this function" I need to transform c in an array of shape [nrows,ncol], how can I do it with numpy?
c is an array, right, not, a list.
Then you can do something like
c = unpack(format, string) ccdimage = N.reshape(c, (nrows, nol))
If c is a list you can convert it to a 1D array using N.array(c).
HTH,
Gaël _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Chiara Caronna wrote:
Hi, I have an old code, where I used numarray, and there is this command: where c is a 1d array
c= unpack(format, string) ccdimage=N.array(c,shape=[nrows,ncol])
if I use array from numpy I got this error:
"shape is an invalid keyword argument for this function" I need to transform c in an array of shape [nrows,ncol], how can I do it with numpy?
What exactly are you asking? If you want to use numarray-compatibile syntax then use the numpy.numarray module like this import numpy.numarray as N This is a compatibility-layer and is not recommended except for porting older code. Otherwise you change the shape of an array using the reshape method or setting the shape attribute of an ndarray. -Travis
From: Travis Oliphant <oliphant@ee.byu.edu> Reply-To: SciPy Users List <scipy-user@scipy.org> To: SciPy Users List <scipy-user@scipy.org> Subject: Re: [SciPy-user] newbie: easy question (I hope) Date: Mon, 05 Feb 2007 12:20:59 -0700
Chiara Caronna wrote:
Hi, I have an old code, where I used numarray, and there is this command: where c is a 1d array
c= unpack(format, string) ccdimage=N.array(c,shape=[nrows,ncol])
if I use array from numpy I got this error:
"shape is an invalid keyword argument for this function" I need to transform c in an array of shape [nrows,ncol], how can I do it with numpy?
What exactly are you asking?
If you want to use numarray-compatibile syntax then use the numpy.numarray module like this
import numpy.numarray as N
This is a compatibility-layer and is not recommended except for porting older code.
Otherwise you change the shape of an array using the reshape method or setting the shape attribute of an ndarray.
Actually I wanted to remove all the numarray syntax from my code... they are not so much and I prefer to have a "cleaner" code. I used the reshape method, thanks Chiara
-Travis
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Chiara Caronna wrote:
From: Robert Kern <robert.kern@gmail.com> Reply-To: SciPy Users List <scipy-user@scipy.org> To: SciPy Users List <scipy-user@scipy.org> Subject: Re: [SciPy-user] error importing scipy Date: Thu, 01 Feb 2007 11:41:46 -0600
From: Robert Kern <robert.kern@gmail.com> Your scipy was not linked to a BLAS library correctly. What BLAS
Chiara Caronna wrote: library
were you trying to link against? '_' ... I have never tried to do that... at least I am not aware of... Okay, what kind of system are you on? If Linux, what distribution?
I have Linux, Suse 8.4 (quite old, I know, but I can't change it, it's my office pc...)
What LAPACK and BLAS packages do you have installed? I have never installed them... how can I check which I have?
Apparently you have since the configuration process has found some such libraries in /usr/lib/. That means that they were most likely installed from SuSE packages. You might need to talk to the person that administers your computer to find out what packages they installed. SuSE has often been problematic, especially with regards to its LAPACK and BLAS libraries. I'm afraid that I don't know much of the details, like which versions of which specific packages are known to work. Other people with SuSE experience will have to chime in here. -- 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
Ok, thank you anyway fro your time!
From: Robert Kern <robert.kern@gmail.com> Reply-To: SciPy Users List <scipy-user@scipy.org> To: SciPy Users List <scipy-user@scipy.org> Subject: Re: [SciPy-user] error importing scipy Date: Thu, 01 Feb 2007 13:53:07 -0600
Chiara Caronna wrote:
From: Robert Kern <robert.kern@gmail.com> Reply-To: SciPy Users List <scipy-user@scipy.org> To: SciPy Users List <scipy-user@scipy.org> Subject: Re: [SciPy-user] error importing scipy Date: Thu, 01 Feb 2007 11:41:46 -0600
From: Robert Kern <robert.kern@gmail.com> Your scipy was not linked to a BLAS library correctly. What BLAS
Chiara Caronna wrote: library
were you trying to link against? '_' ... I have never tried to do that... at least I am not aware of... Okay, what kind of system are you on? If Linux, what distribution?
I have Linux, Suse 8.4 (quite old, I know, but I can't change it, it's my office pc...)
What LAPACK and BLAS packages do you have installed? I have never installed them... how can I check which I have?
Apparently you have since the configuration process has found some such libraries in /usr/lib/. That means that they were most likely installed from SuSE packages. You might need to talk to the person that administers your computer to find out what packages they installed.
SuSE has often been problematic, especially with regards to its LAPACK and BLAS libraries. I'm afraid that I don't know much of the details, like which versions of which specific packages are known to work. Other people with SuSE experience will have to chime in here.
-- 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 _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
_________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
On Thursday 01 February 2007 20:53, Robert Kern wrote:
SuSE has often been problematic, especially with regards to its LAPACK and BLAS libraries. I'm afraid that I don't know much of the details, like which versions of which specific packages are known to work. Other people with SuSE experience will have to chime in here.
Yes, Suse ship broken packages, also for Suse 10.2. I use comunity contributed packages from: http://repos.opensuse.org/science/ But these are not helpfull for Chiara because the are none for Suse 8.4. So, is there a way to compile NumPy and SciPy without using BLAS and LAPACK at all? Regards, Eike.
Eike Welk wrote:
So, is there a way to compile NumPy and SciPy without using BLAS and LAPACK at all?
Depends on what you mean by that. Strictly speaking, no; at least parts of BLAS and LAPACK must be used somewhere along the line. numpy includes implementations for the parts it needs if an already installed BLAS and LAPACK cannot be found. However, you can build BLAS and LAPACK yourself relatively easily if you don't care about optimization. http://www.scipy.org/Installing_SciPy/BuildingGeneral#head-e618da78f29d5a85f... -- 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
participants (7)
-
Chiara Caronna -
Eike Welk -
Gael Varoquaux -
Nils Wagner -
Per Jr. Greisen -
Robert Kern -
Travis Oliphant