Intel Compilers

Intel compilers offer a highly optimized way to work with and compile your code. We currently have a number of versions available for academic use, and recommend the latest: OneAPI 2021. The suite include C/C++ (icc/icpc), Fortran (ifort), and the Math Kernel Library (MKL).

Choosing a Version

We do not set a default version of Intel compilers in the cluster!

To list the available versions:

qlogin
module avail intel 
-------------------------------------- /etc/modulefiles ---------------------------------------
intel/intel-2013 intel/intel-2020 intel/intel-oneapi-2021

Note: there may be more-recent versions, as well.

To use these newer version (and recommended latest GCC compiler), please modify your ~/.bashrc file as follows:

## START MODULE SELECTION
if [[ ! $(echo $TAGNAME |egrep "^hpc3-(login|desktop|qmaster)*$") ]]; then
... other modules ...
    module load intel/intel-oneapi-2021
fi
## END MODULE SELECTION

If you don’t want to permanently set your Intel compiler version for all sessions (qlogin or qsub), which could be useful in the long term for different projects, you can instead use those commands after qlogin, or within your qsub job script file before you use the product.