[Numpy-discussion] numpy installation

P Sanjey p.sanjey@gmail....
Mon Oct 4 10:14:06 CDT 2010


I couldn't intially install numpy on python2.4.......installing then
importing resulted in the following (please read below before
answering thanks)

>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/cluster/lib/python2.4/site-packages/numpy/__init__.py", line 147, in ?
    import fft
  File "/cluster/lib/python2.4/site-packages/numpy/fft/__init__.py",
line 4, in ?
    from fftpack import *
  File "/cluster/lib/python2.4/site-packages/numpy/fft/fftpack.py",
line 39, in ?
    import fftpack_lite as fftpack
ImportError: /cluster/lib/python2.4/site-packages/numpy/fft/fftpack_lite.so:
undefined symbol: vmldSinCos2


The problem was sorted by modifying the following files.....

site.cfg
[DEFAULT]
libraries = svml, mkl, vml
library_dirs = /usr/local/lib, /opt/intel/cc/9.1/lib, /opt/intel/fc/9.1/lib
include_dirs = /usr/local/include, /opt/intel/cc/9.1/include,
/opt/intel/fc/9.1/include



numpy-1.4.1/numpy/distutils/intelccompiler.py
cc_exe = 'icc -O2 -g -fomit-frame-pointer -mcpu=pentium4
-march=pentium4 -msse2 -axWN -Wall -lsvml -L/opt/intel/cc/9.1/lib
-I/opt/intel/cc/9.1/include'


Now  I want to install numpy on the server but have the same problem
When I looked in the intel folder in the server there was only on
directory-licences NO cc directory was present to add to the site.cfg
file in the server



Can I simply find them online and move them into intel directory?
I don''t want to mess the server but don't really understand all
this-if someone could help me it will be much appreciated


More information about the NumPy-Discussion mailing list