Installing the intel compiler on ubuntu
In order to setup the various enviroment variables required for the intel compliers run the following commands
source <path/to/icc/install/dir>/iccvars.sh
source <path/to/ifort/install/dir>/ifortvars.sh
or add these lines to you .bash_profile, .bashrc, .login or other appropriate location.
Alternatively links to iccvars.sh and ifortvars.sh can be placed in /etc/profile.d.
Note:
- If you have problems with iccvars.sh and ifortvars.sh when used in /etc/profile.d, add these two lines to the end of /etc/bash.bashrc instead. (This may be true for some revisions of ubuntu 8.04).