[SciPy-dev] [mailinglist] Re: NNLS
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 <email@example.com>
>> Robert Kern schrieb:
>>> On Wed, Jul 23, 2008 at 17:47, Alan G Isaac <firstname.lastname@example.org>
>>> 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,
>> was compiled
>> with MS Visual Studio. But I wanted g77 for compiling the Fortran
>> 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
>> 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.
Ok, I will look at scipy.optimize and will develop the module.
I will send you the result per email.
> 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
More information about the Scipy-dev