From e06c1bd601feebda8f7f948d255bbb1aab91f44c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Wed, 12 Sep 2018 07:24:19 +0200 Subject: [PATCH] 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: e8b10bec2b833ddd8d62d61f64121f07ce56c411 --- b/Boost/Boost-1.67.0-foss-2017b.eb | 26 ++ c/CGAL/CGAL-4.11.1-foss-2017b.eb | 37 +++ h/HDF5/HDF5-1.10.2-foss-2017b.eb | 22 ++ l/libGLU/libGLU-9.0.0.eb | 2 + m/METIS/METIS-5.1.0-foss-2017b.eb | 29 ++ m/METIS/METIS-5.1.0-use-doubles.patch | 14 + m/MPFR/MPFR-4.0.1-foss-2017b.eb | 32 +++ m/Mesa/Mesa-18.1.1-foss-2017b.eb | 66 +++++ o/OpenFOAM/.OpenFOAM-6-foss-2017b.eb.swp | Bin 0 -> 12288 bytes o/OpenFOAM/OpenFOAM-6-foss-2017b.eb | 39 +++ p/ParaView/ParaView-5.4.1-foss-2017b-mpi.eb | 57 ++++ p/Python/Python-2.7.15-foss-2017b.eb | 219 +++++++++++++++ s/SCOTCH/SCOTCH-6.0.5-foss-2017b.eb | 21 ++ x/X11/X11-20180604-foss-2017b.eb | 281 ++++++++++++++++++++ 14 files changed, 845 insertions(+) create mode 100644 b/Boost/Boost-1.67.0-foss-2017b.eb create mode 100644 c/CGAL/CGAL-4.11.1-foss-2017b.eb create mode 100644 h/HDF5/HDF5-1.10.2-foss-2017b.eb create mode 100644 m/METIS/METIS-5.1.0-foss-2017b.eb create mode 100644 m/METIS/METIS-5.1.0-use-doubles.patch create mode 100644 m/MPFR/MPFR-4.0.1-foss-2017b.eb create mode 100644 m/Mesa/Mesa-18.1.1-foss-2017b.eb create mode 100644 o/OpenFOAM/.OpenFOAM-6-foss-2017b.eb.swp create mode 100644 o/OpenFOAM/OpenFOAM-6-foss-2017b.eb create mode 100644 p/ParaView/ParaView-5.4.1-foss-2017b-mpi.eb create mode 100644 p/Python/Python-2.7.15-foss-2017b.eb create mode 100644 s/SCOTCH/SCOTCH-6.0.5-foss-2017b.eb create mode 100644 x/X11/X11-20180604-foss-2017b.eb diff --git a/b/Boost/Boost-1.67.0-foss-2017b.eb b/b/Boost/Boost-1.67.0-foss-2017b.eb new file mode 100644 index 00000000..293c19eb --- /dev/null +++ b/b/Boost/Boost-1.67.0-foss-2017b.eb @@ -0,0 +1,26 @@ +# 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' diff --git a/c/CGAL/CGAL-4.11.1-foss-2017b.eb b/c/CGAL/CGAL-4.11.1-foss-2017b.eb new file mode 100644 index 00000000..6a7febf2 --- /dev/null +++ b/c/CGAL/CGAL-4.11.1-foss-2017b.eb @@ -0,0 +1,37 @@ +# 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' diff --git a/h/HDF5/HDF5-1.10.2-foss-2017b.eb b/h/HDF5/HDF5-1.10.2-foss-2017b.eb new file mode 100644 index 00000000..b1011619 --- /dev/null +++ b/h/HDF5/HDF5-1.10.2-foss-2017b.eb @@ -0,0 +1,22 @@ +# 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' diff --git a/l/libGLU/libGLU-9.0.0.eb b/l/libGLU/libGLU-9.0.0.eb index 46cba0f6..09ab6513 100644 --- a/l/libGLU/libGLU-9.0.0.eb +++ b/l/libGLU/libGLU-9.0.0.eb @@ -1,3 +1,5 @@ +# IT4Innovations 2018 + easyblock = 'ConfigureMake' name = 'libGLU' diff --git a/m/METIS/METIS-5.1.0-foss-2017b.eb b/m/METIS/METIS-5.1.0-foss-2017b.eb new file mode 100644 index 00000000..ce79aca6 --- /dev/null +++ b/m/METIS/METIS-5.1.0-foss-2017b.eb @@ -0,0 +1,29 @@ +# 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' diff --git a/m/METIS/METIS-5.1.0-use-doubles.patch b/m/METIS/METIS-5.1.0-use-doubles.patch new file mode 100644 index 00000000..f0282407 --- /dev/null +++ b/m/METIS/METIS-5.1.0-use-doubles.patch @@ -0,0 +1,14 @@ +# 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 + + + diff --git a/m/MPFR/MPFR-4.0.1-foss-2017b.eb b/m/MPFR/MPFR-4.0.1-foss-2017b.eb new file mode 100644 index 00000000..14a2a3d0 --- /dev/null +++ b/m/MPFR/MPFR-4.0.1-foss-2017b.eb @@ -0,0 +1,32 @@ +# 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' diff --git a/m/Mesa/Mesa-18.1.1-foss-2017b.eb b/m/Mesa/Mesa-18.1.1-foss-2017b.eb new file mode 100644 index 00000000..f8dedc23 --- /dev/null +++ b/m/Mesa/Mesa-18.1.1-foss-2017b.eb @@ -0,0 +1,66 @@ +# 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' diff --git a/o/OpenFOAM/.OpenFOAM-6-foss-2017b.eb.swp b/o/OpenFOAM/.OpenFOAM-6-foss-2017b.eb.swp new file mode 100644 index 0000000000000000000000000000000000000000..48cd2ebd5407c7998c152d596c82bd86ae2173ba GIT binary patch literal 12288 zcmeI2&yL$f9LJ|{16mM$fnitFyL98&j^iXn9G0|ORH z)ED5y0YNVaUV@4TKoq!hLY(1<;Ldj($Dtsqid&_z^pz*``#Ybpqg`b}=hprK9oRm> z^%5b!eDT@I??=~nKYg7L!PI$JC26E>kGWJacOPSJOHn{ zav%B}nnHWf4d{=Hg!};AhdzcJ=*Jfb`5t-*J%B!ea_9*jc@X9K%uI~~vV2G({P^Jb!C zwv2JwkS1$=05=ji7aNI;CqnmhvhL?yRp9vUc4vhL2!OlduphN|UUHIY1w1bnW$DM65pJJd8vD zxo!}QT)_h72SL#Dhw-rQ4+mjC>i3-<8w~>2@AbLIL)Uk`(CG!-8=?eVFBQj+c`8^| z<#x_WKCSz=dLDAdh;al8aOOp^H{$(p6h?!P4_FVSJ!d%b2k|K6JPw@UfX8v%_eWmr zc>QIKxhPa3vrb@_tgt5^5IzwG7X%*UB&f4SG?O*o&;;mcAyq>Pu~t9EEv6(L^fjEg$ORIrkk z1(c{$YuV>Cm-EXOwkjnfJZ z$EjQ>5(&kNB-cG)(P*=+lb{UZgxH}HFE*B`caDztu45RN3swl4Gk(e@!X{HW6FEl6 yQSTHsYOz?@Ixv=OX3JvI#TQhAP