Merge branch 'it4i-barbora'

This commit is contained in:
Lukáš Krupčík 2020-03-23 12:02:01 +01:00
commit 9214deafb5
5 changed files with 164 additions and 7 deletions

View File

@ -0,0 +1,21 @@
# IT4Innovations 2020
name = 'Doxygen'
version = '1.8.12'
homepage = 'http://www.doxygen.org'
description = """Doxygen is a documentation system for C++, C, Java, Objective-C, Python,
IDL (Corba and Microsoft flavors), Fortran, VHDL, PHP, C#, and to some extent D."""
toolchain = SYSTEM
source_urls = [SOURCEFORGE_SOURCE]
sources = ['%(namelower)s-%(version)s.src.tar.gz']
builddependencies = [
('flex', '2.6.4'),
('Bison', '3.3.2'),
('CMake', '3.16.2')
]
moduleclass = 'devel'

View File

@ -0,0 +1,36 @@
# IT4Innovations 2020
name = 'netCDF'
version = '4.7.3'
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': '2020a'}
toolchainopts = {'pic': True, 'usempi': True}
sources = ['v%(version)s.tar.gz']
source_urls = [
'https://github.com/Unidata/netcdf-c/archive/'
]
dependencies = [
('HDF5', '1.10.6'),
('cURL', '7.65.3', '', True),
('Szip', '2.1', '', True),
]
builddependencies = [
('CMake', '3.16.2', '', True),
('Doxygen', '1.8.12', '', True),
]
# make sure both static and shared libs are built
configopts = [
"-DBUILD_SHARED_LIBS=OFF ",
"-DBUILD_SHARED_LIBS=ON ",
]
moduleclass = 'data'

View File

@ -4,22 +4,25 @@ easyblock = 'PythonBundle'
name = 'numba' name = 'numba'
version = '0.48.0' version = '0.48.0'
versionsuffix = "-Py-3.7"
homepage = 'https://numba.pydata.org/' homepage = 'https://numba.pydata.org/'
description = """Numba is an Open Source NumPy-aware optimizing compiler for description = """Numba is an Open Source NumPy-aware optimizing compiler for
Python sponsored by Continuum Analytics, Inc. It uses the remarkable LLVM Python sponsored by Continuum Analytics, Inc. It uses the remarkable LLVM
compiler infrastructure to compile Python syntax to machine code.""" compiler infrastructure to compile Python syntax to machine code."""
toolchain = {'name': 'Py', 'version': '3.7'} toolchain = {'name': 'intel', 'version': '2020a'}
toolchainopts = {'pic': True} toolchainopts = {'pic': True}
dependencies = [ dependencies = [
('numpy', '1.18.1'), ('numpy', '1.18.1', versionsuffix, True),
('scipy', '1.3.3'), ('scipy', '1.3.3', versionsuffix, True),
('pandas', '1.0.0'), ('pandas', '1.0.0', versionsuffix, True),
('mpmath', '1.1.0'), ('mpmath', '1.1.0', versionsuffix, True),
('mpi4py', '3.0.1', '-Py-3.7', ('intel', '2020a')), ('mpi4py', '3.0.1', versionsuffix),
('LLVM', '8.0.1', '', ('GCCcore', '8.3.0')), ('LLVM', '8.0.1', '', ('GCCcore', '8.3.0')),
('tbb', '2019_U9', '', ('GCCcore', '8.3.0')),
] ]
use_pip = True use_pip = True
@ -46,7 +49,7 @@ fix_python_shebang_for = ['bin/*']
sanity_check_paths = { sanity_check_paths = {
'files': ['bin/numba', 'bin/pycc'], 'files': ['bin/numba', 'bin/pycc'],
'dirs': ['lib/python%(pyshortver)s/site-packages'], 'dirs': ['lib/python3.7/site-packages'],
} }
sanity_check_commands = ["numba --help"] sanity_check_commands = ["numba --help"]

View File

@ -0,0 +1,18 @@
name = 'tbb'
version = '2019_U9'
homepage = 'https://01.org/tbb/'
description = """Intel(R) Threading Building Blocks (Intel(R) TBB) lets you easily write parallel C++ programs that
take full advantage of multicore performance, that are portable, composable and have future-proof scalability."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['https://github.com/01org/tbb/archive/']
sources = ['%(version)s.tar.gz']
checksums = ['3f5ea81b9caa195f1967a599036b473b2e7c347117330cda99b79cfcf5b77c84']
builddependencies = [
('binutils', '2.32')
]
moduleclass = 'lib'

View File

@ -0,0 +1,79 @@
# IT4Innovations 2020
easyblock = 'CMakeMake'
name = 'VTK'
version = '8.2.0'
versionsuffix = '-Py-3.7'
homepage = 'http://www.vtk.org'
description = """The Visualization Toolkit (VTK) is an open-source, freely available software system for
3D local_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': '2020a'}
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.16.2', '', True)]
dependencies = [
('Py', '3.7', '', True),
('XZ', '5.2.4'),
('HDF5', '1.10.6'),
('netCDF', '4.7.3'),
('libGLU', '9.0.0', '', True),
('X11', '20190717', '', True),
('pandas', '1.0.0', versionsuffix, True),
('numpy', '1.18.1', versionsuffix, True),
('scipy', '1.3.3', versionsuffix, True),
('mpi4py', '3.0.1', versionsuffix),
]
separate_build_dir = True
maxparallel = 1
# 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/python3.7m "
configopts += "-DPYTHON_LIBRARY=$EBROOTPYTHON/lib/libpython3.7.%s " % SHLIB_EXT
# Other
configopts += "-DVTK_Group_MPI:BOOL=ON "
configopts += "-DCMAKE_INSTALL_LIBDIR=lib"
preinstallopts = "export PYTHONPATH=%(installdir)s/lib/python3.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/python3.7/site-packages/', 'include/vtk-%(version_major_minor)s'],
}
sanity_check_commands = [('python', "-c 'import %(namelower)s'")]
moduleclass = 'vis'