Data Reshaping Restrictions/1
The DISTRIBUTE_RESHAPE directive declares that the program makes no assumptions about the storage lay out of the array
Array reshaping is legal only under certain conditions :
- an array can be declared with only one of these options
- default (no (re-)shaping)
- distribute
- distribute_reshape
- it will keep the declared attribute for the duration of the program
- reshaped array cannot be re-distributed
- a reshaped array cannot be equivalenced to another array
- explicitly through an equivalence statment
- implicitly through multiple declarations of a common block
-
- if an array in a common block is reshaped, all declarations of that common block must:
- contain an array at the same offset within the common block
- declare that array with the same number of dimensions and same size
- specify the same reshaped distribution for the array