#1 option for disabling array transpose

open
None
5
2003-11-18
2002-08-17
Anonymous
No

It is nice that pyfort cares for array transpose (row-major
to column-major and back) out of the box. However, one
can choose to implement this in fortran code, e.g.
by calculating array indexes on the fly, which avoids
data movement. To make such implementation foolproof, it
would be good if one could instruct Pyfort to not transpose
data by default, and also to disable the transpose option for
Pyfort functions and the set_pyfort_option function.

Discussion

  • Paul F. Dubois

    Paul F. Dubois - 2003-11-18
    • assigned_to: nobody --> dubois
     
  • Paul F. Dubois

    Paul F. Dubois - 2004-02-11

    Logged In: YES
    user_id=5550

    I agree that I blew the design on this one. I started to fix
    it and realized it was not that simple. My time is limited
    on this these days but I would be happy to accept help.

    My thought is that the option should be eliminated; that the
    way to generate the code is to pick one of the three choices
    with a command-line option to pyfort.

     

Log in to post a comment.