Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-24 Thread David Cournapeau
Kurt Smith wrote: > On Wed, Jun 24, 2009 at 9:05 AM, David > Cournapeau wrote: > >> Kurt Smith wrote: >> >>> On Tue, Jun 23, 2009 at 10:17 PM, David Cournapeau >>> wrote: >>> >>> >>> If possible, you should not build executables, it is not portable. Compiling and linking i

Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-24 Thread Kurt Smith
On Wed, Jun 24, 2009 at 9:05 AM, David Cournapeau wrote: > Kurt Smith wrote: >> On Tue, Jun 23, 2009 at 10:17 PM, David Cournapeau wrote: >> >> >>> If possible, you should not build executables, it is not portable. >>> Compiling and linking is Ok, running is not. For a tool which is aimed >>> a gen

Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-24 Thread David Cournapeau
Kurt Smith wrote: > On Tue, Jun 23, 2009 at 10:17 PM, David Cournapeau wrote: > > >> If possible, you should not build executables, it is not portable. >> Compiling and linking is Ok, running is not. For a tool which is aimed >> a general use, I think this is important. Knowing the exact tests >

Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-24 Thread Kurt Smith
On Tue, Jun 23, 2009 at 10:17 PM, David Cournapeau wrote: > If possible, you should not build executables, it is not portable. > Compiling and linking is Ok, running is not. For a tool which is aimed > a general use, I think this is important. Knowing the exact tests > needed by the OP would help

Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-23 Thread David Cournapeau
On Wed, Jun 24, 2009 at 3:41 AM, Lisandro Dalcin wrote: > On Mon, Jun 22, 2009 at 11:53 PM, Kurt Smith wrote: >> Hello, >> >> Is there a way for numpy.distutils to compile a fortran source file >> into an executable? > > If the whole point of building the executable is to run it in order to > parse

Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-23 Thread Kurt Smith
On Tue, Jun 23, 2009 at 1:41 PM, Lisandro Dalcin wrote: > On Mon, Jun 22, 2009 at 11:53 PM, Kurt Smith wrote: >> Hello, >> >> Is there a way for numpy.distutils to compile a fortran source file >> into an executable? > > If the whole point of building the executable is to run it in order to > parse

Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-23 Thread Lisandro Dalcin
On Mon, Jun 22, 2009 at 11:53 PM, Kurt Smith wrote: > Hello, > > Is there a way for numpy.distutils to compile a fortran source file > into an executable? If the whole point of building the executable is to run it in order to parse the output, then you can start with this: $ cat setup.py from num

[Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-22 Thread Kurt Smith
Hello, I'm working under the able mentoring of Dag Sverre Seljebotn to implement a GSoC project informally known as 'f2cy'. From the 10,000 meter view, f2cy will (1) wrap fortran 77/90/95 code into a python module (reproducing f2py in this regard) with full support for assumed-shape fortran array