[Numpy-discussion] My GSoC Proposal to Implement a Subset of NumPy for PyPy

2010-04-16 Thread Dan Roberts
Hello NumPy Users, Hi everybody, my name is Dan Roberts, and my Google Summer of Code proposal was categorized under NumPy rather than PyPy, so it will end up being reviewed by mentors for the NumPy project. I'd like to take this chance to introduce myself and my proposal. I hadn't prepare

Re: [Numpy-discussion] Numpy compilation error

2010-04-16 Thread Robert Kern
On Fri, Apr 16, 2010 at 20:56, wrote: > On Fri, Apr 16, 2010 at 9:47 PM, Pradeep Jha wrote: >> Hi, >> >> before running the make command, it asks me to run the preconfig file. When >> I run preconfig, I get the following warning message during the run: >> checking for python2... /usr/bin/python2

[Numpy-discussion] IPythonQt and IPythonZMQ projects

2010-04-16 Thread Gerardo Gutierrez
Hi all. I'm writting to tell you about some projects we're developing for you and the entire python programmers community. Read some of the documentation of the proposals and please tell us what are your ideas and what do you want or expect to see of this. I'm going to leave you a summary and so

Re: [Numpy-discussion] Numpy compilation error

2010-04-16 Thread josef . pktd
On Fri, Apr 16, 2010 at 9:47 PM, Pradeep Jha wrote: > Hi, > > before running the make command, it asks me to run the preconfig file. When > I run preconfig, I get the following warning message during the run: > checking for python2... /usr/bin/python2 > Python command set by configure to  /usr/bin

Re: [Numpy-discussion] Numpy compilation error

2010-04-16 Thread Pradeep Jha
Hi, before running the make command, it asks me to run the preconfig file. When I run preconfig, I get the following warning message during the run: *checking for python2... /usr/bin/python2 Python command set by configure to /usr/bin/python2 WARNING: NUMPY include dir /nfs/carv/d1/people/pradeep

Re: [Numpy-discussion] Numpy compilation error

2010-04-16 Thread Robert Kern
On Fri, Apr 16, 2010 at 18:53, Pradeep Jha wrote: > Hi, > > I changed it. I am not getting that error anymore, but I get the following > error: > running build > running build_py > running build_ext > building 'Cantera._cantera' extension > g++ -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,

Re: [Numpy-discussion] Numpy compilation error

2010-04-16 Thread Pradeep Jha
Hi, I changed it. I am not getting that error anymore, but I get the following error: *running build running build_py running build_ext building 'Cantera._cantera' extension g++ -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buff

Re: [Numpy-discussion] Numpy compilation error

2010-04-16 Thread Robert Kern
On Fri, Apr 16, 2010 at 17:59, Pradeep Jha wrote: > Hi, > > I am trying to install a software called Cantera which uses numpy. When I > run the make command, during the installation it gives me the following > error: > > /bin/rm -f _build > (CXX="g++"; export CXX; CC="g++"; export CC; CFLAGS="-O3

[Numpy-discussion] Numpy compilation error

2010-04-16 Thread Pradeep Jha
Hi, I am trying to install a software called Cantera which uses numpy. When I run the make command, during the installation it gives me the following error: */bin/rm -f _build (CXX="g++"; export CXX; CC="g++"; export CC; CFLAGS="-O3 -Wall -fPIC"; export CFLAGS; PURIFY=""; export PURIFY; /usr/

[Numpy-discussion] Fortran ordering

2010-04-16 Thread Paul Northug
I'd like to use numpy fortran ordering in order to use some external libraries more easily, but it looks like I don't understand how it works and it is causing transposes that are confusing me. When I define an array as: a = np.array([[1.,2.],[3.,4.]], order='F', type=np.float32) how is it store

Re: [Numpy-discussion] rc2 for NumPy 1.4.1 and Scipy 0.7.2

2010-04-16 Thread Charles سمير Doutriaux
Unfortunately it's not possible... We need to redistribute... And on many Oses... C. On Apr 15, 2010, at 6:54 PM, Ralf Gommers wrote: > > > 2010/4/16 Charles سمير Doutriaux > Thx Ralf, > > I was able to get the 64bit version going. But as I mentioned earlier this > doesn't help me since I

Re: [Numpy-discussion] Numpy+SWIG with arrays in input and output of a function

2010-04-16 Thread Antoine Delmotte
Thank you very much for your help, Bill. It works perfectly now! On 16/04/10 02:07, Bill Spotz wrote: > Antoine, > > You want a python function with two python array arguments, therefore > you are dealing with two different typemaps, each of which requires > its own %apply directive: > > %apply (d

[Numpy-discussion] Very good series of numpy tutorial videos here

2010-04-16 Thread reckoner
FYI, there is a very good series of numpy tutorial videos here: http://showmedo.com/videotutorials/series?name=i9KuJuNcG It covers a wide range of topics, not just the basics. Cheers! ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://

Re: [Numpy-discussion] Find indices of largest elements

2010-04-16 Thread Neal Becker
Nikolaus Rath wrote: > eat writes: >> Nikolaus Rath rath.org> writes: >> >> [snip] >>> Not quite, because I'm interested in the n largest values over all >>> elements, not the largest element in each row or column. But Keith's >>> solution seems to work fine, even though I'm still struggling to