Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26730 Discussions

Optimization for specific CPU model/architecture?

Ioannis_K_
Novice
68 Views

Hello, 

I have the Intel Fortran Compiler (XE 14.0.0.103) and I am using it in a desktop PC which has a Xeon E5-2690v2 CPU (Ivy Bridge). I wanted to ask if I can ask the compiler (my own specific version or even newer versions) to create optimal code targeting to the specific CPU model (or architecture). If yes, how can I do it when building in Windows (through Visual Studio) and Linux?  

Many thanks in advance for the help.

0 Kudos
1 Reply
mecej4
Black Belt
68 Views

Please see https://software.intel.com/en-us/fortran-compiler-developer-guide-and-reference-x-qx . Since you have an older compiler, the specific suboptions that pertain to CPU models that were released in subsequent years to your compiler's release date will not be available with your compiler.

Reply