easyblock = 'Toolchain'

name = 'intel'
version = '2017b'

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 = '2017.5.239'
local_gccver = '6.3.0'
local_binutilsver = '2.27'
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', '2017.4.239', '', ('iccifort', '%s%s' % (local_compver, local_gccsuff))),
    ('imkl', '2017.4.239', '', ('iimpi', version)),
]

moduleclass = 'toolchain'
