# IT4Innovations 2019

easyblock = 'Toolchain'

name = 'intel'
version = '2019.03'
versionsuffix = '-GCC-9.1.0-2.32'

homepage = 'http://software.intel.com/en-us/intel-cluster-toolkit-local_compiler/'
description = "Compiler toolchain including Intel compilers, Intel MPI and Intel Math Kernel Library (MKL)."

toolchain = SYSTEM

local_compver = '2019.4.227'
local_gccver = '9.1.0'
local_binutilsver = '2.32'
local_gccsuff = '-GCC-%s-%s' % (local_gccver, local_binutilsver)
dependencies = [
    ('GCCcore', local_gccver),
    ('binutils', local_binutilsver, '-GCCcore-%s' % local_gccver),
    ('icc', local_compver, local_gccsuff),
    ('ifort', local_compver, local_gccsuff),
    ('impi', '2019.3.199', '', ('iccifort', '%s%s' % (local_compver, local_gccsuff))),
    ('imkl', '2019.3.199', '', ('iimpi', '%s%s' % (version, local_gccsuff))),
]

modluafooter = 'add_property("state","experimental")'

moduleclass = 'toolchain'
