easyblock = 'Toolchain'

name = 'intel'
version = '2018'

homepage = 'http://software.intel.com/en-us/intel-cluster-toolkit-compiler/'
description = """Intel Cluster Toolkit Compiler Edition provides Intel C/C++ and Fortran compilers, Intel MPI &
 Intel MKL."""

toolchain = {'name': 'dummy', 'version': 'dummy'}

compver = '2018.0.128'
gccver = '6.4.0'
binutilsver = '2.28'
gccsuff = '-GCC-%s-%s' % (gccver, binutilsver)
dependencies = [
    ('GCCcore', gccver),
    ('binutils', binutilsver, '-GCCcore-%s' % gccver),
    ('icc', compver, gccsuff),
    ('ifort', compver, gccsuff),
    ('impi', compver, '', ('iccifort', '%s%s' % (compver, gccsuff))),
    ('imkl', compver, '', ('iimpi', version + gccsuff)),
]

moduleclass = 'toolchain'
