Is there an intrinsic way to transpose N-dim arrays?

Intel Fortran team has confirmed among themselves and also with some on the standard committee (from what I can surmise) that this is a conformant use of the RANK intrinsic that was introduced starting Fortran 2018.

They have escalated this issue to their compiler engineering team for a fix in a future release.

2 Likes

Thanks, @FortranFan, and everybody for your ideas!