mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

new file: g/gompi/gompi-2017c.eb new file: h/HDF5/HDF5-1.10.4-gompi-2017c.eb new file: h/h5py/h5py-2.9.0-Py-3.6.eb new file: l/libGLU/libGLU-9.0.0-GCC-6.3.0-2.27.eb new file: l/libxml2/libxml2-2.9.9.eb new file: l/libxslt/libxslt-1.1.33.eb modified: l/libyaml/libyaml-0.1.7.eb new file: l/libyaml/libyaml-0.2.1.eb new file: l/lxml/lxml-4.3.0-Py-3.6.eb new file: m/matplotlib/matplotlib-3.0.2-Py-3.6.eb new file: m/mpi4py/mpi4py-3.0.1-Py-3.6.eb modified: o/OpenMPI/OpenMPI-2.0.2-GCC-6.3.0-2.27.eb modified: o/OpenMPI/OpenMPI-2.1.1-GCC-6.3.0-2.27.eb modified: p/ParaView/ParaView-5.4.1-intel-2017a-mpi.eb new file: p/PyYAML/PyYAML-3.13-Py-3.6.eb modified: q/Qt5/Qt5-5.11.1-GCC-6.3.0-2.27.eb deleted: o/OpenFOAM/OpenFOAM-5.0-intel-2017a-uv.eb deleted: p/ParaView/ParaView-5.4.1-foss-2017a-mpi-uv.eb deleted: p/ParaView/ParaView-5.4.1-intel-2017a-mpi-uv.eb
54 lines
1.7 KiB
Plaintext
54 lines
1.7 KiB
Plaintext
easyblock = 'ConfigureMake'
|
|
|
|
name = 'OpenMPI'
|
|
version = '2.0.2'
|
|
|
|
homepage = 'http://www.open-mpi.org/'
|
|
description = """The Open MPI Project is an open source MPI-2 implementation."""
|
|
|
|
toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
|
|
|
|
source_urls = [
|
|
'http://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads']
|
|
sources = [SOURCELOWER_TAR_GZ]
|
|
sources = ['openmpi-%(version)s.tar.gz']
|
|
checksums = ['886698becc5bea8c151c0af2074b8392']
|
|
|
|
dependencies = [
|
|
('hwloc', '1.11.7'),
|
|
('libxml2', '2.9.4', '', True),
|
|
]
|
|
|
|
configopts = '--with-threads=posix --enable-shared --enable-mpi-thread-multiple --with-verbs '
|
|
# suppress failure modes in relation to mpirun path
|
|
configopts += '--enable-mpirun-prefix-by-default '
|
|
configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support
|
|
# configopts += '--disable-dlopen ' # dont disable dlopen!
|
|
# https://github.com/open-mpi/ompi/issues/3630
|
|
configopts += '--with-tm=/opt/pbs/default ' # Enable PBS
|
|
|
|
# for PBS Pro 13
|
|
preconfigopts = 'export LIBS="-ldl" && '
|
|
|
|
# needed for --with-verbs
|
|
osdependencies = [('libibverbs-dev', 'libibverbs-devel', 'rdma-core-devel')]
|
|
|
|
libs = ["mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte"]
|
|
|
|
modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx4_0',
|
|
'OMPI_MCA_oob_tcp_if_include': '10.0.0.0/8',
|
|
}
|
|
|
|
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': [], }
|
|
|
|
moduleclass = 'mpi'
|