easyconfigs-it4i/o/OpenMPI/OpenMPI-1.10.7-PGI-18.5-GCC-6.3.0-2.27.eb
Lukáš Krupčík 7e7d36cf46 modified: o/OpenMPI/OpenMPI-1.10.7-PGI-18.5-GCC-6.3.0-2.27.eb
Former-commit-id: 4ae5a4cbecb3fd2c5851b53fe40ac0f472fddf28
2018-08-15 13:10:16 +02:00

52 lines
1.9 KiB
Plaintext

# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'OpenMPI'
version = '1.10.7'
homepage = 'http://www.open-mpi.org/'
description = """The Open MPI Project is an open source MPI-2 implementation."""
toolchain = {'name': 'PGI', 'version': '18.5-GCC-6.3.0-2.27'}
toolchainopts = {'pic': True}
sources = [SOURCELOWER_TAR_GZ]
source_urls = ['http://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads']
dependencies = [('hwloc', '1.11.7')]
configopts = '--with-threads=posix --enable-shared --enable-static --enable-mpi-thread-multiple --with-verbs'
configopts += '--enable-mpirun-prefix-by-default ' # suppress failure modes in relation to mpirun path
configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support
configopts += '--disable-dlopen ' # statically link component, don't do dynamic loading
configopts += '--with-tm=/opt/pbs/default ' # Enable PBS
configopts += '--with-cxxrtlib="-lgcc_s -lstdc++"' # for vt-mpi-unify
# for PBS Pro 13
preconfigopts = 'export LIBS="-ldl" && export CC="$CC -noswitcherror" && export CXX="$CXX -noswitcherror" && '
# needed for --with-verbs
osdependencies = [('libibverbs-dev', 'libibverbs-devel', 'rdma-core-devel')]
libs = ["mpi_cxx", "mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte", "vt", "vt-hyb", "vt-mpi", "vt-mpi-unify"]
sanity_check_paths = {
'files': ["bin/%s" % binfile for binfile in ["ompi_info", "opal_wrapper", "orterun"]] +
["lib/lib%s.%s" % (libfile, SHLIB_EXT) for libfile in libs] +
["include/%s.h" % x for x in ["mpi-ext", "mpif-config", "mpif", "mpi", "mpi_portable_platform"]],
'dirs': ["include/openmpi/ompi/mpi/cxx"],
}
sanity_check_commands = [
('mpicc --version | grep pgcc', ''),
('mpicxx --version | grep pgc++', ''),
('mpifort --version | grep pgfortran', ''),
]
modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx4_0',
'OMPI_MCA_oob_tcp_if_include': '10.0.0.0/8',
}
moduleclass = 'mpi'