easyblock = "Toolchain"

name = 'iompi'
version = '2015.03'

homepage = 'http://software.intel.com/en-us/intel-cluster-toolkit-compiler/'
description = """Toolchain with Intel C, C++ and Fortran compilers, alongside OpenMPI."""

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

compver = '2015.3.187-GNU-4.9.3-2.25'

dependencies = [
    ('icc', compver),
    ('ifort', compver),
    ('OpenMPI', '1.8.8', '', ('iccifort', compver)),
]

moduleclass = 'toolchain'

modextravars = {
         'CC':  'icc',
         'OMPI_CC':  'icc',
         'CXX': 'icpc',
         'OPMI_CXX': 'icpc',
         'F90': 'ifort',
         'OMPI_F90': 'ifort',
         'F77': 'ifort',
         'OMPI_F77': 'ifort',
         'FC':  'ifort',
         'OMPI_FC':  'ifort',
}
