easyconfigs-it4i/p/ParaView/ParaView-5.5.2-intel-2017a-mpi-OSPRay.eb
Lukáš Krupčík 54ebe4a019 new file: c/CGAL/CGAL-4.12-intel-2017a.eb
new file:   e/Embree/Embree-3.2.0-intel-2017a.eb
	new file:   f/freeglut/freeglut-3.0.0-intel-2017a-Mesa-18.1.3.eb
	new file:   l/LAMMPS/LAMMPS-22Jun2018-foss-2017a.eb
	new file:   l/LAMMPS/LAMMPS-22Jun2018-foss-2017a.patch
	new file:   l/LLVM/LLVM-6.0.0-Py-2.7.eb
	new file:   l/LLVM/LLVM-6.0.1-GCC-6.3.0-2.27.eb
	new file:   m/Mesa/Mesa-18.1.3-intel-2017a.eb
	new file:   o/OSPRay/OSPRay-1.6.1-intel-2017a.eb
	new file:   o/OpenFOAM/OpenFOAM-5.0-intel-2017a.eb
	new file:   p/ParaView/ParaView-5.4.1-Qt.patch
	new file:   p/ParaView/ParaView-5.4.1-intel-2017a-mpi.eb
	new file:   p/ParaView/ParaView-5.5.2-intel-2017.patch
	new file:   p/ParaView/ParaView-5.5.2-intel-2017a-mpi-OSPRay.eb
	new file:   s/SCOTCH/SCOTCH-6.0.5a-intel-2017a.eb
	deleted:    l/LLVM/LLVM-6.0.0-GCC-6.3.0-2.27.eb


Former-commit-id: a61c77eba93686847c3adfbc5a1df86bbb15366f
2018-07-03 11:31:58 +02:00

57 lines
2.4 KiB
Plaintext

# IT4Innovations
easyblock = 'CMakeMake'
name = 'ParaView'
version = '5.5.2'
versionsuffix = '-mpi-OSPRay'
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.5.2-intel-2017.patch']
dependencies = [
('X11', '20170314', '', True),
('Mesa', '18.1.3'),
('libGLU', '9.0.0', '', True),
('Qt5', '5.11.1', '', ('GCC', '6.3.0-2.27')),
('zlib', '1.2.11', '', True),
('HDF5', '1.8.17'),
('Python', '2.7.13', '', True),
('OSPRay', '1.6.1'),
]
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_USE_OSPRAY=ON -DOSPRAY_INSTALL_DIR=$EBROOTOSPRAY -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'