# Built with EasyBuild version 2.2.0dev on 2015-06-29_10-08-02
easyblock = "Toolchain"

name = 'intel'
version = '2015b'

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 = '2015.3.187'
gccsuff = '-GNU-5.1.0-2.25'

dependencies = [
    ('icc', compver, gccsuff),
    ('ifort', compver, gccsuff),
    ('impi', '5.0.3.048', '', ('iccifort', '%s%s' % (compver, gccsuff))),
    ('imkl', '11.2.3.187', '', ('iimpi', '7.3.5%s' % gccsuff)),
]

moduleclass = 'toolchain'

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