Re: [Numpy-discussion] building NumPy with Intel CC & MKL (solved!)

2007-01-25 Thread George Nurser
On 25/01/07, David Cournapeau <[EMAIL PROTECTED]> wrote: > rex wrote: > > > > I think it should do much better. A few minutes ago I compiled a C > > math benchmark with : > > > > icc -o3 -parallel -xT > > > > and it ran 2.8x as fast as it did when compiled with gcc -o3. In > > fact, it ran at a lit

Re: [Numpy-discussion] building NumPy with Intel CC & MKL (solved!)

2007-01-24 Thread David Cournapeau
rex wrote: > > I think it should do much better. A few minutes ago I compiled a C > math benchmark with : > > icc -o3 -parallel -xT > > and it ran 2.8x as fast as it did when compiled with gcc -o3. In > fact, it ran at a little over a gigaflop, which is a higher speed than > anyone has reported for

Re: [Numpy-discussion] building NumPy with Intel CC & MKL (solved!)

2007-01-24 Thread rex
Steve Lianoglou <[EMAIL PROTECTED]> [2007-01-24 20:06]: > > Now that you've gone through your odyssey trying to numpy/scipy w/ > this particular combo (SuSE/MKL/IntelCC), now would be a great time > to whip up wiki page ... you know .. for the documentation ;-) Yes, I should do that, but I wa

Re: [Numpy-discussion] building NumPy with Intel CC & MKL (solved!)

2007-01-24 Thread David Cournapeau
Steve Lianoglou wrote: > Hi Rex, > >> Thank you for taking the time to write such a detailed explanation. If >> only the documentation were so detailed... > > Now that you've gone through your odyssey trying to numpy/scipy w/ > this particular combo (SuSE/MKL/IntelCC), now would be a great time

Re: [Numpy-discussion] building NumPy with Intel CC & MKL (solved!)

2007-01-24 Thread Steve Lianoglou
Hi Rex, > Thank you for taking the time to write such a detailed explanation. If > only the documentation were so detailed... Now that you've gone through your odyssey trying to numpy/scipy w/ this particular combo (SuSE/MKL/IntelCC), now would be a great time to whip up wiki page ... you kno

Re: [Numpy-discussion] building NumPy with Intel CC & MKL (solved!)

2007-01-24 Thread Robert Kern
rex wrote: > I've added these lines to .bashrc: > source /opt/intel/cc/9.1.042/bin/iccvars.sh > export PYTHONPATH=/usr/local/lib/python2.5/site-packages:/usr/lib/python2.5 > export INCLUDE=/opt/intel/mkl/8.1/include:$INCLUDE > export > LD_LIBRARY_PATH=/usr/local/lib:/opt/intel/mkl/8.1/lib/32:$LD_

Re: [Numpy-discussion] building NumPy with Intel CC & MKL (solved!)

2007-01-24 Thread rex
Christian Marquardt <[EMAIL PROTECTED]> [2007-01-24 11:09]: > > I'll try to explain... I hope it's not too basic. Christian, at this point you could explain that shoes are not interchangeable -- that they are built to be worn on the left foot or the right foot -- and I'd be grateful for the expla

Re: [Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-24 Thread Robert Kern
rex wrote: > Thanks for the URL. It would not have occurred to me to read > "alt-install-windows" since I don't do Windows, and haven't since 1999. The name of the file is a quirk of the documentation generation program. The table of contents, though, is quite clear about that chapter's generality

Re: [Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-24 Thread Christian Marquardt
Dear rex, I'll try to explain... I hope it's not too basic. Python is searching for its modules along the PYTHONPATH, i.e. a list of directories where it expects to find whatever it needs. This is the same as the Unix shell (or the DOC command.com) is looking in the PATH in order to find programs

Re: [Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-24 Thread rex
Robert Kern <[EMAIL PROTECTED]> [2007-01-24 03:22]: > rex wrote: > import numpy > print numpy > > > > > > What am I to make of this? Is it the rpm numpy or is it the numpy I > > built using the Intel compiler and MKL? > > Did you change the distutils installation location? See this pag

Re: [Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-24 Thread David Cournapeau
rex wrote: > David Cournapeau <[EMAIL PROTECTED]> [2007-01-23 23:40]: > > But installing software is typically easy for Windows users. I am not sure installing numpy using MKL library is easier on windows :) > IMO, the > difficulty of installing Linux applications is a huge barrier to wider > adop

Re: [Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-24 Thread Robert Kern
rex wrote: import numpy print numpy > > > What am I to make of this? Is it the rpm numpy or is it the numpy I > built using the Intel compiler and MKL? Did you change the distutils installation location? See this page for the various ways to do that: http://docs.python.org/inst/alt-

Re: [Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-24 Thread Nils Wagner
rex wrote: > David Cournapeau <[EMAIL PROTECTED]> [2007-01-23 23:40]: > >> rex wrote: >> >>> Robert Kern <[EMAIL PROTECTED]> [2007-01-23 22:18]: >>> You need to install the development package for Python. Usually it's named something like python2.5-devel. >>>

Re: [Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-24 Thread rex
David Cournapeau <[EMAIL PROTECTED]> [2007-01-23 23:40]: > rex wrote: > > Robert Kern <[EMAIL PROTECTED]> [2007-01-23 22:18]: > >> You need to install the development package for Python. Usually it's named > >> something like python2.5-devel. > > > > Thank you. Did that, and NumPy compiled with a B

Re: [Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-23 Thread David Cournapeau
rex wrote: > Robert Kern <[EMAIL PROTECTED]> [2007-01-23 22:18]: >> You need to install the development package for Python. Usually it's named >> something like python2.5-devel. > > Thank you. Did that, and NumPy compiled with a Brazillion warnings, but > no errors. > > Then I did: > export > LD_

Re: [Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-23 Thread rex
Robert Kern <[EMAIL PROTECTED]> [2007-01-23 22:18]: > You need to install the development package for Python. Usually it's named > something like python2.5-devel. Thank you. Did that, and NumPy compiled with a Brazillion warnings, but no errors. Then I did: export LD_RUN_PATH=/opt/lib:/opt/intel

Re: [Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-23 Thread Robert Kern
rex wrote: > 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/ You need to install the development package for Python. Usually it's named s

[Numpy-discussion] building NumPy with Intel CC & MKL

2007-01-23 Thread rex
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