name = 'MVAPICH2'
version = '2.1'

homepage = 'http://mvapich.cse.ohio-state.edu/overview/mvapich2/'
description = "This is an MPI 3.0 implementation.  It is based on MPICH2 and MVICH."

toolchain = {'name': 'GNU', 'version': '5.1.0-2.25'}

source_urls = ['http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/']
sources = [SOURCELOWER_TAR_GZ]

preconfigopts = 'unset F90 && unset FC && unset F90FLAGS && unset FCFLAGS && '

configopts = "--enable-btl-openib-failover --with-tm=/opt/pbs/default --with-openib "
configopts += "--enable-threads=runtime --enable-shared --with-device=ch3:nemesis "
configopts += "--disable-rdma-cm --enable-romio --with-file-system=lustre+nfs "

# Let's store the checksum in order to be sure it doesn't suddenly change
checksums = ['0095ceecb19bbb7fb262131cb9c2cdd6']

builddependencies = [('Bison', '2.7')]

sanity_check_paths = {
    'files': ['lib/libmpicxx.a'],
    'dirs': ['include']
}

moduleclass = 'mpi'
