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

How do I enable IPO optimization from within Visual Studio 2008?

Henrik_S_
Beginner
1,374 Views

Hello,
It is not clear to me how to enable /Qipo from within the Visual Studio 2008 IDE. I can get it to work from the command line without any problems, but the doc's do not list an IDE equivalent. In the IPO section of the help file it states:

Using IPO "This topic discusses how to use IPO from a command line. For specific information on using IPO from within an Integrated Development Environment (IDE), refer to the appropriate section in Building Applications."

I cannot find the "appropriate section in Building Applications." So, could someone point me to the right place? Where and how do I enable IPO optimization in the Visual Studio 2008 IDE?

Thanks,

- Henrik
0 Kudos
5 Replies
Nicolae_P_Intel
Employee
1,374 Views

For VS2005 (it should not be that different in VS 2008) you need to look into the project properties in the IDE and in the optimization tree entry(for both the compiler and linker) you'll need to enable the Interprocedural Optimization (IPO).

Hope this helps.

Nick

0 Kudos
Steven_L_Intel1
Employee
1,374 Views
In version 10.1, there is not a direct property for this. You can go to the Fortran > Command Line property page and type in /Qipo.
0 Kudos
Henrik_S_
Beginner
1,374 Views

Thank you Nick and Steve! I appreciate the reply.

Why was the ability to set this in the menu removed? Is it not fully supported or fully functional when used from the GUI?

- Henrik

0 Kudos
Steven_L_Intel1
Employee
1,374 Views
It was never there to begin with - or rather, at one time it was lumped together with /O3 and then was, wisely, separated.. In version 11, there is a separate property for it: Optimization > Interprocedural Optimization. It is fully supported.

The compiler has many options that are not "exposed" in the GUI. Doing so would make the GUI horribly complicated.
0 Kudos
g_f_thomas
Beginner
1,374 Views

Why not a tidy compact combo(drop-down list) box widget for VS with multiselectfor switches that are not at odds with each other? The problem with not having the switches in the IDE is that you overlook choices and so unwittingly short change yourself. Pasting switches into the Command Line in the IDE has all the disadvantages of typing them willy-nilly on the command prompt or load/link batch file: it's hard to remember which don't play well together and so compelling you to the last resort (RTFM, which on this is as clear as mud). Also, a way of retainingyour favorite switches so that they show up selected in the combo box whenever you open a new project would be a handy.

Gerry

0 Kudos
Reply