easyblock = "Toolchain"

name = 'ictce'
version = '5.5.0'

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'}

compsuffix = '.5.192'
compver = '2013' + compsuffix
dependencies = [
    ('icc', compver),
    ('ifort', compver),
    ('impi', '4.1.1.036', '', ('iccifort', compver)),
    ('imkl', '11.0' + compsuffix, '', ('iimpi', version)),
]

moduleclass = 'toolchain'
# Salomon specific optimalization
modextravars = {
    'CC': 'icc',
    'CXX': 'icpc',
    'F90': 'ifort',
    'F77': 'ifort',
    'FC': 'ifort',
}
