Intel compilers

From Toolserver wiki
Jump to: navigation, search
Getting started
Note: nightshade will be converted to Solaris on January 3rd, 2011, after which the Intel compilers will no longer be available.

This page describes how to use the Intel C, C++ and FORTRAN compilers on the toolserver (on nightshade).

[edit] License

The Intel compilers require a license to use. You can get a free license if you are using it for non-commercial purposes (this includes most toolserver users).

  1. Go to
  2. Click "IntelĀ® C++ Compiler Professional Edition for Linux"
  3. Fill in the form and submit it.
  4. You will be taken to a download page. Don't download anything.
  5. Intel will send you mail with the license file (named *.lic) attached. Create a directory $HOME/intel/licenses/ on nightshade, and copy the file there. The compiler should now work.

[edit] Compiling

The C compiler is icc:

$ icc myprogram.c -o myprogram

The C++ compiler is icpc:

$ icpc -o myprogram

The FORTRAN compiler is ifort:

$ ifort myprogram.f90 -o myprogram
Personal tools