easyblock = 'Toolchain'

name = 'intelcuda'
version = '2016.10'

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

toolchain = {'name': 'system', 'version': ''}

comp_name = 'iccifort'
comp_ver = '2016.3.210'
gccver = '5.4.0'
binutilsver = '2.26'
gccsuff = '-GCC-%s-%s' % (gccver, binutilsver)
comp = (comp_name, '%s%s' % (comp_ver, gccsuff))

dependencies = [
    comp,  # part of iimpic
    ('CUDA', '8.0.44', '', comp),
    ('icc', comp_ver, gccsuff),
    ('ifort', comp_ver, gccsuff),
    ('impi', '5.1.3.181', '', ('iccifortcuda', version)),
    ('imkl', '11.3.3.210', '', ('iimpic', version)),
]

moduleclass = 'toolchain'
