I'm trying to build NumPy on an SUSE 10.2 Core 2 Duo system using the Intel compiler and Math Kernel Library, and Python 2.5
I want to see how much faster it is than the SUSE NumPy 1.0.1 rpm that recently became available (huge thanks to whomever it was that created it. Installing NumPy and SciPy has been a lot of work on SUSE systems in the past. Half the time I'd give up in frustration after hours of work with each new distribution, and wait until the next SUSE release and try again). I followed the instructions that are here: http://www.scipy.org/Installing_SciPy/Linux Any distribution with Intel C compiler and MKL I changed the line: cc_exe = 'icc -O2 -g -fomit-frame-pointer -mcpu=pentium4 -mtune=pentium4 -march=pentium4 -msse2 -axWN -Wall' to: cc_exe = 'icc -O2 -g -fomit-frame-pointer -mcpu=pentium4 -mtune=pentium4 -march=pentium4 -msse3 -xP -Wall' But the NumPy compile failed: c2d0:/usr/local/src/numpy-1.0.1 # python setup.py config --compiler=intel build_clib --compiler=intel build_ext --compiler=intel install Running from numpy source directory. Traceback (most recent call last): File "setup.py", line 89, in <module> setup_package() File "setup.py", line 59, in setup_package from numpy.distutils.core import setup File "/usr/local/src/numpy-1.0.1/numpy/distutils/core.py", line 24, in <module> from numpy.distutils.command import build_ext File "/usr/local/src/numpy-1.0.1/numpy/distutils/command/build_ext.py", line 16, in <module> from numpy.distutils.system_info import combine_paths File "/usr/local/src/numpy-1.0.1/numpy/distutils/system_info.py", line 159, in <module> so_ext = distutils.sysconfig.get_config_vars('SO')[0] or '' File "/usr/lib/python2.5/distutils/sysconfig.py", line 493, in get_config_vars func() File "/usr/lib/python2.5/distutils/sysconfig.py", line 352, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory) There is no config directory in /usr/lib/python2.5/ These are the subdirectories: /bsddb /compiler /ctypes /disutils /email /encodings /hotshot /lib-dynload /plat-linux2 /site-packages /sqlite3 /wsgiref /xml The only Makefiles under Python2.5 are: ./site-packages/numpy/doc/swig/Makefile ./site-packages/numpy/doc/pyrex/Makefile Help anyone? I hope I don't have to build Python2.5 from source to build NumPy. Thanks, -rex _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion