mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 15:32:11 +01:00
new file: o/OpenFOAM/OpenFOAM-6-foss-2017b-noGUI.eb
new file: p/ParaView/ParaView-5.4.1-foss-2017a-mpi.eb new file: p/Python/Python-3.6.8-base.eb new file: q/Qt5/Qt5-5.11.1-GCC-6.3.0-2.27-uv.eb
This commit is contained in:
parent
6d14a88fb4
commit
4da89e2a16
41
o/OpenFOAM/OpenFOAM-6-foss-2017b-noGUI.eb
Normal file
41
o/OpenFOAM/OpenFOAM-6-foss-2017b-noGUI.eb
Normal file
@ -0,0 +1,41 @@
|
||||
# IT4Innovations 2018
|
||||
|
||||
name = 'OpenFOAM'
|
||||
version = '6'
|
||||
versionsuffix= '-noGUI'
|
||||
|
||||
homepage = 'http://www.openfoam.org/'
|
||||
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': 'foss', 'version': '2017b'}
|
||||
toolchainopts = {'cstd': 'c++11'}
|
||||
|
||||
source_urls = [
|
||||
'https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
|
||||
sources = ['version-%(version)s.tar.gz']
|
||||
patches = ['OpenFOAM-%(version)s-cleanup.patch']
|
||||
checksums = [
|
||||
'32a6af4120e691ca2df29c5b9bd7bc7a3e11208947f9bccf6087cfff5492f025', # version-6.tar.gz
|
||||
'5accbde6bde116691ea6a4666348f85487b5d5503a9761435c2cb1412b036c28',
|
||||
# OpenFOAM-6-cleanup.patch
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
('libreadline', '7.0', '', True),
|
||||
('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'),
|
||||
]
|
||||
|
||||
builddependencies = [
|
||||
('Bison', '3.0.4', '', True),
|
||||
('CMake', '3.11.4', '', ('GCC', '6.3.0-2.27')),
|
||||
('flex', '2.6.4', '', True),
|
||||
]
|
||||
|
||||
moduleclass = 'cae'
|
62
p/ParaView/ParaView-5.4.1-foss-2017a-mpi.eb
Normal file
62
p/ParaView/ParaView-5.4.1-foss-2017a-mpi.eb
Normal file
@ -0,0 +1,62 @@
|
||||
# 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', '20170314', '', 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'
|
50
p/Python/Python-3.6.8-base.eb
Normal file
50
p/Python/Python-3.6.8-base.eb
Normal file
@ -0,0 +1,50 @@
|
||||
# IT4Innovations 2019
|
||||
|
||||
name = 'Python'
|
||||
version = '3.6.8'
|
||||
versionsuffix = '-base'
|
||||
|
||||
homepage = 'http://python.org/'
|
||||
description = "Python is a programming language that lets you work more quickly and integrate your systems more effectively."
|
||||
|
||||
toolchain = {'name': 'dummy', 'version': ''}
|
||||
toolchainopts = {'pic': True, 'opt': True, 'optarch': True}
|
||||
|
||||
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
|
||||
sources = [SOURCE_TGZ]
|
||||
|
||||
prebuildopts = 'export CFLAGS="-I${EBROOTXZ}/include" && '
|
||||
prebuildopts += 'export LDFLAGS="-L${EBROOTXZ}/lib" && '
|
||||
configopts = "--enable-optimizations"
|
||||
|
||||
# python needs bzip2 to build the bz2 package
|
||||
dependencies = [
|
||||
('bzip2', '1.0.6'),
|
||||
('libreadline', '7.0'),
|
||||
('SQLite', '3.17.0'),
|
||||
('Tk', '8.6.6'),
|
||||
('GMP', '6.1.2'),
|
||||
('XZ', '5.2.3'),
|
||||
('zlib', '1.2.11'),
|
||||
('ncurses', '6.0'),
|
||||
# ('OpenSSL', '1.0.1q'), # OS dependency should be preferred if the os version is more recent then this version, it's
|
||||
# nice to have an up to date openssl for security reasons
|
||||
]
|
||||
|
||||
#osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')]
|
||||
|
||||
exts_list = [
|
||||
('setuptools', '40.0.0', {
|
||||
'source_tmpl': '%(name)s-%(version)s.zip',
|
||||
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
|
||||
'checksums': ['012adb8e25fbfd64c652e99e7bab58799a3aaf05d39ab38561f69190a909015f'],
|
||||
}),
|
||||
('pip', '19.0.1', {
|
||||
'source_urls': ['https://pypi.python.org/packages/source/p/pip/'],
|
||||
}),
|
||||
('nose', '1.3.7', {
|
||||
'source_urls': ['https://pypi.python.org/packages/source/n/nose/'],
|
||||
}),
|
||||
]
|
||||
|
||||
moduleclass = 'lang'
|
34
q/Qt5/Qt5-5.11.1-GCC-6.3.0-2.27-uv.eb
Normal file
34
q/Qt5/Qt5-5.11.1-GCC-6.3.0-2.27-uv.eb
Normal file
@ -0,0 +1,34 @@
|
||||
# IT4Innovation 2018
|
||||
|
||||
easyblock = 'EB_Qt'
|
||||
|
||||
name = 'Qt5'
|
||||
version = '5.11.1'
|
||||
|
||||
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']
|
||||
|
||||
#patches = ['Qt5-5.7.1_fix-nan-inf.patch']
|
||||
|
||||
builddependencies = [
|
||||
('pkg-config', '0.29.2', '', True),
|
||||
]
|
||||
|
||||
# qtgamepad needs recent kernel/libevdev (fails on RHEL 6.x)
|
||||
configopts = '-skip qtgamepad'
|
||||
|
||||
dependencies = [
|
||||
('GLib', '2.57.1', '', True),
|
||||
('X11', '20170314', '', True),
|
||||
('libGLU', '9.0.0', '', True),
|
||||
('Mesa', '18.1.3'),
|
||||
]
|
||||
|
||||
moduleclass = 'devel'
|
Loading…
x
Reference in New Issue
Block a user