easyblock = 'Toolchain'

name = 'intelcuda'
version = '2016.10'

homepage = '(none)'
description = """Intel Cluster Toolkit Compiler Edition provides Intel C/C++ and Fortran local_compilers, Intel MPI & Intel MKL, with CUDA toolkit"""

toolchain = SYSTEM

local_local_comp_name = 'iccifort'
local_comp_ver = '2016.3.210'
local_gccver = '5.4.0'
local_local_binutilsver = '2.26'
local_gcclocal_suff = '-GCC-%s-%s' % (local_gccver, local_local_binutilsver)
local_comp = (local_local_comp_name, '%s%s' % (local_comp_ver, local_gcclocal_suff))

dependencies = [
    local_comp,  # part of iimpic
    ('CUDA', '8.0.44', '', local_comp),
    ('icc', local_comp_ver, local_gcclocal_suff),
    ('ifort', local_comp_ver, local_gcclocal_suff),
    ('impi', '5.1.3.181', '', ('iccifortcuda', version)),
    ('imkl', '11.3.3.210', '', ('iimpic', version)),
]

moduleclass = 'toolchain'
