Commit 6254167e authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

Merge branch 'easyconfigs-it4i-salomon'

parents bf07d089 389b8284
......@@ -10,7 +10,7 @@ toolchain = {'name': 'dummy', 'version': 'dummy'}
sources = ['parallel_studio_xe_%(version_major)s_update%(version_minor)s_composer_edition_for_fortran.tgz']
checksums = ['612169f4b40cdded8e212bf097925e4f']
#checksums = ['612169f4b40cdded8e212bf097925e4f']
# remove dependency on intel-mpi-rt-mic
patches = ['ifort_2017_no_mpi_mic_dependency.patch']
......
easyblock = 'ConfigureMake'
name = 'OpenMPI'
version = '1.10.7'
versionsuffix = '-noPBS'
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'}
sources = [SOURCELOWER_TAR_GZ]
source_urls = ['http://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads']
dependencies = [('hwloc', '1.11.7')]
builddependencies = [
('Java', '1.8.0_121', '', True)
]
configopts = '--with-threads=posix --enable-shared --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 += '--enable-mpi-java ' # Java support RT#4090
# for PBS Pro 13
# preconfigopts = 'export LIBS="-ldl" && '
# needed for --with-verbs
osdependencies = [('libibverbs-dev', 'libibverbs-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"],
}
modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx4_0',
'OMPI_MCA_oob_tcp_if_include': '10.0.0.0/8',
}
moduleclass = 'mpi'
easyblock = 'ConfigureMake'
name = 'protobuf'
version = '3.2.0'
versionsuffix = '-Python-3.6.1'
homepage = 'https://code.google.com/p/protobuf/'
description = """Google Protocol Buffers"""
toolchain = {'name': 'dummy', 'version': ''}
sources = ['%(name)s-python-%(version)s.tar.gz']
source_urls = ['https://github.com/google/protobuf/releases/download/v%(version)s/']
builddependencies = [
('GCC', '4.9.3-tf'),
]
dependencies = [
('Python', '3.6.1'),
]
# after instalation: python3 setup.py install --cpp_implementation
postinstallcmds = [
'cp %(builddir)s/%(name)s-%(version)s/ %(installdir)s/build -R',
]
sanity_check_paths = {
'files': ['bin/protoc'],
'dirs': [],
}
modextravars = {
'PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION': 'cpp',
}
moduleclass = 'devel'
......@@ -124,6 +124,11 @@ pyshortver = '.'.join(SYS_PYTHON_VERSION.split('.')[0:2])
preconfigopts = "if [ ! -f configure ]; then ./autogen.sh; fi && "
#xkbcommon configuration dir
postinstallcmds = [
'ln -s %(installdir)s/share/xcb %(installdir)s/share/X11/xkb'
]
# specify that Bundle easyblock should run a full sanity check, rather than just trying to load the module
full_sanity_check = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment