Intel Compiler
An academic license to IntelĀ® Parallel Studio XE Cluster Edition
for Linux has been purchased and the compiler is therefore
available to every user at HPC/UCPH. The compiler (ifort or
icc) is available via Modules.
To enable the compiler:
$ module load intel
This will setup the default version of the compilers. To see which
modules are loaded or available:
$ module list
Currently Loaded Modulefiles:
1) /intel/15.0.3
$ module avail
------------- /usr/share/Modules/modulefiles -------
dot module-info null
module-git modules use.own
------------- /opt/mellanox/bupc/2.2/modules -------
bupc/2.2
-------------- /software/local/modulefiles/ --------
intel/15.0.1 intel/15.0.2 intel/15.0.3
intelmpi/5.0.2.044 intelmpi/5.0.3.048
With Modules, it is possible to unload a module - eg. to switch to
another version of the compiler:
$ module list
No Modulefiles Currently Loaded.
Currently Loaded Modulefiles:
1) /intel/15.0.3
$ ifort --version
ifort (IFORT) 15.0.3 20150407
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.
$ icc --version
icc (ICC) 15.0.3 20150407
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.
$ module unload intel
$ module list
No Modulefiles Currently Loaded.
$ module load intel/15.0.1
$ module list
Currently Loaded Modulefiles:
1) /intel/15.0.1
$ icc --version
icc (ICC) 15.0.1 20141023
Copyright (C) 1985-2014 Intel Corporation. All rights reserved.
Issues, when connecting from Mac OS X
Apparently Mac OS X needs the following:
$ export LANG=en_US.utf8
$ export LC_ALL=en_US.utf8
|