mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00
modified: i/ifort/ifort-2017.1.132-GCC-6.3.0-2.27.eb
new file: o/OpenMPI/OpenMPI-1.10.7-GCC-6.3.0-2.27-noPBS.eb new file: p/protobuf/protobuf-3.2.0-Python-3.6.1.eb modified: x/X11/X11-20170314.eb
This commit is contained in:
parent
bf07d08975
commit
389b828484
@ -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']
|
||||
|
46
o/OpenMPI/OpenMPI-1.10.7-GCC-6.3.0-2.27-noPBS.eb
Normal file
46
o/OpenMPI/OpenMPI-1.10.7-GCC-6.3.0-2.27-noPBS.eb
Normal file
@ -0,0 +1,46 @@
|
||||
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'
|
37
p/protobuf/protobuf-3.2.0-Python-3.6.1.eb
Normal file
37
p/protobuf/protobuf-3.2.0-Python-3.6.1.eb
Normal file
@ -0,0 +1,37 @@
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user