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.
Log in to post a comment.