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

Re: [Numpy-discussion] numpy.test error on G5 PPC

2007-01-23 Thread Robert Kern
Vincent Nijs wrote: > == > FAIL: check_large_types (numpy.core.tests.test_scalarmath.test_power) > -- > Traceback (most recent call last): > File > "/Library/Fr

[Numpy-discussion] numpy.test error on G5 PPC

2007-01-23 Thread Vincent Nijs
Mac OS X 10.4.8 G5 PPC Numpy svn: 2602 Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with

[Numpy-discussion] Unable to build numpy in cygwin

2007-01-23 Thread Crider, Joseph A
I have been attempting to build recent versions of numpy and scipy in Cygwin on Windows XP for use in Cygwin, but I haven't succeeded with any version of numpy that I've tried newer than 0.9.8. It seems to be failing in building numarray. Here is the numarray portion of the output: creating buil

Re: [Numpy-discussion] Misc Pyrex questions

2007-01-23 Thread Francesc Altet
Oops, the attachments! (always the same history) El dt 23 de 01 del 2007 a les 20:33 +0100, en/na Francesc Altet va escriure: > El 2007-01-22 23:59:03 GMT, en/na Pierre GM va escriure: > > Other example: what's more efficient ? > > myvar = numpy.empty(shape,dtype) > > or > > myvar = PyArray_EMPTY

Re: [Numpy-discussion] Misc Pyrex questions

2007-01-23 Thread Francesc Altet
El 2007-01-22 23:59:03 GMT, en/na Pierre GM va escriure: > Other example: what's more efficient ? > myvar = numpy.empty(shape,dtype) > or > myvar = PyArray_EMPTY(dims, NPY_TYPE) Ok. The second one indeed, but possibly less than you realize (just a 25%, see some benchmarks below). The main point i

Re: [Numpy-discussion] setmember1d memory leak?

2007-01-23 Thread Robert Kern
Robert Cimrman wrote: > Robert Kern wrote: >> Jan Strube wrote: >>> I would also like to see a method that doesn't have the unique members >>> requirement. >>> If setmember1d cannot be modified to do that, is there another method >>> that doesn't have these restrictions. Or could one be added? >> I

Re: [Numpy-discussion] setmember1d memory leak?

2007-01-23 Thread Robert Cimrman
Robert Kern wrote: > Jan Strube wrote: >> I would also like to see a method that doesn't have the unique members >> requirement. >> If setmember1d cannot be modified to do that, is there another method >> that doesn't have these restrictions. Or could one be added? > > If you can write one that's