Re: [Numpy-discussion] accessing FORTRAN from Python

2006-11-14 Thread Hanno Klemm
Hi Christian, I send this off-list as there are probably a lot more knowledgeable people around there. However, I don't entirely understand your problem (I'm not on the f2py list). What happens if you try: C file hello.f subroutine foo(a) integer a Cf2py intent(in) a pr

Re: [Numpy-discussion] accessing FORTRAN from Python

2006-11-14 Thread Christian Meesters
On Tuesday 14 November 2006 18:01, Robert Kern wrote: > > I don't believe anyone has posted anything about calling FORTRAN code using > ctypes. Why aren't you using f2py? What if we just forget about my last post? (I guess I was doing way too many things in parallel, stumbled across the g95 site a

Re: [Numpy-discussion] accessing FORTRAN from Python

2006-11-14 Thread Robert Kern
Christian Meesters wrote: > Hoi, > > thanks to Robert Kern who helped me out yesterday on the f2py-list, I was > able > to make some progress in accessing FORTRAN from Python. But only some > progress ... > > If I have the following code, named 'hello.f': > C File hello.f > subroutine fo

[Numpy-discussion] accessing FORTRAN from Python

2006-11-14 Thread Christian Meesters
Hoi, thanks to Robert Kern who helped me out yesterday on the f2py-list, I was able to make some progress in accessing FORTRAN from Python. But only some progress ... If I have the following code, named 'hello.f': C File hello.f subroutine foo (a) integer a print*, "Hello from