Merge branch 'it4i-salomon'

This commit is contained in:
Lukáš Krupčík 2019-07-10 15:05:22 +02:00
commit 0c8efbe49a
11 changed files with 570 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# IT4Innovations 2019
easyblock = "PythonPackage"
name = 'enum'
version = '0.4.7'
homepage = 'https://pypi.python.org/pypi/enum34'
description = 'An enumeration is a set of symbolic names (members) bound to unique, constant values.'
toolchain = {'name': 'Py', 'version': '2.7'}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
options = {'modulename': 'enum'}
sanity_check_paths = {
'files': [],
'dirs': ['lib'],
}
moduleclass = 'python'

View File

@ -0,0 +1,24 @@
# IT4Innovations 2019
easyblock = 'ConfigureMake'
name = "fontconfig"
version = '2.13.1'
homepage = 'http://www.freedesktop.org/software/fontconfig'
description = """Fontconfig is a library designed to provide system-wide font configuration, customization and
application access."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://www.freedesktop.org/software/fontconfig/release/']
sources = [SOURCE_TAR_GZ]
dependencies = [
('expat', '2.1.0'),
('freetype', '2.9.1'),
]
configopts = '--disable-docs '
moduleclass = 'vis'

View File

@ -0,0 +1,22 @@
# IT4Innovations 2019
name = 'HDF5'
version = '1.10.5'
homepage = 'http://www.hdfgroup.org/HDF5/'
description = """HDF5 is a unique technology suite that makes possible the management of
extremely large and complex data collections."""
toolchain = {'name': 'intel', 'version': '2017c'}
toolchainopts = {'pic': True, 'usempi': True}
source_urls = [
'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-%(version_major_minor)s/hdf5-%(version)s/src']
sources = [SOURCELOWER_TAR_GZ]
dependencies = [
('zlib', '1.2.11', '', True),
('Szip', '2.1', '', True),
]
moduleclass = 'data'

View File

@ -0,0 +1,29 @@
# IT4Innovations 2019
easyblock = "PythonPackage"
name = 'matplotlib'
version = '3.1.0'
homepage = 'http://matplotlib.org'
description = """Matplotlib is a python 2D plotting library which produces publication quality figures in a variety of
hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python
and ipython shell, web application servers, and six graphical user interface toolkits."""
toolchain = {'name': 'Py', 'version': '2.7'}
source_urls = ['https://github.com/matplotlib/matplotlib/archive/']
sources = ['v%(version)s.tar.gz']
dependencies = [
('freetype', '2.9.1', '-libpng-1.6.34', True),
('libpng', '1.6.34', '', True),
('python-dateutil', '2.6.1'),
('numpy', '1.16.3'),
('pyparsing', '2.2.0'),
('six', '1.11.0'),
]
sanity_check_paths = {'files': [], 'dirs': [
'lib/python3.6/site-packages/%(name)s-%(version)s-py3.6-linux-x86_64.egg/%(name)s'], }
moduleclass = 'python'

View File

@ -0,0 +1,27 @@
# IT4Innovations 2018
easyblock = 'PythonPackage'
name = 'mpi4py'
version = '3.0.0'
versionsuffix = '-Py-2.7'
homepage = 'http://mpi4py.scipy.org/docs'
description = """MPI for Python (mpi4py) provides bindings of the Message Passing Interface (MPI) standard for
the Python programming language, allowing any Python program to exploit multiple processors."""
toolchain = {'name': 'intel', 'version': '2017c'}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
dependencies = [
('Py', '2.7', '', True),
]
sanity_check_paths = {
'files': [],
'dirs': ['lib/python2.7/site-packages/mpi4py'],
}
moduleclass = 'python'

View File

@ -0,0 +1,36 @@
# IT4Innovations 2019
name = 'netCDF'
version = '4.6.2'
homepage = 'http://www.unidata.ucar.edu/software/netcdf/'
description = """NetCDF (network Common Data Form) is a set of software libraries
and machine-independent data formats that support the creation, access, and sharing of array-oriented
scientific data."""
toolchain = {'name': 'intel', 'version': '2017c'}
toolchainopts = {'pic': True, 'usempi': True}
sources = ['v%(version)s.tar.gz']
source_urls = [
'https://github.com/Unidata/netcdf-c/archive/'
]
dependencies = [
('HDF5', '1.10.5'),
('cURL', '7.56.1', '', True),
('Szip', '2.1', '', True),
]
builddependencies = [
('CMake', '3.14.1', '', True),
('Doxygen', '1.8.11', '', True),
]
# make sure both static and shared libs are built
configopts = [
"-DBUILD_SHARED_LIBS=OFF ",
"-DBUILD_SHARED_LIBS=ON ",
]
moduleclass = 'data'

View File

@ -0,0 +1,27 @@
# IT4Innovations 2019
easyblock = "PythonPackage"
name = "PyYAML"
version = "3.13"
homepage = "https://pypi.python.org/pypi/PyYAML/"
description = """PyYAML is a YAML parser and emitter for the Python programming language."""
toolchain = {'name': 'Py', 'version': '2.7'}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
dependencies = [
('libyaml', '0.2.1', '', True),
]
options = {'modulename': 'yaml'}
sanity_check_paths = {
'files': [],
'dirs': ['lib/python2.7/site-packages/yaml'],
}
moduleclass = 'python'

View File

@ -0,0 +1,58 @@
# IT4Innovations 2019
easyblock = 'PythonBundle'
name = 'SciPy-bundle'
version = '2019.03'
homepage = 'http://python.org/'
description = "Bundle of Python packages for scientific software"
toolchain = {'name': 'intel', 'version': '2017c'}
toolchainopts = {'pic': True}
dependencies = [
('Py', '2.7', '', True),
('pytest', '4.4.0', '-Py-2.7', True),
]
use_pip = True
# required because we're building Python packages using Intel compilers on top of Python built with GCC
check_ldshared = True
# order is important!
# package versions updated Mar 15th 2019
exts_list = [
('numpy', '1.16.2', {
'source_urls': ['https://pypi.python.org/packages/source/n/numpy/'],
'source_tmpl': '%(name)s-%(version)s.zip',
'patches': [
'numpy-1.12.0-mkl.patch',
'numpy-1.16.1_fix-ifort-V-stderr.patch',
],
'checksums': [
'6c692e3879dde0b67a9dc78f9bfb6f61c666b4562fd8619632d7043fb5b691b0', # numpy-1.16.2.zip
'f212296ed289eb1b4e3f703997499dee8a2cdd0af78b55e017477487b6377ca4', # numpy-1.12.0-mkl.patch
'fc7f0c4b910bf3706d43661b94696f07b6e317bfeac062c2c78b3926fde713a7', # numpy-1.16.1_fix-ifort-V-stderr.patch
],
}),
('scipy', '1.2.1', {
'source_urls': ['https://pypi.python.org/packages/source/s/scipy/'],
'checksums': ['e085d1babcb419bbe58e2e805ac61924dac4ca45a07c9fa081144739e500aa3c'],
}),
('mpi4py', '3.0.1', {
'source_urls': ['http://bitbucket.org/mpi4py/mpi4py/downloads/'],
'checksums': ['6549a5b81931303baf6600fa2e3bc04d8bd1d5c82f3c21379d0d64a9abcca851'],
}),
('pandas', '0.24.2', {
'source_urls': ['https://pypi.python.org/packages/source/p/pandas/'],
'checksums': ['4f919f409c433577a501e023943e582c57355d50a724c589e78bc1d551a535a2'],
}),
('mpmath', '1.1.0', {
'source_urls': ['https://pypi.python.org/packages/source/m/mpmath/'],
'checksums': ['fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6'],
}),
]
moduleclass = 'lang'

View File

@ -0,0 +1,32 @@
# IT4Innovations 2019
easyblock = 'PythonPackage'
name = 'scipy'
version = '1.2.1'
homepage = 'http://scipy.org'
description = """SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering.
It includes modules for statistics, optimization, integration, linear algebra, Fourier transforms, signal and
image processing, ODE solvers, and more."""
toolchain = {'name': 'Py', 'version': '2.7'}
toolchainopts = {'pic': True}
source_urls = [PYPI_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
dependencies = [
('numpy', '1.16.3'),
('mkl', '2017.4.239', '', True),
]
prebuildopts = 'unset LDFLAGS && '
sanity_check_paths = {'files': [], 'dirs': [
'lib/python2.7/site-packages/%(name)s-%(version)s-py2.7-linux-x86_64.egg/scipy'], }
sanity_check_commands = [
('python', '-c "import scipy; assert(scipy.__version__ == \'%(version)s\')"')]
moduleclass = 'python'

View File

@ -0,0 +1,77 @@
# IT4Innovations 2019
easyblock = 'CMakeMake'
name = 'VTK'
version = '8.2.0'
versionsuffix = '-Py-2.7'
homepage = 'http://www.vtk.org'
description = """The Visualization Toolkit (VTK) is an open-source, freely available software system for
3D computer graphics, image processing and visualization. VTK consists of a C++ class library and several
interpreted interface layers including Tcl/Tk, Java, and Python. VTK supports a wide variety of visualization
algorithms including: scalar, vector, tensor, texture, and volumetric methods; and advanced modeling techniques
such as: implicit modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay triangulation."""
toolchain = {'name': 'intel', 'version': '2017c'}
toolchainopts = {'usempi': True}
source_urls = ['https://www.vtk.org/files/release/%(version_major_minor)s']
sources = [
SOURCE_TAR_GZ,
'%(name)sData-%(version)s.tar.gz',
]
checksums = [
'34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb', # VTK-8.2.0.tar.gz
'd1ff312f7a63d90d8b7033a99109801f16a462ae411d648642838aae04bcc21e', # VTKData-8.2.0.tar.gz
]
builddependencies = [('CMake', '3.14.1', '', True)]
dependencies = [
('Py', '2.7', '', True),
('XZ', '5.2.4', '', True),
('HDF5', '1.10.5'),
('netCDF', '4.6.2'),
('libGLU', '9.0.0', '', True),
('X11', '20190311', '', True),
('pandas', '0.23.4', '-Py-2.7', True),
('numpy', '1.16.3', '-Py-2.7', True),
('scipy', '1.2.1', '-Py-2.7', True),
('mpi4py', '3.0.0', '-Py-2.7'),
]
separate_build_dir = True
# Third party modules
configopts = "-DVTK_USE_SYSTEM_MPI4PY=ON "
configopts += "-DVTK_USE_SYSTEM_LZMA=ON "
configopts += "-DVTK_USE_SYSTEM_HDF5=ON "
configopts += "-DVTK_USE_SYSTEM_NETCDF=ON "
# OpenGL
configopts += "-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s " % SHLIB_EXT
configopts += "-DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s " % SHLIB_EXT
configopts += "-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include "
# Python
configopts += "-DVTK_WRAP_PYTHON=ON "
configopts += "-DVTK_PYTHON_VERSION=2.7 "
configopts += "-DPYTHON_INCLUDE_DIR=$EBROOTPYTHON/include/python2.7 "
configopts += "-DPYTHON_LIBRARY=$EBROOTPYTHON/lib/libpython2.7.%s " % SHLIB_EXT
# Other
configopts += "-DVTK_Group_MPI:BOOL=ON "
configopts += "-DCMAKE_INSTALL_LIBDIR=lib"
preinstallopts = "export PYTHONPATH=%(installdir)s/lib/python2.7/site-packages:$PYTHONPATH && "
modextrapaths = {'PYTHONPATH': ['lib/python2.7/site-packages']}
sanity_check_paths = {
'files': ['bin/vtk%s-%%(version_major_minor)s' % x for x in
['WrapJava', 'ParseJava', 'WrapPythonInit', 'WrapPython', 'WrapHierarchy']] +
['bin/pvtkpython', 'bin/vtkpython'],
'dirs': ['lib/python2.7/site-packages/', 'include/vtk-%(version_major_minor)s'],
}
sanity_check_commands = [('python', "-c 'import %(namelower)s'")]
moduleclass = 'vis'

216
x/X11/X11-20190311.eb Normal file
View File

@ -0,0 +1,216 @@
# IT4Innovations 2019
easyblock = 'Bundle'
name = 'X11'
version = '20190311'
homepage = 'https://www.x.org'
description = "The X Window System (X11) is a windowing system for bitmap displays"
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [
XORG_LIB_SOURCE,
XORG_PROTO_SOURCE,
'http://xcb.freedesktop.org/dist/',
'http://xkbcommon.org/download/',
'http://cgit.freedesktop.org/xorg/util/macros/snapshot',
XORG_DATA_SOURCE + '/xkeyboard-config',
XORG_DATA_SOURCE,
]
dependencies = [
('bzip2', '1.0.6'),
('fontconfig', '2.13.1'),
('freetype', '2.9.1'),
('zlib', '1.2.11'),
('LibUUID', '1.0.3'),
]
builddependencies = [
('binutils', '2.31.1'),
('Autotools', '20180311'),
('Bison', '3.0.5'),
('gettext', '0.19.8.1'),
('pkg-config', '0.29.2'),
('intltool', '0.51.0'),
]
default_easyblock = 'ConfigureMake'
default_component_specs = {
'sources': [SOURCE_TAR_GZ],
'start_dir': '%(name)s-%(version)s',
}
components = [
('xorg-macros', '1.19.2', { # 2018-03-04
'sources': ['util-macros-%(version)s.tar.gz'],
'checksums': ['5d6e62803c9f20830b28ad8a9800c97a9987635089229e3e380ef3848c84d2a6'],
'start_dir': 'util-macros-%(version)s',
}),
('libpthread-stubs', '0.4', { # 2017-03-14
'checksums': ['50d5686b79019ccea08bcbd7b02fe5a40634abcfd4146b6e75c6420cc170e9d9'],
}),
('xorgproto', '2018.4', { # 2018-02-28
'checksums': ['8e48d851efea0e951bcb6cf0d537f84ba3803de95e488bd039fe59fc75ec8f7d'],
}),
('libXau', '1.0.9', { # 2019-02-10
'checksums': ['1f123d8304b082ad63a9e89376400a3b1d4c29e67e3ea07b3f659cccca690eea'],
}),
('libXdmcp', '1.1.2', { # 2015-03-21
'checksums': ['6f7c7e491a23035a26284d247779174dedc67e34e93cc3548b648ffdb6fc57c0'],
}),
('xcb-proto', '1.13', { # 2018-03-05
'checksums': ['0698e8f596e4c0dbad71d3dc754d95eb0edbb42df5464e0f782621216fa33ba7'],
}),
('libxcb', '1.13', { # 2018-03-05
'sources': [SOURCE_TAR_GZ],
'checksums': ['0bb3cfd46dbd90066bf4d7de3cad73ec1024c7325a4a0cbf5f4a0d4fa91155fb'],
'start_dir': '%(name)s-%(version)s',
}),
('xtrans', '1.3.5', { # 2014-09-22
'checksums': ['b7a577c1b6c75030145e53b4793db9c88f9359ac49e7d771d4385d21b3e5945d'],
}),
('libxkbcommon', '0.8.4', { # 2019-02-22
'sources': ['libxkbcommon-%(version)s.tar.xz'],
'checksums': ['60ddcff932b7fd352752d51a5c4f04f3d0403230a584df9a2e0d5ed87c486c8b'],
'start_dir': 'libxkbcommon-%(version)s',
}),
('libX11', '1.6.7', { # 2018-10-09
'checksums': ['f62ab88c2a87b55e1dc338726a55bb6ed8048084fe6a3294a7ae324ca45159d1'],
}),
('libXext', '1.3.3', { # 2014-07-24
'checksums': ['eb0b88050491fef4716da4b06a4d92b4fc9e76f880d6310b2157df604342cfe5'],
}),
('libFS', '1.0.8', { # 2019-03-10
'checksums': ['e3da723257f4f4c0c629aec402e0a36fbec66a9418f70d24a159cb0470ec83d2'],
}),
('libICE', '1.0.9', { # 2014-06-07
'checksums': ['7812a824a66dd654c830d21982749b3b563d9c2dfe0b88b203cefc14a891edc0'],
}),
('libSM', '1.2.3', { # 2018-10-10
'checksums': ['1e92408417cb6c6c477a8a6104291001a40b3bb56a4a60608fdd9cd2c5a0f320'],
}),
('libXScrnSaver', '1.2.3', { # 2018-07-05
'checksums': ['4f74e7e412144591d8e0616db27f433cfc9f45aae6669c6c4bb03e6bf9be809a'],
}),
('libXt', '1.1.5', { # 2015-05-01
'checksums': ['b59bee38a9935565fa49dc1bfe84cb30173e2e07e1dcdf801430d4b54eb0caa3'],
}),
('libXmu', '1.1.2', { # 2013-09-08
'checksums': ['e5fd4bacef068f9509b8226017205040e38d3fba8d2de55037200e7176c13dba'],
}),
('libXpm', '3.5.12', { # 2016-12-15
'checksums': ['2523acc780eac01db5163267b36f5b94374bfb0de26fc0b5a7bee76649fd8501'],
}),
('libXaw', '1.0.13', { # 2015-05-01
'checksums': ['7e74ac3e5f67def549722ff0333d6e6276b8becd9d89615cda011e71238ab694'],
}),
('libXfixes', '5.0.3', { # 2016-10-04
'checksums': ['9ab6c13590658501ce4bd965a8a5d32ba4d8b3bb39a5a5bc9901edffc5666570'],
}),
('libXcomposite', '0.4.5', { # 2019-03-11
'checksums': ['581c7fc0f41a99af38b1c36b9be64bc13ef3f60091cd3f01105bbc7c01617d6c'],
}),
('libXrender', '0.9.10', { # 2016-10-04
'checksums': ['770527cce42500790433df84ec3521e8bf095dfe5079454a92236494ab296adf'],
}),
('libXcursor', '1.2.0', { # 2019-03-11
'checksums': ['ad5b2574fccaa4c3fa67b9874fbed863d29ad230c784e9a08b20692418f6a1f8'],
}),
('libXdamage', '1.1.5', { # 2019-03-11
'checksums': ['630ec53abb8c2d6dac5cd9f06c1f73ffb4a3167f8118fdebd77afd639dbc2019'],
}),
('libfontenc', '1.1.4', { # 2019-02-20
'checksums': ['895ee0986b32fbfcda7f4f25ef6cbacfa760e1690bf59f02085ce0e7d1eebb41'],
}),
('libXfont', '1.5.4', { # 2017-11-28
'checksums': ['59be6eab53f7b0feb6b7933c11d67d076ae2c0fd8921229c703fc7a4e9a80d6e'],
}),
('libXfont2', '2.0.3', { # 2017-11-28
'checksums': ['a4b761a37528353a2b83dba364d7c1fd6aef2d554a1a019815f24f7f8866890e'],
}),
('libXft', '2.3.2', { # 2014-06-06
'checksums': ['26cdddcc70b187833cbe9dc54df1864ba4c03a7175b2ca9276de9f05dce74507'],
}),
('libXi', '1.7.9', { # 2017-01-23
'checksums': ['463cc5370191404bc0f8a450fdbf6d9159efbbf274e5e0f427a60191fed9cf4b'],
}),
('libXinerama', '1.1.4', { # 2018-07-05
'checksums': ['64de45e18cc76b8e703cb09b3c9d28bd16e3d05d5cd99f2d630de2d62c3acc18'],
}),
('libXrandr', '1.5.1', { # 2016-10-04
'checksums': ['2baa7fb3eca78fe7e11a09b373ba898b717f7eeba4a4bfd68187e04b4789b0d3'],
}),
('libXres', '1.2.0', { # 2017-10-11
'checksums': ['5b62feee09f276d74054787df030fceb41034de84174abec6d81c591145e043a'],
}),
('libXtst', '1.2.3', { # 2016-10-04
'checksums': ['a0c83acce02d4923018c744662cb28eb0dbbc33b4adc027726879ccf68fbc2c2'],
}),
('libXv', '1.0.11', { # 2016-10-04
'checksums': ['c4112532889b210e21cf05f46f0f2f8354ff7e1b58061e12d7a76c95c0d47bb1'],
}),
('libXvMC', '1.0.10', { # 2016-10-04
'checksums': ['d8306f71c798d10409bb181b747c2644e1d60c05773c742c12304ab5aa5c8436'],
}),
('libXxf86dga', '1.1.4', { # 2013-05-31
'checksums': ['e6361620a15ceba666901ca8423e8be0c6ed0271a7088742009160349173766b'],
}),
('libXxf86vm', '1.1.4', { # 2015-02-24
'checksums': ['5108553c378a25688dcb57dca383664c36e293d60b1505815f67980ba9318a99'],
}),
('libdmx', '1.1.4', { # 2018-05-14
'checksums': ['4d05bd5b248c1f46729fa1536b7a5e4d692567327ad41564c36742fb327af925'],
}),
('libpciaccess', '0.14', { # 2017-10-23
'checksums': ['8d86e64893917be3dfb1c5e837888d1275399c818783474002203d751312b03c'],
}),
('libxkbfile', '1.0.9', { # 2015-05-01
'checksums': ['95df50570f38e720fb79976f603761ae6eff761613eb56f258c3cb6bab4fd5e3'],
}),
('libxshmfence', '1.3', { # 2018-02-26
'checksums': ['7eb3d46ad91bab444f121d475b11b39273142d090f7e9ac43e6a87f4ff5f902c'],
}),
('xcb-util', '0.4.0', { # 2014-10-15
'checksums': ['0ed0934e2ef4ddff53fcc70fc64fb16fe766cd41ee00330312e20a985fd927a7'],
}),
('xcb-util-image', '0.4.0', { # 2014-10-15
'checksums': ['cb2c86190cf6216260b7357a57d9100811bb6f78c24576a3a5bfef6ad3740a42'],
}),
('xcb-util-keysyms', '0.4.0', { # 2014-10-01
'checksums': ['0807cf078fbe38489a41d755095c58239e1b67299f14460dec2ec811e96caa96'],
}),
('xcb-util-renderutil', '0.3.9', { # 2014-06-13
'checksums': ['55eee797e3214fe39d0f3f4d9448cc53cffe06706d108824ea37bb79fcedcad5'],
}),
('xcb-util-wm', '0.4.1', { # 2014-02-19
'checksums': ['038b39c4bdc04a792d62d163ba7908f4bb3373057208c07110be73c1b04b8334'],
}),
('xcb-util-cursor', '0.1.3', { # 2016-05-12
'checksums': ['a322332716a384c94d3cbf98f2d8fe2ce63c2fe7e2b26664b6cea1d411723df8'],
}),
('xkeyboard-config', '2.26', { # 2019-02-02
'checksums': ['8d7e2aaa4e9d66843540e6ef3ebadf79d665d954bfa37d8829be428da6e08bbe'],
}),
('printproto', '1.0.5', { # 2011-01-06
'checksums': ['e8b6f405fd865f0ea7a3a2908dfbf06622f57f2f91359ec65d13b955e49843fc'],
}),
('libXp', '1.0.3', { # 2015-02-21
'checksums': ['f6b8cc4ef05d3eafc9ef5fc72819dd412024b4ed60197c0d5914758125817e9c'],
}),
('xbitmaps', '1.1.2', { # 2018-03-10
'checksums': ['27e700e8ee02c43f7206f4eca8f1953ad15236cac95d7a0f08505c3f7d99c265'],
}),
]
preconfigopts = "if [ ! -f configure ]; then ./autogen.sh; fi && "
sanity_check_paths = {
'files': ['include/X11/Xlib.h', 'include/X11/Xutil.h'],
'dirs': ['include/GL', 'include/X11', 'include/X11/extensions', 'lib/pkgconfig',
'share/pkgconfig', 'share/X11/xkb'],
}
moduleclass = 'vis'