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

new file: b/Boost/Boost-1.67.0-foss-2017b.eb

	new file:   c/CGAL/CGAL-4.11.1-foss-2017b.eb
	new file:   h/HDF5/HDF5-1.10.2-foss-2017b.eb
	modified:   l/libGLU/libGLU-9.0.0.eb
	new file:   m/METIS/METIS-5.1.0-foss-2017b.eb
	new file:   m/METIS/METIS-5.1.0-use-doubles.patch
	new file:   m/MPFR/MPFR-4.0.1-foss-2017b.eb
	new file:   m/Mesa/Mesa-18.1.1-foss-2017b.eb
	new file:   o/OpenFOAM/.OpenFOAM-6-foss-2017b.eb.swp
	new file:   o/OpenFOAM/OpenFOAM-6-foss-2017b.eb
	new file:   p/ParaView/ParaView-5.4.1-foss-2017b-mpi.eb
	new file:   p/Python/Python-2.7.15-foss-2017b.eb
	new file:   s/SCOTCH/SCOTCH-6.0.5-foss-2017b.eb
	new file:   x/X11/X11-20180604-foss-2017b.eb


Former-commit-id: e8b10bec
parent a9d01104
# IT4Innovations 2018
name = 'Boost'
version = '1.67.0'
homepage = 'http://www.boost.org/'
description = """Boost provides free peer-reviewed portable C++ source libraries."""
toolchain = {'name': 'foss', 'version': '2017b'}
toolchainopts = {'pic': True, 'usempi': True}
source_urls = [SOURCEFORGE_SOURCE]
sources = ['%%(namelower)s_%s.tar.gz' % '_'.join(version.split('.'))]
checksums = ['8aa4e330c870ef50a896634c931adf468b21f8a69b77007e45c444151229f665']
dependencies = [
('bzip2', '1.0.6', '', True),
('zlib', '1.2.11', '', True),
]
configopts = '--without-libraries=python'
# also build boost_mpi
boost_mpi = True
moduleclass = 'devel'
# IT4Innovations 2018
name = 'CGAL'
version = '4.11.1'
homepage = 'http://www.cgal.org/'
description = """The goal of the CGAL Open Source Project is to provide easy access to efficient
and reliable geometric algorithms in the form of a C++ library."""
toolchain = {'name': 'foss', 'version': '2017b'}
toolchainopts = {'strict': True}
source_urls = ['https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-%(version)s']
sources = [SOURCE_TAR_XZ]
checksums = ['fb152fc30f007e5911922913f8dc38e0bb969b534373ca0fbe85b4d872300e8b']
dependencies = [
('zlib', '1.2.11', '', True),
('Boost', '1.67.0'),
('MPFR', '4.0.1'),
('GMP', '6.1.2', '', True),
('libGLU', '9.0.0', '', True),
('Qt5', '5.11.1','', ('GCC', '6.3.0-2.27')),
]
builddependencies = [
('CMake', '3.11.4', '', ('GCC', '6.3.0-2.27')),
('Eigen', '3.3.4', '', True),
]
configopts = "-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include\;$EBROOTLIBGLU/include "
configopts += "-DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s " % SHLIB_EXT
configopts += "-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s " % SHLIB_EXT
configopts += "-DWITH_ZLIB=ON -DWITH_MPFR=ON -DWITH_OpenGL=ON -DWITH_Eigen3=ON "
configopts += "-DWITH_GMPXX=ON -DWITH_LAPACK=ON -DWITH_BLAS=ON "
moduleclass = 'numlib'
# 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': '2017b'}
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]
checksums = ['048a9d149fb99aaa1680a712963f5a78e9c43b588d0e79d55e06760ec377c172']
dependencies = [
('zlib', '1.2.11', '', True),
('Szip', '2.1', '', True),
]
moduleclass = 'data'
# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'libGLU'
......
# IT4Innovations 2018
name = 'METIS'
version = '5.1.0'
homepage = 'http://glaros.dtc.umn.edu/gkhome/metis/metis/overview'
description = """METIS is a set of serial programs for partitioning graphs, partitioning finite element meshes,
and producing fill reducing orderings for sparse matrices. The algorithms implemented in METIS are based on the
multilevel recursive-bisection, multilevel k-way, and multi-constraint partitioning schemes."""
toolchain = {'name': 'foss', 'version': '2017b'}
toolchainopts = {'optarch': True, 'pic': True}
sources = [SOURCELOWER_TAR_GZ]
source_urls = [
'http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis',
'http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD',
]
# we use 32bit for indices and 64bit for content
patches = ['METIS-5.1.0-use-doubles.patch']
builddependencies = [
('CMake', '3.11.4', '', ('GCC', '6.3.0-2.27'))
]
configopts = ['', 'shared=1']
moduleclass = 'math'
# Use double for floating point (64 bit) in METIS by default
# OpenFOAM 4 uses doubles be default
diff -ur metis-5.1.0.orig/include/metis.h metis-5.1.0/include/metis.h
--- metis-5.1.0.orig/include/metis.h 2013-03-30 17:24:45.000000000 +0100
+++ metis-5.1.0/include/metis.h 2016-09-05 11:39:33.004384533 +0200
@@ -40,7 +40,7 @@
32 : single precission floating point (float)
64 : double precission floating point (double)
--------------------------------------------------------------------------*/
-#define REALTYPEWIDTH 32
+#define REALTYPEWIDTH 64
# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'MPFR'
version = '4.0.1'
homepage = 'http://www.mpfr.org'
description = """
The MPFR library is a C library for multiple-precision floating-point
computations with correct rounding.
"""
toolchain = {'name': 'foss', 'version': '2017b'}
source_urls = ['http://www.mpfr.org/mpfr-%(version)s/']
sources = [SOURCELOWER_TAR_BZ2]
checksums = ['a4d97610ba8579d380b384b225187c250ef88cfe1d5e7226b89519374209b86b']
dependencies = [
('GMP', '6.1.2', '', True),
]
runtest = 'check'
sanity_check_paths = {
'files': ['lib/libmpfr.%s' % SHLIB_EXT, 'include/mpfr.h'],
'dirs': [],
}
moduleclass = 'math'
# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'Mesa'
version = '18.1.1'
homepage = 'http://www.mesa3d.org/'
description = """Mesa is an open-source implementation of the OpenGL specification -
a system for rendering interactive 3D graphics."""
toolchain = {'name': 'foss', 'version': '2017b'}
# swr detects and builds parts specific for AVX and AVX2. If we use
# -xHost, this always gets overwritten and will fail.
toolchainopts = {'optarch': False}
source_urls = [
'https://mesa.freedesktop.org/archive/',
'https://mesa.freedesktop.org/archive/%(version)s',
'ftp://ftp.freedesktop.org/pub/mesa/%(version)s',
'ftp://ftp.freedesktop.org/pub/mesa/older-versions/%(version_major)s.x/%(version)s',
]
sources = [SOURCELOWER_TAR_XZ]
patches = ['Mesa-17.3.6_fix-strip-llvm-flags.patch']
checksums = [
'd3312a2ede5aac14a47476b208b8e3a401367838330197c4588ab8ad420d7781', # mesa-18.1.1.tar.xz
'5aa4e92ed96e3d47ffbecd1ec3a1642407dff11995c5585eb5e06c396654ee30', # Mesa-17.3.6_fix-strip-llvm-flags.patch
]
builddependencies = [
('flex', '2.6.4', '', True),
('Bison', '3.0.4', '', True),
('Autotools', '20180311', '', True),
('pkg-config', '0.29.1', '', True),
('Mako', '1.0.7', '-Py-2.7', True),
('libxml2', '2.9.4', '', True),
('expat', '2.2.0', '', True),
]
dependencies = [
('zlib', '1.2.11', '', True),
('nettle', '3.4'),
('libdrm', '2.4.92'),
('LLVM', '6.0.0', '-Py-2.7', True),
('X11', '20180604'),
]
# GLU is not part anymore of Mesa package!
configopts = " --disable-osmesa --enable-gallium-osmesa --enable-gallium-llvm --enable-glx --disable-dri"
configopts += " --disable-gbm --disable-driglx-direct --with-gallium-drivers='swrast,swr' --disable-egl"
configopts += " --with-osmesa-bits=32 --enable-texture-float --enable-llvm-shared-libs "
buildopts = 'V=1'
sanity_check_paths = {
'files': ['lib/libGL.%s' % SHLIB_EXT, 'lib/libOSMesa.%s' % SHLIB_EXT,
'lib/libGLESv1_CM.%s' % SHLIB_EXT, 'lib/libGLESv2.%s' % SHLIB_EXT,
'include/GL/glext.h', 'include/GL/gl_mangle.h',
'include/GL/glx.h', 'include/GL/osmesa.h',
'include/GL/gl.h', 'include/GL/glxext.h',
'include/GL/glx_mangle.h', 'include/GLES/gl.h',
'include/GLES2/gl2.h', 'include/GLES3/gl3.h'],
'dirs': []
}
moduleclass = 'vis'
# IT4Innovations 2018
name = 'OpenFOAM'
version = '6'
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'),
('ParaView', '5.4.1', '-mpi'),
]
builddependencies = [
('Bison', '3.0.4', '', True),
('CMake', '3.11.4', '', ('GCC', '6.3.0-2.27')),
('flex', '2.6.4', '', True),
]
moduleclass = 'cae'
# IT4Innovations 2018
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': '2017b'}
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.11.1', '', ('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'))
]
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'
This diff is collapsed.
# IT4Innovations 2018
name = 'SCOTCH'
version = '6.0.5'
homepage = 'http://gforge.inria.fr/projects/scotch/'
description = """Software package and libraries for sequential and parallel graph partitioning,
static mapping, and sparse matrix block ordering, and sequential mesh and hypergraph partitioning."""
toolchain = {'name': 'foss', 'version': '2017b'}
toolchainopts = {'pic': True}
source_urls = ['http://gforge.inria.fr/frs/download.php/file/34618/']
sources = ['%(namelower)s_%(version)s.tar.gz']
checksums = ['f53f4d71a8345ba15e2dd4e102a35fd83915abf50ea73e1bf6efe1bc2b4220c7']
dependencies = [
('zlib', '1.2.11', '', True),
]
moduleclass = 'math'
This diff is collapsed.
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