Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

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

Kevin_D_Intel
Employee
396 Views

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

0 Kudos
2 Replies
KNAnagnostopoulos
New Contributor I
396 Views
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
0 Kudos
Kevin_D_Intel
Employee
396 Views

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.

0 Kudos
Reply