Intel Compiler
This page describes, how to setup your environment for using our Intel Compiler Installation. The instruction are for bash shell user. If you use a different shell, you know what you are doing and you will be able to translate the configuration.
We provide the recent version 2018 of the Intel compiler suite for Fortran, C/C++ and the full set of performance libraries like MKL, TBB, Cluster_OMP.
The installation path has changed. Intel Parallel Studio is now located in the shared folder /home/software/intel. The links into the bin directory usually link to the latest version installed.
.bashrc
In order to use the installation you have to modify your .bashrc. Open the file with you favorite editor and append the following lines.
#Intel Compiler Setup export LM_LICENSE_FILE="16287@th.physik.uni-frankfurt.de" intel_arch="intel64" ifortvars=/home/software/intel/bin/compilervars.sh if [ -f $ifortvars ]; then . $ifortvars $intel_arch fi
There are similar files with .csh extension for C-Shell users.
After sourcing your .bashrc or opening an new shell you can validate your setup with 'which ifort'. This should point to somewhere in /home/software.
Parts of the license
We own a license for "Intel® Parallel Studio XE Composer Edition for Fortran and C++ Linux" which includes the following components:
- Intel® Parallel Studio XE Composer Edition for Fortran and C++ Linux
- Intel® Data Analytics Acceleration Library for Linux
- Intel® Distribution for Python for Linux
- Intel® HD Graphics Drivers for Linux
- Intel® Integrated Performance Primitives for Linux
- Intel® Math Kernel Library for Linux
- Intel® Parallel Studio XE Composer Edition for C++ Linux
- Intel® Parallel Studio XE Composer Edition for Fortran Linux
- Intel® Threading Building Blocks for Linux
- Intel® Xeon Phi™ processor software Linux
Implicit parallelization
This version of MKL has internal parallel code (based on openMP) which uses all CPUs in the system. This is fine on the desktop as it will speed up your caluclation. But on the compute nodes this will conflict with other jobs running on the same machine. Therefore you have to restrict the number CPUs used to the number of allocated slots in SGE. Your can do this by defining the following environment variable:
export OMP_NUM_THREADS=x
where x is the number of allocated slots. Using 1 means traditional serial processing. You should benchmark your program how many parallel threads will give a reasonable performance per CPU value.
Documentation
The comprehensive set of Intel documentation will be found under /home/software/intel/documentation_2018/en.