# Computing

The Intel Fortran compiler (ifort) is a highly optimizing Fortran compiler for Intel CPUs. Code produced by this compiler may also be run on x86 compatible CPUs such as those from AMD.

Availability:

All managed Linux workstations and compute clusters, but use is logged and groups using the compiler are asked for a contribution towards the cost of renewing the licence each year. This is usually fairly modest. Contact support@ch.cam.ac.uk if you would like to see the most recent prices.

Instructions for users:

If you are using the modules environment then you just need to load the appropriate module. It may be loaded for you already.  The name of the module is icc because our package also includes the Intel C/C++ compiler. The name of the compiler program itself is ifort. So for example

$module add icc$ ifort --version

ifort (IFORT) 18.0.5 20180823

There are usually multiple versions of the compiler installed on any given machine, as Intel release a new one fairly often. If you use modules you can easily switch between different versions (see the modules documentation).

Licence Details:

This is commercial licence-managed software. However Intel allows students to register for a free single-user single-machine licence. This cannot cover everyone in the department as many people are not students according to Intel's definition. We therefore have purchased an academic network licence for the department. This allows anyone to use the compiler provided the licence server is available and has a free licence. You do not need the licence in order to run the binaries that the compiler produces, only to compile. You may redistribute the binaries produced, and you may also redistribute with them certain runtime libraries from the compiler suite. A full list of redistributable files may be found in the licenses/fredist.txt file in the compiler's install directory.

Documentation:

The compiler comes with manpages. You may need to load the module to make the manpage available. However most of the documentation is in HTML and PDF form in the doc subdirectory of the compiler's install directory. You will have to use a web browser or PDF reader to view it. A good place to start is the file fcompindex.html.

Source:

### From version 16 (Composer XE 2016) onwards

Thanks to the scripting, all that should be necessary is to complete the following few steps.

• Download the two (cpp & fortran) .tgz 'tarballs' to a local /scratch directory of your own e.g. /scratch/${USER}. • Become root on the same workstation with 'ssh -A root@localhost'. This ensures your ssh key is available, which is needed towards the end of the script for updating environment modules packages on downloads. • Change to directory /scratch/${USER} (or wherever you put the tarballs) and type '/usr/local/shared/sbin/install-intel-<year>.sh <cpp-tarball>.tgz <fortran-tarball>.tgz' where <year> is the year script was last used.

#### Notes on the script

Path to DEBS has been changed to /var/www/html/local-debs for Ubuntu 16.04.
The script should now remove the INSTALLDIR/.scripts directory in its clean tasks and make all .png files in & below BASEDIR/uninstall/images world-readable.

### System status

System monitoring page

## Can't find what you're looking for?

Then you might find our A-Z site index useful. Or, you can search the site using the box at the top of the page, or by clicking here.