Re: [f2py] FW: Pass a python array on a subroutine
Jürgen Wieferink <[email protected]> Tue, 3 Aug 2010 11:52:55 +0200
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, this is far from minimal or even only simple. I do not know why, but I have gone through the trouble of simplifying it myself. I have attached a truely helper-friendly version of your problem. Your actual problem has nothing to do with f2py. If you would have bothered to test the plain Fortran routine from within Fortran, you would have seen the same problem. Please google for "implicit none" and all its marvelous benefits. I hope I could help, Juergen Audrey Hureau wrote (Tuesday 03 August 2010 11:00:38): > I forgeet to join file enclosed. I'm sorry. Here it is. > > Audrey > > > > > From: [email protected] > To: f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] > Subject: Pass a python array on a subroutine > Date: Tue, 3 Aug 2010 10:58:00 +0200 > > > > > > > > > The simpliest example of my problem is in the file enclosed. I joined all > files needed to compile. I still get an array full of null values. > I've written values in a text file so I can have a look at the values. And > we can see that values are not all nulls. Does anyone can have a look to > python program "appelProj.py" and tell me what's wrong with it? Thanks for > all. > > Cheers, > > Audrey > _______________________________________________ f2py-users mailing list f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] http://cens.ioc.ee/mailman/listinfo/f2py-users
exsimpler.tar.gz
(application/x-compressed-tar, 549 B) - not displayed