easyblock = "Toolchain"

name = 'iomkl'
version = '2017.01'

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

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

compver = '2017.1.132'
gcc_maj_min = '5.4'
gccver = '%s.0' % gcc_maj_min
binutilsver = '2.26'
gccsuff = '-GCC-%s-%s' % (gccver, binutilsver)

dependencies = [
    ('icc', compver, gccsuff),
    ('ifort', compver, gccsuff),
    ('OpenMPI', '2.0.1', '', ('iccifort', '%s%s' % (compver, gccsuff))),
    ('imkl', '2017.1.132', '', ('iompi', version)),
]

moduleclass = 'toolchain'
