Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

-align array64byte

Joe_C_4
Beginner
1,437 Views

When attempting to use the switch "-align array64byte", I get the following error message:
          ifort: command line error: Unrecognized keyword 'array64byte' for option '-align'
Admittedly, I'm not using v13 of the compiler. (I am using v12.) Is that the cause of my problem?

0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,437 Views

Yes, it is. That's a newer option. You can use !DEC$ ATTRIBUTES ALIGN for individual arrays if you wish.

0 Kudos
Joe_C_4
Beginner
1,437 Views

Follow-up question...  Is it "!DEC$ ATTRIBUTES ALIGN" or "!DIR$ ATTRIBUTES ALIGN"?

0 Kudos
Steven_L_Intel1
Employee
1,437 Views

Either will work. !DEC$ is traditional (for us), but we support !DIR$ too.

0 Kudos
Reply