[SciPy-dev] [mailinglist] Re: NNLS

Uwe Schmitt uschmitt@mineway...
Sat Jul 26 08:29:28 CDT 2008


Am 24.07.2008 um 20:37 schrieb Robert Kern:

> 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.

It works now. Using a naked VM with WinXP and Enthoughtedietion 2.5.1
did it.

>
>
>> 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.
> .

Ok
>
>> 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.
>

Ok, I will look at scipy.optimize and will develop the module.
I will send you the result per email.

Greetings, Uwe

> -- 
> 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
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev



More information about the Scipy-dev mailing list