easyblock = 'Toolchain'

name = 'intel'
version = '2020.00'

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_compver = '2020.0.166'
local_gccver = '9.2.0'
local_gccsuff = '-GCC-%s' % (local_gccver)
dependencies = [
    ('GCCcore', local_gccver),
    ('binutils', '2.32', '', ('GCCcore', local_gccver)),
    ('iccifort', local_compver, local_gccsuff),
    ('impi', '2019.6.166', '', ('iccifort', '%s%s' % (local_compver, local_gccsuff))),
    ('imkl', local_compver, '', ('iimpi', version)),
]

moduleclass = 'toolchain'
