name = 'impi'
version = '2017.4.239'

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

toolchain = {'name': 'iccifort', 'version': '2017.7.259-GCC-6.3.0-2.27'}

sources = ['l_mpi_%(version)s.tgz']

checksums = ['460a9ef1b3599d60b4d696e3f0f2a14d']

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'

postinstallcmds = [
    'ln -s %(installdir)s/lib64/libmpi.so  %(installdir)s/lib64/libmpich.so',
    'ln -s %(installdir)s/lib64/libmpigc4.so  %(installdir)s/lib64/libmpichcxx.so',
    'ln -s %(installdir)s/lib64/libmpigf.so %(installdir)s/lib64/libfmpich.so',
    'ln -s %(installdir)s/lib64/libmpigf.so %(installdir)s/lib64/libmpichf90.so',
    'ln -s %(installdir)s/lib64/libmpi.so %(installdir)s/lib64/libmpl.so',
    'ln -s %(installdir)s/lib64/libmpi.so %(installdir)s/lib64/libopa.so']

moduleclass = 'mpi'
