easyblock = "Toolchain"

name = 'ictce'
version = '8.3.5'

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

suff = '1.150'
compver = '2016.%s' % suff

dependencies = [                                         # version/released
    ('icc', compver),                                    
    ('ifort', compver),                                  
    ('impi', '5.1.2.150', '', ('iccifort', compver)),    
    ('imkl', '11.3.%s' % suff, '', ('iimpi', version)), 
]

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