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] Unable to build numpy in cygwin

2007-01-24 Thread Travis Oliphant
Crider, Joseph A wrote: >I am still clueless as to why numpy.numarray will not build for numpy >1.0 and later. As I am currently not using much from either numpy or >scipy, but do want to be able to use some of the 1.0 features >(especially the order keyword for sort on record arrays), I've decid

Re: [Numpy-discussion] Unable to build numpy in cygwin

2007-01-24 Thread Crider, Joseph A
I am still clueless as to why numpy.numarray will not build for numpy 1.0 and later. As I am currently not using much from either numpy or scipy, but do want to be able to use some of the 1.0 features (especially the order keyword for sort on record arrays), I've decided to disable most of the sub

Re: [Numpy-discussion] svn numpy did not build on os x

2007-01-24 Thread Robert Kern
Steve Lianoglou wrote: > Hi, > >>> I got gfortran from hpc.sourceforge.net. I just now noticed that my >>> gcc is "experimental", I hope that isn't the issue. >> It probably is the issue. > > One thing to note is that (at least when I d/l'd it), the hpc fortran > download also has inside it a

Re: [Numpy-discussion] svn numpy did not build on os x

2007-01-24 Thread Jeremy Conlin
On 1/24/07, Steve Lianoglou <[EMAIL PROTECTED]> wrote: > Hi, > > >> I got gfortran from hpc.sourceforge.net. I just now noticed that my > >> gcc is "experimental", I hope that isn't the issue. > > > > It probably is the issue. > > One thing to note is that (at least when I d/l'd it), the hpc fortr

Re: [Numpy-discussion] svn numpy did not build on os x

2007-01-24 Thread Steve Lianoglou
Hi, >> I got gfortran from hpc.sourceforge.net. I just now noticed that my >> gcc is "experimental", I hope that isn't the issue. > > It probably is the issue. One thing to note is that (at least when I d/l'd it), the hpc fortran download also has inside it a version of gcc which it will dump

Re: [Numpy-discussion] svn numpy did not build on os x

2007-01-24 Thread Robert Kern
Jeremy Conlin wrote: > I also have been unable to build numpy on OS X although my error(s) > are slightly different from the original poster. I just installed > python2.5 from the binary at python.org. > > Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) > [GCC 4.0.1 (Apple Computer, Inc. build 5341

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

[Numpy-discussion] svn numpy did not build on os x

2007-01-24 Thread Jeremy Conlin
I also have been unable to build numpy on OS X although my error(s) are slightly different from the original poster. I just installed python2.5 from the binary at python.org. Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin Type "help", "copyri

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] setmember1d memory leak?

2007-01-24 Thread Charles R Harris
On 1/24/07, Robert Cimrman <[EMAIL PROTECTED]> wrote: Robert Kern wrote: > Robert Cimrman wrote: >> Or you could just call unique1d prior to your call to setmember1d - it >> was meant to be used that way... you would not loose much speed that >> way, IMHO. > > But that doesn't do what they want.

Re: [Numpy-discussion] C-API: datatype for arrays of indices

2007-01-24 Thread Martin Wiechert
On Wednesday 24 January 2007 16:44, Travis Oliphant wrote: > Martin Wiechert wrote: > >Hi list, > > > >does anybody know, what datatype arrays C-API functions like > > > >PyArray_SearchSorted > >PyArray_ArgSort > > > >return? Can I rely on them being npy_intp? > > Yes. > > -Travis > Thanks! > ___

Re: [Numpy-discussion] C-API: datatype for arrays of indices

2007-01-24 Thread Travis Oliphant
Martin Wiechert wrote: >Hi list, > >does anybody know, what datatype arrays C-API functions like > >PyArray_SearchSorted >PyArray_ArgSort > >return? Can I rely on them being npy_intp? > > > Yes. -Travis ___ Numpy-discussion mailing list Numpy-discus

[Numpy-discussion] C-API: datatype for arrays of indices

2007-01-24 Thread Martin Wiechert
Hi list, does anybody know, what datatype arrays C-API functions like PyArray_SearchSorted PyArray_ArgSort return? Can I rely on them being npy_intp? Thanks, Martin ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org

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] setmember1d memory leak?

2007-01-24 Thread Robert Kern
Robert Cimrman wrote: > Robert Kern wrote: >> Robert Cimrman wrote: >>> Or you could just call unique1d prior to your call to setmember1d - it >>> was meant to be used that way... you would not loose much speed that >>> way, IMHO. >> But that doesn't do what they want. They want a function that giv

Re: [Numpy-discussion] setmember1d memory leak?

2007-01-24 Thread Robert Cimrman
Robert Kern wrote: > Robert Cimrman wrote: >> Or you could just call unique1d prior to your call to setmember1d - it >> was meant to be used that way... you would not loose much speed that >> way, IMHO. > > But that doesn't do what they want. They want a function that gives the mask > against thei

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