[Numpy-discussion] using CXML on Alpha
John A. Turner
turner at lanl.gov
Wed May 14 16:49:09 CDT 2003
is anyone using the Compaq Extended Math Libraries (CXML) on a Alpha
although Numeric-23.0 builds out-of-the-box and runs fine with its own
BLAS/LAPACK, I wanted to try making it use the (significantly faster)
I modified this bit of setup.py:
# 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')
sourcelist = [os.path.join('Src', 'lapack_litemodule.c')]
# set these to use your own BLAS;
library_dirs_list = ['/usr/opt/XMDLIB6510']
libraries_list = ['cxml_ev6'] # if you also set `use_dotblas` (see below), you'll need:
# ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c']
(I had to do some hunting around to find where the libs actually live -
when using CXML with Fortran all you do is put -lcxml on the command line
and it links with the appropriate lib)
but this doesn't seem to have done it - after I build and install I see:
qsc4% python cg.py
Traceback (most recent call last):
File "cg.py", line 98, in ?
from RandomArray import *
File "/users/turner/Tools/T64U/lib/python2.2/site-packages/Numeric/RandomArray.py", line 3, in ?
File "/users/turner/Tools/T64U/lib/python2.2/site-packages/Numeric/LinearAlgebra.py", line 8, in ?
ImportError: dlopen: /users/turner/Tools/T64U/lib/python2.2/site-packages/Numeric/lapack_lite.so: symbol "zgelsd_" unresolved
I'm pretty sure I'm missing something important...
thanks in advance...
Los Alamos Natl. Lab.
Adv. Sci. Sim. (CCS-2)
More information about the Numpy-discussion