name = 'impi'
version = '4.1.1.036'

homepage = 'http://software.intel.com/en-us/intel-mpi-library/'
description = """The Intel(R) MPI Library for Linux* OS is a multi-fabric message
 passing library based on ANL MPICH2 and OSU MVAPICH2. The Intel MPI Library for
 Linux OS implements the Message Passing Interface, version 2 (MPI-2) specification."""

toolchain = {'name': 'iccifort', 'version': '2013.5.192-GCC-4.8.3'}

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

dontcreateinstalldir = 'True'

# license file
import os
license_file = os.path.join(os.getenv('HOME'), "licenses", "intel", "license.lic")

# set up all the mpi wrappers to work as expected with intel compilers (e.g. mpicc wraps icc not the default gcc)
# set_mpi_wrappers_all = 'True'

moduleclass = 'mpi'

# Salomon specific optimalization
modextravars = {
     'I_MPI_CC':                    'icc',
     'I_MPI_CXX':                   'icpc',
     'I_MPI_FC':                    'ifort',
     'I_MPI_F77':                   'ifort',
     'I_MPI_F90':                   'ifort',
     'I_MPI_HYDRA_BOOTSTRAP':       'ssh',
     'I_MPI_EXTRA_FILESYSTEM':      'enable',
     'I_MPI_EXTRA_FILESYSTEM_LIST': 'lustre'
}
