Re: [Numpy-discussion] performance of numpy.array()

2015-04-30 Thread Ryan Nelson
I have had good luck with Continuum's Miniconda Python distributions on Linux. http://conda.pydata.org/miniconda.html The `conda` command makes it very easy to create specific testing environments for Python 2 and 3 with many different packages. Everything is precompiled, so you won't have to worry

Re: [Numpy-discussion] performance of numpy.array()

2015-04-30 Thread simona bellavista
I have seen a big improvement in performance with numpy 1.9.2 with python 2.7.8, numpy.array takes 5 s instead of 300s. On the other side, I have also tried numpy 1.9.2 and 1.9.0 with python 3.4 and the results are terrible: numpy.array takes 20s, but the other routines are slowed down, for examp

Re: [Numpy-discussion] performance of numpy.array()

2015-04-29 Thread Julian Taylor
On 29.04.2015 17:50, Robert Kern wrote: > On Wed, Apr 29, 2015 at 4:05 PM, simona bellavista > wrote: >> >> I work on two distinct scientific clusters. I have run the same python > code on the two clusters and I have noticed that one is faster by an > order of magnitude th

Re: [Numpy-discussion] performance of numpy.array()

2015-04-29 Thread Julian Taylor
numpy 1.9 makes array(list) performance similar in performance to vstack in 1.8 its very slow. On 29.04.2015 17:40, simona bellavista wrote: > on cluster A 1.9.0 and on cluster B 1.8.2 > > 2015-04-29 17:18 GMT+02:00 Nick Papior Andersen >: > > Compile it yoursel

Re: [Numpy-discussion] performance of numpy.array()

2015-04-29 Thread Robert Kern
On Wed, Apr 29, 2015 at 4:05 PM, simona bellavista wrote: > > I work on two distinct scientific clusters. I have run the same python code on the two clusters and I have noticed that one is faster by an order of magnitude than the other (1min vs 10min, this is important because I run this function

Re: [Numpy-discussion] performance of numpy.array()

2015-04-29 Thread Sebastian Berg
There was a major improvement to np.array in some cases. You can probably work around this by using np.concatenate instead of np.array in your case (depends on the usecase, but I will guess you have code doing: np.array([arr1, arr2, arr3]) or similar. If your use case is different, you may be ou

Re: [Numpy-discussion] performance of numpy.array()

2015-04-29 Thread Nick Papior Andersen
You could try and install your own numpy to check whether that resolves the problem. 2015-04-29 17:40 GMT+02:00 simona bellavista : > on cluster A 1.9.0 and on cluster B 1.8.2 > > 2015-04-29 17:18 GMT+02:00 Nick Papior Andersen : > >> Compile it yourself to know the limitations/benefits of the de

Re: [Numpy-discussion] performance of numpy.array()

2015-04-29 Thread simona bellavista
on cluster A 1.9.0 and on cluster B 1.8.2 2015-04-29 17:18 GMT+02:00 Nick Papior Andersen : > Compile it yourself to know the limitations/benefits of the dependency > libraries. > > Otherwise, have you checked which versions of numpy they are, i.e. are > they the same version? > > 2015-04-29 17:0

Re: [Numpy-discussion] performance of numpy.array()

2015-04-29 Thread Nick Papior Andersen
Compile it yourself to know the limitations/benefits of the dependency libraries. Otherwise, have you checked which versions of numpy they are, i.e. are they the same version? 2015-04-29 17:05 GMT+02:00 simona bellavista : > I work on two distinct scientific clusters. I have run the same python

[Numpy-discussion] performance of numpy.array()

2015-04-29 Thread simona bellavista
I work on two distinct scientific clusters. I have run the same python code on the two clusters and I have noticed that one is faster by an order of magnitude than the other (1min vs 10min, this is important because I run this function many times). I have investigated with a profiler and I have fo