As explained in this post: Why is integer assignment on a naturally aligned variable atomic on x86? : Memory load/store on a byte value - and any correctly alig
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