Commit 0cdb0f7b authored by Lukáš Krupčík's avatar Lukáš Krupčík

Merge branch 'it4i-salomon'

parents 6735b14a 9f32b453
# IT4Innovations 2019
easyblock = 'ConfigureMake'
name = 'DBus'
version = '1.13.6'
homepage = 'http://dbus.freedesktop.org/'
description = """
D-Bus is a message bus system, a simple way for applications to talk
to one another. In addition to interprocess communication, D-Bus helps
coordinate process lifecycle; it makes it simple and reliable to code
a "single instance" application or daemon, and to launch applications
and daemons on demand when their services are needed.
"""
toolchain = {'name': 'GCCcore', 'version': '6.3.0'}
toolchainopts = {'pic': True}
source_urls = ['http://dbus.freedesktop.org/releases/dbus']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['b533693232d36d608a09f70c15440c1816319bac3055433300d88019166c1ae4']
builddependencies = [
('binutils', '2.27'),
]
dependencies = [
('expat', '2.2.0', '', True),
]
configopts = '--without-systemdsystemunitdir'
sanity_check_paths = {
'files': ['bin/dbus-%s' % x for x in
['cleanup-sockets', 'daemon', 'launch', 'monitor',
'run-session', 'send', 'uuidgen']] +
['lib/libdbus-1.%s' % x for x in ['a', SHLIB_EXT]],
'dirs': ['include', 'share'],
}
moduleclass = 'devel'
# IT4Innovations 2019
easyblock = 'PythonPackage'
name = 'dill'
version = '0.2.9'
homepage = 'https://github.com/uqfoundation/dill'
description = """dill extends python's pickle module for serializing and de-serializing python objects to the majority of the built-in python types. Serialization is the process of converting an object to a byte stream, and the inverse of which is converting a byte stream back to on python object hierarchy."""
toolchain = {'name': 'Py', 'version': '2.7'}
source_urls = ['https://github.com/uqfoundation/dill/archive/']
sources = [SOURCE_TAR_GZ]
#dependencies = [
# ('mkl', '2017.4.239', '', True),
#]
sanity_check_paths = {
'files': [],
'dirs': ['bin', 'lib/python2.7/site-packages']
}
moduleclass = 'python'
# IT4Innovations 2018
name = 'HDF5'
version = '1.10.2'
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': 'foss', 'version': '2017a'}
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'
# IT4Innovations 2019
easyblock = 'PythonPackage'
name = 'multiprocess'
version = '0.70.7'
homepage = 'https://github.com/uqfoundation/multiprocess'
description = """multiprocess is a fork of multiprocessing, and is developed as part of pathos: https://github.com/uqfoundation/pathos multiprocessing is a package for the Python language which supports the spawning of processes using the API of the standard library's threading module. multiprocessing has been distributed in the standard library since python 2.6"""
toolchain = {'name': 'Py', 'version': '2.7'}
source_urls = ['https://github.com/uqfoundation/multiprocess/archive/']
sources = [SOURCE_TAR_GZ]
dependencies = [
('dill', '0.2.9'),
]
sanity_check_paths = {
'files': [],
'dirs': ['bin', 'lib/python2.7/site-packages']
}
moduleclass = 'python'
#!/usr/bin/env python
#
# nasledujici funguje v standardnim pythonu ale treba ne v defaultnim 2.7.5 na CentOSu
import multiprocessing
print multiprocessing.__version__
def f(x): return x*x
pool = multiprocessing.Pool(processes=4)
print pool.map(f, range(10))
pool.close()
pool.join()
#!/usr/bin/env python
#
# nasledujici funguje pouze pod multiprocess s podporou dill
import multiprocess
pool = multiprocess.Pool(processes=4)
print (pool.map(lambda x: (lambda y:y**2)(x) + x, xrange(10)))
easyblock = 'ConfigureMake'
name = 'NSPR'
version = '4.20'
homepage = 'https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR'
description = """Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level
and libc-like functions."""
toolchain = {'name': 'GCCcore', 'version': '6.3.0'}
source_urls = ['https://archive.mozilla.org/pub/nspr/releases/v%(version)s/src/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['2c8964913da89ffbaf464d49ce44d79e8804e1794ef9a8c52a7bff7224d1556e']
builddependencies = [('binutils', '2.27')]
configopts = "--disable-debug --enable-optimize --enable-64bit"
sanity_check_paths = {
'files': ['bin/nspr-config', 'lib/libnspr%(version_major)s.a', 'lib/libnspr%%(version_major)s.%s' % SHLIB_EXT,
'lib/libplc%(version_major)s.a', 'lib/libplc%%(version_major)s.%s' % SHLIB_EXT,
'lib/libplds%(version_major)s.a', 'lib/libplds%%(version_major)s.%s' % SHLIB_EXT,
'lib/pkgconfig/nspr.pc'],
'dirs': ['include/nspr'],
}
moduleclass = 'lib'
# IT4Innovations 2019
easyblock = 'MakeCp'
name = 'NSS'
version = '3.39'
homepage = 'https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS'
description = """Network Security Services (NSS) is a set of libraries designed to support cross-platform development
of security-enabled client and server applications."""
toolchain = {'name': 'GCCcore', 'version': '6.3.0'}
source_urls = ['https://ftp.mozilla.org/pub/security/nss/releases/NSS_%(version_major)s_%(version_minor)s_RTM/src/']
sources = [SOURCELOWER_TAR_GZ]
patches = ['NSS-%(version)s_pkgconfig.patch']
checksums = [
'6be64dd76f212415cc8bc34343ac1e7389048db4db9a023a84873c411dc5864b', # nss-3.39.tar.gz
'5c4b55842e5afd1e8e67b90635f6474510b89242963c4ac2622d3e3da9062774', # NSS-3.39_pkgconfig.patch
]
builddependencies = [('binutils', '2.27')]
dependencies = [
('NSPR', '4.20'),
('zlib', '1.2.11', '', True),
]
# building in parallel fails
parallel = 1
# fix for not being able to find header files
buildopts = 'BUILD_OPT=1 USE_64=1 CPATH="$EBROOTNSPR/include/nspr:$CPATH" && '
# also install pkgconfig file (see patch)
buildopts += "cd config && make PREFIX=%(installdir)s BUILD_OPT=1 USE_64=1 && cd -"
files_to_copy = ['../dist/Linux*.OBJ/*', (['../dist/public/*'], 'include')]
sanity_check_paths = {
'files': ['lib/libnss.a'],
'dirs': ['bin', 'include/dbm', 'include/nss'],
}
modextrapaths = {'CPATH': 'include/nss'}
moduleclass = 'lib'
# IT4Innovations 2018
name = 'OpenFOAM'
version = '5.0'
homepage = 'http://www.openfoam.com/'
description = """OpenFOAM is a free, open source CFD software package.
OpenFOAM has an extensive range of features to solve anything from complex fluid flows
involving chemical reactions, turbulence and heat transfer,
to solid dynamics and electromagnetics."""
toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'cstd': 'c++11'}
source_urls = [
'https://github.com/OpenFOAM/OpenFOAM-%(version_major)s.x/archive']
sources = ['version-%(version)s.tar.gz']
patches = ['OpenFOAM-%(version)s-cleanup.patch']
dependencies = [
('libreadline', '7.0', '', True),
('ncurses', '6.0', '', True),
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
('METIS', '5.1.0'),
('SCOTCH', '6.0.5a'),
('CGAL', '4.8.1'),
# Maximum ParaView version 5.2! (ADD_PARAVIEW_OBJECT_PANEL is no longer
# supported)
('ParaView', '5.4.1', '-mpi'),
]
builddependencies = [
('Bison', '3.0.4', '', True),
('CMake', '3.7.2', '', True),
('flex', '2.6.0', '', True),
]
modextrapaths = {'PATH': 'OpenFOAM-%(version)s/bin'}
moduleclass = 'cae'
......@@ -2,7 +2,6 @@
name = 'OpenFOAM'
version = '6'
versionsuffix= '-noGUI'
homepage = 'http://www.openfoam.org/'
description = """OpenFOAM is a free, open source CFD software package.
......@@ -10,7 +9,7 @@ description = """OpenFOAM is a free, open source CFD software package.
involving chemical reactions, turbulence and heat transfer,
to solid dynamics and electromagnetics."""
toolchain = {'name': 'foss', 'version': '2017b'}
toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'cstd': 'c++11'}
source_urls = [
......@@ -28,8 +27,9 @@ dependencies = [
('ncurses', '6.1', '', True),
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
('METIS', '5.1.0'),
('SCOTCH', '6.0.5'),
('CGAL', '4.11.1'),
('SCOTCH', '6.0.5a'),
('CGAL', '4.8.1'),
('ParaView', '5.4.1', '-mpi'),
]
builddependencies = [
......
This diff is collapsed.
# IT4Innovations 2019
# UV1
easyblock = 'CMakeMake'
name = 'ParaView'
version = '5.4.1'
versionsuffix = '-mpi'
homepage = "http://www.paraview.org"
description = "ParaView is a scientific parallel visualizer."
toolchain = {'name': 'foss', 'version': '2017a'}
toolchainopts = {'pic': True, 'usempi': True}
download_suffix = 'download.php?submit=Download&version=v%(version_major_minor)s&type=source&os=all&downloadFile='
source_urls = [
'http://www.paraview.org/paraview-downloads/%s' %
download_suffix]
sources = ["ParaView-v%(version)s.tar.gz"]
checksums = ['390d0f5dc66bf432e202a39b1f34193af4bf8aad2355338fa5e2778ea07a80e4']
dependencies = [
('X11', '20160819', '', True),
('Mesa', '18.1.3', '', ('GCC', '6.3.0-2.27')),
('libGLU', '9.0.0', '', True),
('Qt5', '5.8.0', '', ('GCC', '6.3.0-2.27')),
('zlib', '1.2.11', '', True),
('HDF5', '1.10.2'),
('Python', '2.7.13', '', True),
]
builddependencies = [
# ('CMake', '3.11.4', '', ('GCC', '6.3.0-2.27'))
('CMake', '3.9.1', '', True)
]
separate_build_dir = True
configopts = '-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DVTK_OPENGL_HAS_OSMESA=ON -DPARAVIEW_USE_MPI=ON '
configopts += '-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include -DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s ' % SHLIB_EXT
configopts += '-DOSMESA_INCLUDE_DIR=$EBROOTMESA/include -DOSMESA_LIBRARY=$EBROOTMESA/lib/libOSMesa.%s ' % SHLIB_EXT
configopts += '-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s ' % SHLIB_EXT
configopts += '-DVTK_USE_SYSTEM_HDF5=ON -DPARAVIEW_ENABLE_PYTHON=ON -DBUILD_SHARED_LIBS=ON '
# if you want to build server only Paraview, uncomment the following line:
# configopts += '-DVTK_USE_X=OFF '
# Without internet connection turn off testing (uncomment the following line)
configopts += '-DBUILD_TESTING=OFF '
# Or consult https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/data.md
# and download ExternalData to $EASYBUILD_SOURCEPATH and adjust -DExternalData_OBJECT_STORES accordingly
# Without internet connection, comment the following two lines (configopts
# and prebuildopts)
configopts += '-DExternalData_OBJECT_STORES=%(builddir)s/ExternalData '
configopts += ' -DPARAVIEW_QT_VERSION=5 -DQT_QMAKE_EXECUTABLE=$EBROOTQT5/bin/qmake '
# The ParaView server can be cranky, test downloads are quite often failing, especially in the case
# of parallel downloads. Using ; insted of && gives a second chance to download the test files, if the
# first serial attempt would fail.
prebuildopts = 'make VTKData ;'
moduleclass = 'vis'
# IT4Innovations
easyblock = 'CMakeMake'
name = 'ParaView'
version = '5.4.1'
versionsuffix = '-mpi'
homepage = "http://www.paraview.org"
description = "ParaView is a scientific parallel visualizer."
toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'pic': True, 'usempi': True}
download_suffix = 'download.php?submit=Download&version=v%(version_major_minor)s&type=source&os=all&downloadFile='
source_urls = [
'http://www.paraview.org/paraview-downloads/%s' %
download_suffix]
sources = ["ParaView-v%(version)s.tar.gz"]
patches = ['ParaView-5.4.1-Qt.patch']
dependencies = [
('X11', '20160819', '', True),
('Mesa', '12.0.2'),
('libGLU', '9.0.0', '', True),
('Qt5', '5.8.0', '', ('GCC', '6.3.0-2.27')),
('zlib', '1.2.11', '', True),
('HDF5', '1.8.17'),
('Python', '2.7.13', '', True),
]
builddependencies = [('CMake', '3.9.1', '', True)]
separate_build_dir = True
configopts = '-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DVTK_OPENGL_HAS_OSMESA=ON -DPARAVIEW_USE_MPI=ON '
configopts += '-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include -DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s ' % SHLIB_EXT
configopts += '-DOSMESA_INCLUDE_DIR=$EBROOTMESA/include -DOSMESA_LIBRARY=$EBROOTMESA/lib/libOSMesa.%s ' % SHLIB_EXT
configopts += '-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s ' % SHLIB_EXT
configopts += '-DVTK_USE_SYSTEM_HDF5=ON -DPARAVIEW_ENABLE_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DVTK_RENDERING_BACKEND=OpenGL2 '
configopts += '-DPARAVIEW_QT_VERSION=5 '
# if you want to build server only Paraview, uncomment the following line:
# configopts += '-DVTK_USE_X=OFF '
# Without internet connection turn off testing (uncomment the following line)
configopts += '-DBUILD_TESTING=OFF '
# Or consult https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/data.md
# and download ExternalData to $EASYBUILD_SOURCEPATH and adjust -DExternalData_OBJECT_STORES accordingly
# Without internet connection, comment the following two lines (configopts and prebuildopts)
#configopts += '-DExternalData_OBJECT_STORES=%(builddir)s/ExternalData '
# The ParaView server can be cranky, test downloads are quite often failing, especially in the case
# of parallel downloads. Using ; insted of && gives a second chance to download the test files, if the
# first serial attempt would fail.
#prebuildopts = 'make VTKData ;'
moduleclass = 'vis'
easyblock = 'EB_Qt'
name = 'Qt5'
version = '5.11.2'
homepage = 'http://qt.io/'
description = "Qt is a comprehensive cross-platform C++ application framework."
toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
source_urls = [
'http://download.qt.io/official_releases/qt/%(version_major_minor)s/%(version)s/single/',
'http://download.qt.io/archive/qt/%(version_major_minor)s/%(version)s/single/'
]
sources = ['qt-everywhere-src-%(version)s.tar.xz']
checksums = ['c6104b840b6caee596fa9a35bc5f57f67ed5a99d6a36497b6fe66f990a53ca81']
builddependencies = [
('pkg-config', '0.29.2', '', True),
('Bison', '3.0.4', '', True),
('flex', '2.6.4', '', True),
('Python', '2.7.13', '', True),
]
dependencies = [
('GLib', '2.57.1', '', True),
('libpng', '1.6.34', '', True),
('X11', '20170314', '', True),
('libGLU', '9.0.0', '', True),
('NSS', '3.39'),
('DBus', '1.13.6'),
('gperf', '3.1', '', True),
]
# qtgamepad needs recent kernel/libevdev (fails on RHEL 6.x)
configopts = '-skip qtgamepad'
# make sure QtWebEngine component is being built & installed
check_qtwebengine = True
moduleclass = 'devel'
......@@ -3,17 +3,18 @@
easyblock = 'EB_Qt'
name = 'Qt5'
version = '5.11.1'
version = '5.9.3'
homepage = 'http://qt.io/'
description = "Qt is a comprehensive cross-platform C++ application framework."
toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
toolchain = {'name': 'intel', 'version': '2017a'}
source_urls = [
'http://download.qt.io/official_releases/qt/%(version_major_minor)s/%(version)s/single/',
'http://download.qt.io/archive/qt/%(version_major_minor)s/%(version)s/single/']
sources = ['qt-everywhere-src-%(version)s.tar.xz']
'http://download.qt.io/archive/qt/%(version_major_minor)s/%(version)s/single/'
]
sources = ['qt-everywhere-opensource-src-%(version)s.tar.xz']
#patches = ['Qt5-5.7.1_fix-nan-inf.patch']
......@@ -26,9 +27,10 @@ configopts = '-skip qtgamepad'
dependencies = [
('GLib', '2.57.1', '', True),
('libpng', '1.6.34', '', True),
('X11', '20170314', '', True),
('libGLU', '9.0.0', '', True),
('Mesa', '18.1.3'),
('Mesa', '18.1.3', '', ('GCC', '6.3.0-2.27')),
]
moduleclass = 'devel'
# IT4Innovations 2019
easyblock = 'CMakeMake'
name = 'som'
version = '1.1'
homepage = 'http://krivenko.github.io/som/index.html'
description = 'The TRIQS-based Stochastic Optimization Method for Analytic Continuation allows to solve a family of Fredholm integral equations of the first kind.'
toolchain = {'name': 'gompi', 'version': '2019.02'}
source_urls = ['https://github.com/krivenko/som/archive/']
sources = ['%(version)s.tar.gz']
dependencies = [
('TRIQS', '1.4.1'),
]
builddependencies = [
('CMake', '3.13.1', '', True),
]
configopts = '-DTRIQS_PATH=$EBROOTTRIQS'
separate_build_dir = True
sanity_check_paths = {
'files': ['bin/som', 'lib/libtriqs.so'],
'dirs': [],
}
moduleclass = 'lib'
# IT4Innovations 2019
# cthyb extension installed manually https://triqs.ipht.cnrs.fr/1.4/applications/cthyb/install.html
# som extension installed with EB s/som/som-1.1-foss-2017a.eb
easyblock = 'CMakeMake'
name = 'TRIQS'
version = '1.4.1'
homepage = 'https://triqs.ipht.cnrs.fr'
description = """TRIQS (Toolbox for Research on Interacting Quantum Systems) is a scientific
project providing a set of C++ and Python libraries to develop new tools for the study
of interacting quantum systems."""
toolchain = {'name': 'gompi', 'version': '2019.02'}
source_urls = ['https://github.com/TRIQS/triqs/archive/']
sources = ['%(version)s.tar.gz']
dependencies = [
('HDF5', '1.10.4', '-serial'),
('FFTW', '3.3.8'),
('Clang', '7.0.1'),
('OpenBLAS', '0.2.20'),
('Boost', '1.68.0', '-Python-2.7.15'),
]
builddependencies = [
('CMake', '3.13.1', '', True),
]
separate_build_dir = True
sanity_check_paths = {
'files': ['bin/pytriqs', 'lib/libtriqs.so'],
'dirs': [],
}
moduleclass = 'lib'
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