- 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).
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).
- Go to http://www.intel.com/cd/software/products/asmo-na/eng/340679.htm
- Click "Intel® C++ Compiler Professional Edition for Linux"
- Fill in the form and submit it.
- You will be taken to a download page. Don't download anything.
- 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.
The C compiler is icc:
$ icc myprogram.c -o myprogram
The C++ compiler is icpc:
$ icpc myprogram.cc -o myprogram
The FORTRAN compiler is ifort:
$ ifort myprogram.f90 -o myprogram