mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

new file: f/funcsigs/funcsigs-1.0.2-Py-3.6.eb modified: g/GDAL/GDAL-2.3.2-Py-2.7.eb new file: h/hwloc/hwloc-1.11.7-c7.eb new file: k/Keras_Applications/Keras_Applications-1.0.6-Py-3.6.eb new file: k/Keras_Preprocessing/Keras_Preprocessing-1.0.5-Py-3.6.eb new file: m/mock/mock-2.0.0-Py-3.6.eb new file: n/numactl/numactl-2.0.11-c7.eb new file: n/numpy/numpy-1.15.4-Py-3.6.eb modified: o/OpenMPI/OpenMPI-1.10.7-PGI-18.5-GCC-6.3.0-2.27.eb new file: o/OpenMPI/OpenMPI-2.1.1-c7.eb new file: p/pbr/pbr-5.1.1-Py-3.6.eb new file: p/protobuf-python/protobuf-python-3.6.1-Py-3.6.eb new file: p/protobuf/protobuf-3.6.1-Py-3.6.eb new file: r/RDKit/RDKit-2018.09.1-foss-2017a-Py-2.7.eb new file: t/Tensorflow/Tensorflow-1.12.0-GCC-6.3.0-2.27-Py-3.6.eb
79 lines
2.1 KiB
Plaintext
79 lines
2.1 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 '
|
|
# suppress failure modes in relation to mpirun path
|
|
configopts += '--enable-mpirun-prefix-by-default '
|
|
configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support
|
|
# statically link component, don't do dynamic loading
|
|
configopts += '--disable-dlopen '
|
|
configopts += '--with-tm=/opt/pbs/default ' # Enable PBS
|
|
|
|
# for PBS Pro 13
|
|
preconfigopts = 'export LIBS="-ldl" && export CC="pgcc -noswitcherror" && export CXX="pgc++ -noswitcherror" && export FC="pgfortran -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'
|