mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 15:32:11 +01:00
Merge branch 'easyconfigs-it4i-anselm'
This commit is contained in:
commit
63773527b5
@ -12,7 +12,7 @@ source_urls = ['https://github.com/ospray/OSPRay/archive/']
|
||||
sources = ['v%(version)s.tar.gz']
|
||||
|
||||
builddependencies = [
|
||||
('CMake', '3.8.1', '', True),
|
||||
('CMake', '3.5.2', '', True),
|
||||
]
|
||||
|
||||
dependencies = [
|
@ -1,50 +0,0 @@
|
||||
easyblock = 'CMakeMake'
|
||||
|
||||
name = 'ParaView'
|
||||
version = '5.1.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"]
|
||||
|
||||
dependencies = [
|
||||
('X11', '20170314', '', True),
|
||||
('Mesa', '12.0.2'),
|
||||
('libGLU', '9.0.0', '', True),
|
||||
('Qt', '4.8.6', '', True),
|
||||
('zlib', '1.2.11', '', True),
|
||||
('HDF5', '1.8.17'),
|
||||
('Python', '2.7.13', '', True),
|
||||
]
|
||||
|
||||
builddependencies = [('CMake', '3.8.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 '
|
||||
# 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'
|
@ -1,26 +0,0 @@
|
||||
easyblock = 'PackedBinary'
|
||||
|
||||
name = 'ParaView'
|
||||
version = '5.1.2'
|
||||
versionsuffix = '-OSPRay'
|
||||
|
||||
homepage = "http://www.paraview.org"
|
||||
description = "ParaView is a scientific parallel visualizer."
|
||||
|
||||
toolchain = {'name': 'dummy', 'version': ''}
|
||||
|
||||
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 = ["PV5_1_2_pvOSPRay_linux_x86_64.tgz"]
|
||||
|
||||
dependencies = [('intel', '2017a')]
|
||||
|
||||
install_cmd = "cp -a PV5_1_2_pvOSPRay_linux_x86_64/* %(installdir)s/ && find %(installdir)s/ -type d -exec chmod 755 {} \; "
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['bin/paraview'],
|
||||
'dirs': ['bin', 'lib'],
|
||||
}
|
||||
|
||||
moduleclass = 'vis'
|
||||
|
Loading…
x
Reference in New Issue
Block a user