I had also this problem undel linux. As I can recall dgesdd is a SVD routine that has no parallel in ATLAS. The simplest solution is to go back to Numeric 23.1 which uby default uses its intenal linear-algebra routine (slower, but working). The other possibility is to add lapack to "libraries_list". This worked for be, after some playing with the libraries_list order; I am running two versions of linux, each requires a bit different ordering of the libraries.
-----Original Message----- From: Hui Liu [mailto:firstname.lastname@example.org] Sent: Thu 11-Nov-04 00:45 To: email@example.com Cc: Subject: [Numpy-discussion] urgent problem Hi everybody,
I am newbie for NumPY. I am frustrated by this problem deeply. Thanks for your help.
I installed ATLAS in solaris 8 sparc station with gcc and g77. I also install Numarray and NumPY23.6 on this workstation. When I run one program. I met the following problem: " File "/usr/local/lib/python2.3/site-packages/Numeric/LinearAlgebra.py", line 8, in ? import lapack_lite ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /usr/local/lib/python2.3/site-packages/Numeric/lapack_lite.so: symbol dgesdd_: referenced symbol not found".
My program begins with the following: #!/usr/local/bin/python from Numeric import reshape, transpose, exp from LinearAlgebra import solve_linear_equations
My Numric-23.6's setup.py is as following: undef_macros =  # You might need to add a case here for your system if sys.platform in ['win32']: mathlibs =  define_macros =  undef_macros = ['HAVE_INVERSE_HYPERBOLIC'] elif sys.platform in ['mac', 'beos5']: mathlibs = 
# delete all but the first one in this list if using your own LAPACK/BLAS sourcelist = [os.path.join('Src', 'lapack_litemodule.c'), # os.path.join('Src', 'blas_lite.c'), # os.path.join('Src', 'f2c_lite.c'), # os.path.join('Src', 'zlapack_lite.c'), # os.path.join('Src', 'dlapack_lite.c') ] # set these to use your own BLAS;
library_dirs_list = ['/export/home/hui/ATLAS/lib/SunOS_SunUSIII'] libraries_list = ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c'] # if you also set `use_dotblas` (see below), you'll need: # ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c']
# set to true (1), if you also want BLAS optimized matrixmultiply/dot/innerproduct use_dotblas = 1 include_dirs = ['/export/home/hui/ATLAS/include'] # You may need to set this to find cblas.h # e.g. on UNIX using ATLAS this should be ['/usr/include/atlas']