How to select different update of Intel® Composer XE 2011 for Linux* and Mac OS* X

Reference Number : dpd200194608, dpd200160631

Version : 2011 (Compiler 12.0)

Product : Intel Composer XE 

Operating System : Linux, Mac OS X


Problem Description
:  When an Intel Composer XE update is installed, the scripts compilervars.sh [.csh] in the bin directories of previously installed compilers no longer set the environment for the corresponding compiler or update, but set the environment for the most recent update instead. This applies to all components of Intel Composer XE that may be present: C/C++ and Fortran Compilers; Intel Debugger; Intel Threading Building Blocks; Intel Math Kernel Library and Intel Performance Primitives.


Workaround: 
To select a compiler update other than the latest, please use the script compilervars_arch.sh [.csh] from the bin directory of the desired compiler version. Similarly, for other components of Intel Composer XE, use the scripts idbvars.sh, tbbvars.sh, mklvars.sh and ippvars.sh from the bin directory of the desired version, as needed.

Resolution Status:
The issue has been fixed in Composer XE update #4.  To select a specific version, use the compilervars.[c]sh script from the version-specific directory.  For example, after installing update #4 on a system where update #3 was already installed:

> source /opt/intel/composerxe-2011.3.174/bin/compilervars.sh intel64  <<<=== update #3

> ifort -V
Intel® Fortran Intel® 64 Compiler XE for applications running on Intel® 64, Version 12.0.3.174 Build 20110309

> source /opt/intel/composerxe-2011.4.191/bin/compilervars.sh intel64 <<<== update #4

> ifort -V
Intel® Fortran Intel® 64 Compiler XE for applications running on Intel® 64, Version 12.0.4.191 Build 20110427

As before, the script from the generic, non-version specific directory will initialize for the most recent update:

> source /opt/intel/composerxe-2011/bin/compilervars.sh intel64  <<<=== non-version specific (most recent update)
> ifort -V
Intel® Fortran Intel® 64 Compiler XE for applications running on Intel® 64, Version 12.0.4.191 Build 20110427





[DISCLAIMER: The information on this web site is intended for hardware system manufacturers and software developers. Intel does not warrant the accuracy, completeness or utility of any information on this site. Intel may make changes to the information or the site at any time without notice. Intel makes no commitment to update the information at this site. ALL INFORMATION PROVIDED ON THIS WEBSITE IS PROVIDED "as is" without any express, implied, or statutory warranty of any kind including but not limited to warranties of merchantability, non-infringement of intellectual property, or fitness for any particular purpose. Independent companies manufacture the third-party products that are mentioned on this site. Intel is not responsible for the quality or performance of third-party products and makes no representation or warranty regarding such products. The third-party supplier remains solely responsible for the design, manufacture, sale and functionality of its products. Intel and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others.]
For more complete information about compiler optimizations, see our Optimization Notice.