easyblock = 'Toolchain'

name = 'intel'
version = '2021a'

homepage = 'https://easybuild.readthedocs.io/en/master/Common-toolchains.html#intel-toolchain'
description = "Compiler toolchain including Intel compilers, Intel MPI and Intel Math Kernel Library (MKL)."

toolchain = SYSTEM

local_comp_ver = '2021.2.0'
local_gccver = '10.3.0'
dependencies = [
    ('GCCcore', local_gccver),
    ('binutils', '2.36.1', '', ('GCCcore', local_gccver)),
    ('intel-compilers', local_comp_ver),
    ('impi', local_comp_ver, '', ('intel-compilers', local_comp_ver)),
    ('imkl', local_comp_ver, '', ('iimpi', version)),
]

moduleclass = 'toolchain'
