Re: [Numpy-discussion] Numpy question

2011-05-27 Thread Christopher Barker
On 5/27/11 11:06 AM, Talla wrote: > I am using python24 and Numeric under windows XP and I am trying to > create *.agr file from *.dbs file, I followed the instructions very > carefully and every time I am getting the following message: > Traceback (most recent call last): >File "AbinitBandStru

[Numpy-discussion] Numpy question

2011-05-27 Thread Talla
Hello Sir: I am using python24 and Numaric under windows XP and I am trying to create *.agr file from *.dbs file, I followed the instructions very carefully and every time I am getting the following message: Traceback (most recent call last): File "AbinitBandStructuremaker.py", line 1274, in ?

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Bruce Southey
On 05/26/2011 10:13 AM, Derek Homeier wrote: > On 26 May 2011, at 11:17, Talla wrote: > >> Below is the output of the coammands you mentioned. >> >> C:\>python >> Python 2.6.2 (r262:71600, Jul 7 2009, 20:21:09) [MSC v.1500 32 bit >> (Intel)] on win3 >> Type "help", "copyright", "credits" or "licen

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Derek Homeier
On 26 May 2011, at 11:17, Talla wrote: > Below is the output of the coammands you mentioned. > > C:\>python > Python 2.6.2 (r262:71600, Jul 7 2009, 20:21:09) [MSC v.1500 32 bit > (Intel)] on win3 > Type "help", "copyright", "credits" or "license" for more information. > >>> import numpy > >>> p

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Pauli Virtanen
Thu, 26 May 2011 12:04:29 +0300, Talla wrote: [clip] > however I tried to > install numeric and python 2.4 as you suggested and I got a new error > message: > C:\Python24>python AbinitBandStructureMaker.py 'import site' failed; use > -v for traceback Traceback (most recent call last): > File "Ab

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Talla
Hello Below is the output of the coammands you mentioned. C:\>python Python 2.6.2 (r262:71600, Jul 7 2009, 20:21:09) [MSC v.1500 32 bit (Intel)] on win3 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> print(numpy.arange(3)) [0 1 2] >>> Which looks to m

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Scott Sinclair
On 26 May 2011 10:37, Talla wrote: > C:\Python27> > In addition when I run import command I got ('import' is not recognized as > an internal or external command, operable program or batch file.) import is not a command you can run at your command line, it's part of Python. Do something like this

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Pauli Virtanen
Thu, 26 May 2011 11:37:38 +0300, Talla wrote: [clip] > C:\Python27>python AbinitBandStructureMaker.py Traceback (most recent > call last): > File "AbinitBandStructureMaker.py", line 16, in > from Numeric import * > ImportError: No module named Numeric > > C:\Python27> > In addition when I r

[Numpy-discussion] Numpy question

2011-05-26 Thread Talla
Hello I installed python2.7 and numpy on windows XP and the installation goes very smooth, now when I am trying to run a python script to get the band structure I got the following message: C:\Python27>python AbinitBandStructureMaker.py Traceback (most recent call last): File "AbinitBandStructur

Re: [Numpy-discussion] Numpy question: Best hardware for Numpy?

2009-09-22 Thread Bruce Southey
On 09/22/2009 02:52 AM, Romain Brette wrote: > David Warde-Farley a écrit : > >> On 21-Sep-09, at 10:53 AM, David Cournapeau wrote: >> >> >>> Concerning the hardware, I have just bought a core i7 (the cheapest >>> model is ~ 200$ now, with 4 cores and 8 Mb of shared cache), and the >>> th

Re: [Numpy-discussion] Numpy question: Best hardware for Numpy?

2009-09-22 Thread Romain Brette
David Warde-Farley a écrit : > On 21-Sep-09, at 10:53 AM, David Cournapeau wrote: > >> Concerning the hardware, I have just bought a core i7 (the cheapest >> model is ~ 200$ now, with 4 cores and 8 Mb of shared cache), and the >> thing flies for floating point computation. My last computer was a >

Re: [Numpy-discussion] Numpy question: Best hardware for Numpy?

2009-09-21 Thread David Warde-Farley
On 21-Sep-09, at 10:53 AM, David Cournapeau wrote: > Concerning the hardware, I have just bought a core i7 (the cheapest > model is ~ 200$ now, with 4 cores and 8 Mb of shared cache), and the > thing flies for floating point computation. My last computer was a > pentium 4 so I don't have a lot of

Re: [Numpy-discussion] Numpy question: Best hardware for Numpy?

2009-09-21 Thread Chris Colbert
Just because I have a ruler handy :) On my laptop with qx9300, I invert that 5000, 5000 double (float64) matrix in 14.67s. Granted my cpu cores were all at about 75 degrees during that process.. Cheers! Chris On Mon, Sep 21, 2009 at 4:53 PM, David Cournapeau wrote: > On Mon, Sep 21, 2009

Re: [Numpy-discussion] Numpy question: Best hardware for Numpy?

2009-09-21 Thread David Cournapeau
On Mon, Sep 21, 2009 at 8:59 PM, Romain Brette wrote: > David Warde-Farley a écrit : >> On 20-Sep-09, at 2:17 PM, Romain Brette wrote: >> >>> Would anyone have thoughts about what the best hardware would be for >>> Numpy? In >>> particular, I am wondering about Intel Core i7 vs Xeon. Also, I feel

Re: [Numpy-discussion] Numpy question: Best hardware for Numpy?

2009-09-21 Thread René Dudfield
hi, Definitely memory speed is probably the biggest thing to consider. Also using 64bit if you need to do lots of calculations, and cache things. ACML is another alternative... but I've never tried linking it with numpy http://developer.amd.com/cpu/Libraries/acml/Pages/default.aspx AMD Phenom II

Re: [Numpy-discussion] Numpy question: Best hardware for Numpy?

2009-09-21 Thread Francesc Alted
A Monday 21 September 2009 13:59:39 Romain Brette escrigué: > David Warde-Farley a écrit : > > On 20-Sep-09, at 2:17 PM, Romain Brette wrote: > >> Would anyone have thoughts about what the best hardware would be for > >> Numpy? In > >> particular, I am wondering about Intel Core i7 vs Xeon. Also, I

Re: [Numpy-discussion] Numpy question: Best hardware for Numpy?

2009-09-21 Thread Romain Brette
David Warde-Farley a écrit : > On 20-Sep-09, at 2:17 PM, Romain Brette wrote: > >> Would anyone have thoughts about what the best hardware would be for >> Numpy? In >> particular, I am wondering about Intel Core i7 vs Xeon. Also, I feel >> that the >> limiting factor might be memory speed and cach

Re: [Numpy-discussion] Numpy question: Best hardware for Numpy?

2009-09-20 Thread David Warde-Farley
On 20-Sep-09, at 2:17 PM, Romain Brette wrote: > Would anyone have thoughts about what the best hardware would be for > Numpy? In > particular, I am wondering about Intel Core i7 vs Xeon. Also, I feel > that the > limiting factor might be memory speed and cache rather than > processor speed. > W

[Numpy-discussion] Numpy question: Best hardware for Numpy?

2009-09-20 Thread Romain Brette
Hi, Would anyone have thoughts about what the best hardware would be for Numpy? In particular, I am wondering about Intel Core i7 vs Xeon. Also, I feel that the limiting factor might be memory speed and cache rather than processor speed. What do you think? Best, Romain