Re: [Numpy-discussion] How to write unit tests in distutils ?

2007-10-24 Thread David Cournapeau
David M. Cooke wrote: > David Cournapeau <[EMAIL PROTECTED]> writes: > > >> Hi, >> >> I would like to implement some unit tests for the code I am >> producing for scons support. As the numpy unit test is part of >> distutils, there is a bootstrap problem, and I am not sure I understand >>

Re: [Numpy-discussion] a simple question about f2py

2007-10-24 Thread Lisandro Dalcin
Pauli, I finally understood your idea What a good hack!!! You have to pass an integer array with enough space in order Fortran con store there some extra metadata, no just the buffer pointer, but also dimensions and some other runtime stuff. Many, many, many thanks On 10/24/07, Pauli Vi

Re: [Numpy-discussion] a simple question about f2py

2007-10-24 Thread Lisandro Dalcin
On 10/24/07, Pauli Virtanen <[EMAIL PROTECTED]> wrote: >Using a hack like this, it's also possible to pass derived type object >pointers, "type(Typename), pointer", from the Python side to the >Fortran side, as opaque handles. Could you please send/point me an example of how I can actually pass F

Re: [Numpy-discussion] Fwd: Support universal gfortran compiler on OS X

2007-10-24 Thread Barry Wark
The MacOSX/x86 buildslave at buildbot.scipy.org is running universal gfortran. The output of gfortran -v -arch XX is: siegfried:~ barry$ gfortran -v -arch i386 Using built-in specs. Target: i686-apple-darwin8 Configured with: /Builds/unix/gcc/gcc-4.2/configure --prefix=/usr/local --mandir=/share/m

Re: [Numpy-discussion] a simple question about f2py

2007-10-24 Thread Pauli Virtanen
Lisandro Dalcin <[EMAIL PROTECTED]> kirjoitti: > Im trying to use f2py to wrap some fortran functions wich receive as > argument PETSc objects. The usual way to implement this with > PETSc+fortran is to do something like this > > soubrutine matvec(A,x,y) > Mat A > Vec x > Vec y > end soubrutin

Re: [Numpy-discussion] anyone compiling on IRIX 6.5

2007-10-24 Thread David Cournapeau
[EMAIL PROTECTED] wrote: > David Cournapeau wrote: > >> Python 2.4.4 (#2, May 17 2004, 22:47:37) [C] on irix6 > >> Type "help", "copyright", "credits" or "license" for more information. > > from numpy import * > >> Running from numpy source directory. > > Here is the problem: this means nu

Re: [Numpy-discussion] anyone compiling on IRIX 6.5

2007-10-24 Thread [EMAIL PROTECTED]
David Cournapeau wrote: >> Python 2.4.4 (#2, May 17 2004, 22:47:37) [C] on irix6 >> Type "help", "copyright", "credits" or "license" for more information. > from numpy import * >> Running from numpy source directory. > Here is the problem: this means numpy will NOT work. Two possibilities:

Re: [Numpy-discussion] anyone compiling on IRIX 6.5

2007-10-24 Thread David Cournapeau
[EMAIL PROTECTED] wrote: > Hi David, > David Cournapeau wrote: > >> [EMAIL PROTECTED] wrote: >>> Jarrod Millman wrote: >>> Hello, I am hoping to close a few of the remaining tickets for the upcoming NumPy 1.0.4 release. Is anyone using NumPy on IRIX? Or have access to I

Re: [Numpy-discussion] anyone compiling on IRIX 6.5

2007-10-24 Thread [EMAIL PROTECTED]
Hi David, David Cournapeau wrote: [EMAIL PROTECTED] wrote: Jarrod Millman wrote: Hello, I am hoping to close a few of the remaining tickets for the upcoming NumPy 1.0.4 release. Is anyone using NumPy on IRIX? Or have access to IRIX? If so, could you please take a look at this ticket: ht

Re: [Numpy-discussion] anyone compiling on IRIX 6.5

2007-10-24 Thread David Cournapeau
[EMAIL PROTECTED] wrote: > Jarrod Millman wrote: > >> Hello, >> >> I am hoping to close a few of the remaining tickets for the upcoming >> NumPy 1.0.4 release. Is anyone using NumPy on IRIX? Or have access >> to IRIX? If so, could you please take a look at this ticket: >> http://projects.scip