On 03/12/15 22:38, Eric Firing wrote:
Right, but for each function that requires writing two wrappers, one in
Fortran and a second one in cython.
Yes, you need two wrappers for each function, one in Cython and one in
Fortran 2003. That is what fwrap is supposed to automate, but it has
been a
On Tue, Jul 14, 2015 at 10:13 PM Sturla Molden
wrote:
> Eric Firing wrote:
>
> > I'm curious: has anyone been looking into what it would take to enable
> > f2py to handle modern Fortran in general? And into prospects for
> > getting such an effort funded?
>
> No need. Use Cython and Fortran 200
On 2015/12/03 11:08 AM, Yuxiang Wang wrote:
Too add to Sturla - I think this is what he mentioned but in more details:
http://www.fortran90.org/src/best-practices.html#interfacing-with-python
Right, but for each function that requires writing two wrappers, one in
Fortran and a second one in c
Too add to Sturla - I think this is what he mentioned but in more details:
http://www.fortran90.org/src/best-practices.html#interfacing-with-python
Shawn
On Tue, Jul 14, 2015 at 9:45 PM, Sturla Molden wrote:
> Eric Firing wrote:
>
>> I'm curious: has anyone been looking into what it would take
f90wrap [1] extends the functionality of f2py, and can automatically
generate sensible wrappers for certain cases.
[1] https://github.com/jameskermode/f90wrap
On 15 July 2015 at 03:45, Sturla Molden wrote:
> Eric Firing wrote:
>
> > I'm curious: has anyone been looking into what it would take t
Eric Firing wrote:
> I'm curious: has anyone been looking into what it would take to enable
> f2py to handle modern Fortran in general? And into prospects for
> getting such an effort funded?
No need. Use Cython and Fortran 2003 ISO C bindings. That is the only
portable way to interop between
F2py is a great tool, but my impression is that it is being left behind
by the evolution of Fortran from F90 onward. This is unfortunate; it
would be nice to be able to easily wrap new Fortran libraries.
I'm curious: has anyone been looking into what it would take to enable
f2py to handle mode