# IT4Innovations 2021
# LK

name = 'impi'
version = '2019.9.304'

homepage = 'https://software.intel.com/en-us/intel-mpi-library/'
description = "Intel MPI Library, compatible with MPICH ABI"

toolchain = {'name': 'iccifort', 'version': '2020.4.304'}

source_urls = ['https://registrationcenter-download.intel.com/akdlm/irc_nas/tec/17263/']
sources = ['l_mpi_%(version)s.tgz']
checksums = ['618a5dc2de54306645e6428c5eb7d267b54b11b5a83dfbcad7d0f9e0d90bb2e7']

dependencies = [
    # needed by libfabric provider MLX introduced in Intel MPI v2019.6,
    # https://software.intel.com/en-us/articles/improve-performance-and-stability-with-intel-mpi-library-on-infiniband
    ('UCX', '1.9.0'),
]

dontcreateinstalldir = True

components = ['intel-mpi', 'intel-psxe', 'intel-imb']

# set up all the mpi commands to default to intel compilers
set_mpi_wrappers_all = True

modextravars = {
    'I_MPI_OFI_PROVIDER': 'MLX',
    'FI_PROVIDER': 'verbs',
}

moduleclass = 'mpi'
