easyblock = "Toolchain"

name = 'gompic'
version = '2016.10'

homepage = '(none)'
description = """GNU Compiler Collection (GCC) based compiler toolchain along with CUDA toolkit,
 including OpenMPI for MPI support with CUDA features enabled."""

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

comp_name = 'GCC'
comp_ver = '5.4.0-2.26'
comp = (comp_name, comp_ver)

# compiler toolchain dependencies
dependencies = [
    comp,  # part of gcccuda
    ('CUDA', '8.0.44', '', comp),  # part of gcccuda
    ('OpenMPI', '2.0.1', '', ('gcccuda', version)),
]

moduleclass = 'toolchain'
