Re: [Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread josef . pktd
On Fri, Sep 11, 2009 at 5:25 AM, David Cournapeau wrote: > V. Armando Solé wrote: >> David Cournapeau wrote: >> >>> V. Armando Solé wrote: >>> >>> Hello, It seems to point towards a packaging problem. In python 2.5, I can do: import numpy.core._dotblas as dotblas

Re: [Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread David Cournapeau
V. Armando Solé wrote: > David Cournapeau wrote: > >> V. Armando Solé wrote: >> >> >>> Hello, >>> >>> It seems to point towards a packaging problem. >>> >>> In python 2.5, I can do: >>> >>> import numpy.core._dotblas as dotblas >>> dotblas.__file__ >>> >>> and I get: >>> >>> C:\\Python25

Re: [Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread V. Armando Solé
David Cournapeau wrote: > V. Armando Solé wrote: > >> Hello, >> >> It seems to point towards a packaging problem. >> >> In python 2.5, I can do: >> >> import numpy.core._dotblas as dotblas >> dotblas.__file__ >> >> and I get: >> >> C:\\Python25\\lib\\site-packages\\numpy\\core\\_dotblas.pyd >>

Re: [Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread V. Armando Solé
Sturla Molden wrote: > V. Armando Solé skrev: > >> In python 2.6: >> >> >>>import numpy.core._dotblas as dotblas >> ... >> ImportError: No module named _dotblas >> >> > > >>> import numpy.core._dotblas as dotblas > >>> dotblas.__file__ > 'C:\\Python26\\lib\\site-packages\\numpy\\core\

Re: [Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread Sturla Molden
V. Armando Solé skrev: > In python 2.6: > > >>>import numpy.core._dotblas as dotblas > ... > ImportError: No module named _dotblas > >>> import numpy.core._dotblas as dotblas >>> dotblas.__file__ 'C:\\Python26\\lib\\site-packages\\numpy\\core\\_dotblas.pyd' ___

Re: [Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread David Cournapeau
V. Armando Solé wrote: > Hello, > > It seems to point towards a packaging problem. > > In python 2.5, I can do: > > import numpy.core._dotblas as dotblas > dotblas.__file__ > > and I get: > > C:\\Python25\\lib\\site-packages\\numpy\\core\\_dotblas.pyd > That's where the error lies: if you insta

Re: [Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread Sturla Molden
V. Armando Solé skrev: > import numpy > import time > a=numpy.arange(100.) > a.shape=1000,1000 > t0=time.time() > b=numpy.dot(a.T,a) > print "Elapsed time = ",time.time()-t0 > > reports an "Elapsed time" of 1.4 seconds under python 2.5 and 15 seconds > under python 2.6 > My computer reports

Re: [Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread V. Armando Solé
Hello, It seems to point towards a packaging problem. In python 2.5, I can do: import numpy.core._dotblas as dotblas dotblas.__file__ and I get: C:\\Python25\\lib\\site-packages\\numpy\\core\\_dotblas.pyd In python 2.6: >>>import numpy.core._dotblas as dotblas ... ImportError: No module nam

Re: [Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread V. Armando Solé
David Cournapeau wrote: > V. Armando Solé wrote: > >> Hello, >> >> I have found performance problems under windows when using python 2.6 >> In my case, they seem to be related to the dot product. >> >> The following simple script: >> >> import numpy >> import time >> a=numpy.arange(100.) >>

Re: [Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread David Cournapeau
V. Armando Solé wrote: > Hello, > > I have found performance problems under windows when using python 2.6 > In my case, they seem to be related to the dot product. > > The following simple script: > > import numpy > import time > a=numpy.arange(100.) > a.shape=1000,1000 > t0=time.time() > b=num

[Numpy-discussion] Dot product performance on python 2.6 (windows)

2009-09-11 Thread V. Armando Solé
Hello, I have found performance problems under windows when using python 2.6 In my case, they seem to be related to the dot product. The following simple script: import numpy import time a=numpy.arange(100.) a.shape=1000,1000 t0=time.time() b=numpy.dot(a.T,a) print "Elapsed time = ",time.tim