[SciPy-dev] [mailinglist] Re: NNLS

Robert Kern robert.kern@gmail....
Thu Jul 24 13:37:57 CDT 2008

On Thu, Jul 24, 2008 at 03:35, Uwe Schmitt <uschmitt@mineway.de> wrote:
> Robert Kern schrieb:
>> On Wed, Jul 23, 2008 at 17:47, Alan G Isaac <aisaac@american.edu> wrote:
>> Well, I'd prefer an f2py version rather than a ctypes version, but yes, please.
> I had some problems because my local python.exe is from Enthought, which
> was compiled
> with MS Visual Studio. But I wanted g77 for compiling the Fortran code,
> which gives some problems when using f2py.

Can you describe these problems? The g77 we distribute with EPD is
compatible with the compiler used to build the Python executable, at
least when used from distutils. But basically, we can't use ctypes for
Fortran code in scipy. The calling conventions are different between
Fortran compilers; f2py has worked out most of these, but I have seen
no equivalent work done for ctypes. Additionally, the story for
building non-extension shared libraries inside scipy is not really
worked out, yet.

> Do you have some conventions about code layout, directory layort, etc  ?

I suspect this should go into scipy.optimize, so look into integrating it there.

> How can I contribute the code ? Shall I post a link ?

If you would like someone else to take a look at it first, then please
do post a link. However, I will arrange for you to get SVN access. I
recommend working on a branch first.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco

More information about the Scipy-dev mailing list