DPDK: Set up ICC on Unbuntu12.04 64-bit
[
edit]
Ubuntu 12.04 64-bit Install ICC
1. Software: l_ccompxe_2013.5.192.tgz
- How to get it?
1)Request license from http://softwareproducts.intel.com/ILC/index.aspx, it is free for Intel employee to use in Intel office.
2)Chose software version:
3)Download the installation package and save the serial number and your licence(attached) after receiving an email which confirm the registration.
2. Dependency Libraries:
sudo apt-get install gcc
sudo apt-get install build-essential
sudo apt-get install g++
Note: for FC18, yum install g++ can't work, need do below command on FC.
sudo yum install gcc-c++
3. Set up
mkdir -p /opt/intel/licenses
cp your/licence/*.lic /opt/intel/licenses
tar zxvf l_ccompxe_2013.5.192.tgz
cd dir/to/ l_ccompxe_2013.5.192
sudo ./install.sh
ps:when let your chose something, just use the default option and press enter continue to install
4. Set Ubuntu env.
- add the next line to .bashrc
sudo gedit ~/.bashrc
source /opt/intel/composerxe-xxxx.xx.xxx/bin/iccvars.sh ia32
- when you still get a error “icc command not found ” when input icc in the terminal, execute next command:
source /opt/intel/bin/compilervars.sh intel64
- Uninstall ICC
/opt/intel/composerxe-xxxx.xx.xxx/bin/uninstall.sh
[
edit]
32-bit ICC Installation on 64-bit machine
- Need install 32-bit libraries on machine. The list can be got from ICC installation missing prerequisites.Below is for FC16.
yum install glibc-devel.i686 yum install libgcc.i686
[
edit]
Preq before installing ICC
yum install gcc-c++ yum install libstdc++.i686