Hello all,

I've normally only had to build a list of words from a f2py fortran
character array.
For this I found the transpose method to work fine.

However I have had difficulty finding a way of getting a 3d array of words
from
Fortran to python. (I.e. 4d in python)

I've attached 2 files that are my test-run.  On windows I create the
windummy.prd file by using the following command:
python C:\Python26\Scripts\f2py.py -c -m windummy --fcompiler=gnu95
--compiler=mingw32 -lmsvcr90 --verbose dummy.f95

or in linux
f2py -c -m lindummy --fcompiler=gnu95 --verbose dummy.f95

My problem is a bit "Morecambe & Wise" in that I can get all the 3-letter
words,
but not necessarily in the right order.

I have tried various transpose methods to try and get things in order but
with no
luck.  There's very little on the boards.

Any help would be *MASSIVELY* appreciated.

Many thanks in advance, HF

Attachment: dummy.f95
Description: Binary data

Attachment: dummy.py
Description: Binary data

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to