How to change the Parallel Studio version integrated into Visual Studio

Problem : 
Only one version of Intel® Parallel Studio can be integrated with any one version of Microsoft Visual Studio* at a time. Therefore, if you have Intel Parallel Studio installed on your system and then install a different version along side of it, the newly installed version will be integrated into Visual Studio in place of the previously installed version - this means you will see the newly installed Parallel Studio toolbars, menu items, etc. 

You can control which version of Intel Parallel Studio you use with a particular Visual Studio by performing the steps outlined below.

Environment: 
Windows systems with Microsoft Visual Studio 2005, 2008, and/or 2010 installed along with multiple versions of Intel Parallel Studio.

Root Cause: 
Limit of one Parallel Studio integrated with a version of Visual Studio.

Resolution: 
You will need to change the version of Parallel Studio that is integrated with a particular version of Visual Studio.  This will need to be done for each component of the Parallel Studio that you have installed. 

  1. Begin by removing the integration from the version that is currently integrated.

For  Intel Parallel Amplifier or Intel Parallel Inspector, start by opening the Command Prompt window for the version of Parallel Studio you wish to disable. For example:

To open an Intel Parallel Studio 2011 command prompt in the Visual Studio 2005 mode:

Start > All Programs > Intel Parallel Studio 2011 > Command Prompt > IA 32 Visual Studio 2005 mode

To open an Intel Parallel Studio command prompt in the Visual Studio 2008 mode:  

Start > All Programs > Intel Parallel Studio > Command Prompt > IA 32 Visual Studio 2008 mode

 

Now invoke the appropriate script to disable the integration:

Tool

Visual Studio 2005

Visual Studio 2008

Visual Studio 2010

Intel Parallel Amplifier

ampl-vsreg disable vs2005

ampl-vsreg disable vs2008

ampl-vsreg disable vs2010

Intel Parallel Amplifier 2011

ampl-vsreg --disable 2005

ampl-vsreg --disable 2008

ampl-vsreg --disable 2010

Intel Parallel Inspector

insp-vsreg disable vs2005

insp-vsreg disable vs2008

insp-vsreg disable vs2010

Intel Parallel Inspector 2011

insp-vsreg --disable 2005

insp-vsreg --disable 2008

insp-vsreg --disable 2010



For Intel Parallel Composer use the Control Panel > Add/Remove Programs for the version you want to disable:


Select Modify and disable the following options:

○ Integrated Documentation
○ Intel Parallel Debugger Extension
○ Integration(s) in Microsoft Visual Studio

            Select Next > Modify


  1. Enable the Visual Studio integration.   

For  Intel Parallel Amplifier or Intel Parallel Inspector, start by opening the Command Prompt window for the version of Parallel Studio you wish to enable, then invoke the appropriate script to enable the integration:

 

Tool

Visual Studio 2005

Visual Studio 2008

Visual Studio 2010

Intel Parallel Amplifier

ampl-vsreg integrate vs2005

ampl-vsreg integrate vs2008

ampl-vsreg integrate vs2010

Intel Parallel Amplifier 2011

ampl-vsreg --integrate 2005

ampl-vsreg --integrate 2008

ampl-vsreg --integrate 2010

Intel Parallel Inspector

insp-vsreg integrate vs2005

insp-vsreg integrate vs2008

insp-vsreg integrate vs2010

Intel Parallel Inspector 2011

insp-vsreg --integrate 2005

insp-vsreg --integrate 2008

insp-vsreg --integrate 2010

 


For Intel Parallel Composer use the Control Panel > Add/Remove Programs entry for the version you want to enable:


Select Modify and enable the following options:

○ Integrated Documentation
○ Intel Parallel Debugger Extension
○ Integration(s) in Microsoft Visual Studio

Select the Visual Studio versions you would like to enable integration with.
Select Next > Modify
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.