Lets say we have a struct Original as this: class Original { int x; bool y; bool z; }; Due to alignment, the sizeof(Original) is 8 bytes. 4 for the int,
I'm trying to align in memory the following type of data: type foo real, allocatable, dimension(:) :: bar1, bar2 !dir$ attributes align:64 :: bar1 !di