easyblock = "Toolchain"

name = 'ictce'
version = '7.3.5'

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

toolchain = SYSTEM

local_suff = '3.187'
local_local_compver = '2015.%s' % local_suff

dependencies = [                                         # version/released
    ('icc', local_local_compver),                                    # Apr 13th 2015
    ('ifort', local_local_compver),                                  # Apr 13th 2015
    ('impi', '5.0.3.048', '', ('iccifort', local_local_compver)),    # Feb 10th 2015
    ('imkl', '11.2.%s' % local_suff, '', ('iimpi', version)),  # Apr 13th 2015
]

moduleclass = 'toolchain'
# Salomon specific optimalization
modextravars = {
    'CC': 'icc',
    'CXX': 'icpc',
    'F90': 'ifort',
    'F77': 'ifort',
    'FC': 'ifort',
    'OPTFLAGS': '-O3 -xHost -ip',
    'DEBUGFLAGS': '-O0 -g'
}
