mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

new file: c/CGAL/CGAL-5.2-iimpi-2020b.eb new file: g/gnuplot/gnuplot-5.4.1-GCCcore-10.2.0.eb new file: h/HDF5/HDF5-1.10.7-iimpi-2020b.eb new file: m/Mako/Mako-1.1.3-GCCcore-10.2.0.eb modified: o/OpenFOAM/OpenFOAM-v2106-foss-2020b.eb new file: o/OpenFOAM/OpenFOAM-v2106-intel-2020b.eb new file: p/ParaView/ParaView-5.9.1-intel-2020b-mpi.eb new file: q/Qt5/Qt5-5.14.2-GCCcore-10.2.0.eb new file: s/SciPy-bundle/SciPy-bundle-2020.11-intel-2020b.eb modified: s/SciPy-bundle/SciPy-bundle-2021.05-intel-2020b.eb
61 lines
1.8 KiB
Plaintext
61 lines
1.8 KiB
Plaintext
# IT4Innovations
|
|
# LK 2021
|
|
|
|
easyblock = 'CMakeMake'
|
|
|
|
name = 'ParaView'
|
|
version = '5.9.1'
|
|
versionsuffix = '-mpi'
|
|
|
|
homepage = "https://www.paraview.org"
|
|
description = "ParaView is a scientific parallel visualizer."
|
|
|
|
toolchain = {'name': 'intel', 'version': '2020b'}
|
|
toolchainopts = {'pic': True, 'usempi': True}
|
|
|
|
local_download_suffix = 'download.php?submit=Download&version=v%(version_major_minor)s&type=source&os=all&downloadFile='
|
|
source_urls = ['https://www.paraview.org/paraview-downloads/%s' % local_download_suffix]
|
|
sources = ["%(name)s-v%(version)s.tar.gz"]
|
|
checksums = ['efbcba00ba38c23d0ada1bde7144a8745caa308d9e1f94a4a71d8af63732266f']
|
|
|
|
dependencies = [
|
|
('Python', '3.8.6'),
|
|
('SciPy-bundle', '2020.11'),
|
|
('XZ', '5.2.5'),
|
|
('HDF5', '1.10.7'),
|
|
('netCDF', '4.7.4'),
|
|
('libGLU', '9.0.1'),
|
|
('X11', '20201008'),
|
|
('Mesa', '20.2.1'),
|
|
('Qt5', '5.14.2'),
|
|
('zlib', '1.2.11'),
|
|
('FFmpeg', '4.3.1'),
|
|
('Szip', '2.1.1'),
|
|
]
|
|
|
|
builddependencies = [('CMake', '3.18.4')]
|
|
|
|
separate_build_dir = True
|
|
|
|
# Paraview
|
|
configopts = '-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DPARAVIEW_BUILD_SHARED_LIBS=ON '
|
|
configopts += '-DPARAVIEW_USE_MPI=ON '
|
|
configopts += '-DPARAVIEW_ENABLE_FFMPEG=ON '
|
|
configopts += '-DPARAVIEW_USE_PYTHON=ON '
|
|
configopts += '-DPython3_ROOT_DIR=$EBROOTPYTHON '
|
|
|
|
# OpenGL & Mesa
|
|
configopts += '-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s ' % SHLIB_EXT
|
|
configopts += '-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include '
|
|
|
|
sanity_check_paths = {
|
|
'files': ['bin/paraview', 'bin/pvpython'],
|
|
'dirs': ['include/paraview-%(version_major_minor)s', 'lib/python%(pyshortver)s/site-packages'],
|
|
}
|
|
|
|
sanity_check_commands = ['python -c "import paraview"']
|
|
|
|
modextrapaths = {'PYTHONPATH': ['lib64/python%(pyshortver)s/site-packages', 'lib/python%(pyshortver)s/site-packages']}
|
|
|
|
moduleclass = 'vis'
|