Error using compilervars.csh or ippvars.csh - arch: Undefined variable.

Error using compilervars.csh or ippvars.csh - arch: Undefined variable.

Cross posting for the benefit of others. See original thread here: http://software.intel.com/forums/topic/505599

A defect was reported with the Intel® Integrated Performance Primitives (IPP) 8.1 Initial release ippvars.csh file distributed for Linux* (found under: /opt/intel/composer_xe_2013_sp1/ipp).

This may also affect users who install the Intel® Composer XE 2013 SP1 Update 2 release (Package id: l_ccompxe_2013_sp1.2.144) and use the compilervars.csh script (found under: /opt/intel/composer_xe_2013_sp1/bin).

For example:

$ cd /opt/intel/composer_xe_2013_sp1.2.144/bin
$ source ./compilervars.csh intel64
arch: Undefined variable.

Refer to following article for a complete description of the error and work around:
http://software.intel.com/en-us/articles/error-when-using-compilervarscshippvarscsh-arch-undefined-variable

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

The file

$PROD_DIR/ipp/bin/ippvars.csh intel64

 

Has:

-------------------------------------------------------------

  if ( "$1" == "ia32_intel64" ) then 

    setenv arch intel64

   endif

 

Should be something like:

---------------------------------------------------------------

   if ( "$1" == "intel64" ) then 

    setenv arch intel64

   endif

   if ( "$1" == "ia32" ) then 

    setenv arch ia32

   endif

This defect is fixed in the Intel® C++ Composer XE 2013 SP1 Update 3 Release (Version 14.0.3.174 Build 20140422 - Linux) now available from our Intel Registration Center.

Leave a Comment

Please sign in to add a comment. Not a member? Join today