From dae2f4a50f355bd3f64fd9f7ff8e9ea713b47cca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Fri, 27 Mar 2020 11:00:58 +0100 Subject: [PATCH] new file: h/HDF5/HDF5-1.10.6-intel-2020a-parallel.eb modified: h/HDF5/HDF5-1.10.6-intel-2020a.eb new file: m/Mako/Mako-1.1.2-Py-3.7.eb new file: m/MarkupSafe/MarkupSafe-1.1.1-Py-3.7.eb new file: m/Mesa/Mesa-18.3.6.eb modified: n/numba/numba-0.48.0-intel-2020a-Py-3.7.eb modified: o/OpenCV/OpenCV-4.2.0-Py-3.7.eb --- h/HDF5/HDF5-1.10.6-intel-2020a-parallel.eb | 25 ++++++++ h/HDF5/HDF5-1.10.6-intel-2020a.eb | 3 - m/Mako/Mako-1.1.2-Py-3.7.eb | 25 ++++++++ m/MarkupSafe/MarkupSafe-1.1.1-Py-3.7.eb | 20 ++++++ m/Mesa/Mesa-18.3.6.eb | 73 ++++++++++++++++++++++ n/numba/numba-0.48.0-intel-2020a-Py-3.7.eb | 4 +- o/OpenCV/OpenCV-4.2.0-Py-3.7.eb | 4 ++ 7 files changed, 149 insertions(+), 5 deletions(-) create mode 100644 h/HDF5/HDF5-1.10.6-intel-2020a-parallel.eb create mode 100644 m/Mako/Mako-1.1.2-Py-3.7.eb create mode 100644 m/MarkupSafe/MarkupSafe-1.1.1-Py-3.7.eb create mode 100644 m/Mesa/Mesa-18.3.6.eb diff --git a/h/HDF5/HDF5-1.10.6-intel-2020a-parallel.eb b/h/HDF5/HDF5-1.10.6-intel-2020a-parallel.eb new file mode 100644 index 00000000..9cafd43a --- /dev/null +++ b/h/HDF5/HDF5-1.10.6-intel-2020a-parallel.eb @@ -0,0 +1,25 @@ +# IT4Innovations 2020 + +name = 'HDF5' +version = '1.10.6' +versionsuffix = '-parallel' + +homepage = 'http://www.hdfgroup.org/HDF5/' +description = """HDF5 is a unique technology suite that makes possible the management of + extremely large and local_complex data collections.""" + +toolchain = {'name': 'intel', 'version': '2020a'} +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] + +configopts = '--enable-fortran --enable-fortran 2003 --enable-cxx' + +dependencies = [ + ('zlib', '1.2.11', '', True), + ('Szip', '2.1', '', True), +] + +moduleclass = 'data' diff --git a/h/HDF5/HDF5-1.10.6-intel-2020a.eb b/h/HDF5/HDF5-1.10.6-intel-2020a.eb index 9cafd43a..ff955c62 100644 --- a/h/HDF5/HDF5-1.10.6-intel-2020a.eb +++ b/h/HDF5/HDF5-1.10.6-intel-2020a.eb @@ -2,7 +2,6 @@ name = 'HDF5' version = '1.10.6' -versionsuffix = '-parallel' homepage = 'http://www.hdfgroup.org/HDF5/' description = """HDF5 is a unique technology suite that makes possible the management of @@ -15,8 +14,6 @@ source_urls = [ 'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-%(version_major_minor)s/hdf5-%(version)s/src'] sources = [SOURCELOWER_TAR_GZ] -configopts = '--enable-fortran --enable-fortran 2003 --enable-cxx' - dependencies = [ ('zlib', '1.2.11', '', True), ('Szip', '2.1', '', True), diff --git a/m/Mako/Mako-1.1.2-Py-3.7.eb b/m/Mako/Mako-1.1.2-Py-3.7.eb new file mode 100644 index 00000000..9f6bfd13 --- /dev/null +++ b/m/Mako/Mako-1.1.2-Py-3.7.eb @@ -0,0 +1,25 @@ +# JH 2020 + +easyblock = 'PythonPackage' + +name = 'Mako' +version = '1.1.2' + +homepage = 'http://www.makotemplates.org' +description = """A super-fast templating language that borrows the best ideas from the existing templating languages""" + +toolchain = {'name': 'Py', 'version': '3.7'} + +source_urls = [PYPI_SOURCE] +sources = [SOURCE_TAR_GZ] + +dependencies = [ + ('MarkupSafe', '1.1.1') +] + +sanity_check_paths = { + 'files': ['bin/mako-render'], + 'dirs': ['lib/python3.7/site-packages/%(name)s-%(version)s-py3.7.egg'], +} + +moduleclass = 'python' diff --git a/m/MarkupSafe/MarkupSafe-1.1.1-Py-3.7.eb b/m/MarkupSafe/MarkupSafe-1.1.1-Py-3.7.eb new file mode 100644 index 00000000..94289b3c --- /dev/null +++ b/m/MarkupSafe/MarkupSafe-1.1.1-Py-3.7.eb @@ -0,0 +1,20 @@ +# JH 2020 + +easyblock = "PythonPackage" +name = 'MarkupSafe' +version = '1.1.1' + +homepage = 'https://pypi.python.org/pypi/markupsafe' +description = 'Implements a XML/HTML/XHTML Markup safe string for Python.' + +toolchain = {'name': 'Py', 'version': '3.7'} + +source_urls = [PYPI_SOURCE] +sources = [SOURCE_TAR_GZ] + +sanity_check_paths = { + 'files': [], + 'dirs': ['lib/python3.7/site-packages/%(name)s-%(version)s-py3.7-linux-x86_64.egg'], +} + +moduleclass = 'python' diff --git a/m/Mesa/Mesa-18.3.6.eb b/m/Mesa/Mesa-18.3.6.eb new file mode 100644 index 00000000..ac00e840 --- /dev/null +++ b/m/Mesa/Mesa-18.3.6.eb @@ -0,0 +1,73 @@ +# JH 2020 + +easyblock = 'ConfigureMake' + +name = 'Mesa' +version = '18.3.6' + +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': 'GCCcore', 'version': '8.3.0'} +# swr detects and builds parts specific for AVX and AVX2. If we use +# -xHost, this always gets overwritten and will fail. +toolchainopts = {'optarch': False} + +sources = [SOURCELOWER_TAR_XZ] +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', +] +#patches = ['Mesa-17.0.2_fix-strip-llvm-flags.patch'] + +builddependencies = [ + ('flex', '2.6.4', '', True), + ('Bison', '3.0.5', '', True), + ('Autotools', '20180311', '', True), + ('pkg-config', '0.29.2', '', True), + ('Mako', '1.1.2', '-Py-3.7', True), + ('libxml2', '2.9.4', '', True), +] + +dependencies = [ + ('zlib', '1.2.11', '', True), + ('nettle', '3.4.1'), + ('libdrm', '2.4.76', '', True), + ('LLVM', '8.0.1'), + ('X11', '20190717', '', True), + ('expat', '2.2.0', '', True), +] + +# 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/n/numba/numba-0.48.0-intel-2020a-Py-3.7.eb b/n/numba/numba-0.48.0-intel-2020a-Py-3.7.eb index d8d18304..23b5ecf7 100644 --- a/n/numba/numba-0.48.0-intel-2020a-Py-3.7.eb +++ b/n/numba/numba-0.48.0-intel-2020a-Py-3.7.eb @@ -25,8 +25,8 @@ dependencies = [ ('tbb', '2019_U9', '', ('GCCcore', '8.3.0')), ] -use_pip = True -sanity_pip_check = True +#use_pip = True +#sanity_pip_check = True exts_default_options = {'source_urls': [PYPI_SOURCE]} diff --git a/o/OpenCV/OpenCV-4.2.0-Py-3.7.eb b/o/OpenCV/OpenCV-4.2.0-Py-3.7.eb index 4c08cff2..e28af127 100644 --- a/o/OpenCV/OpenCV-4.2.0-Py-3.7.eb +++ b/o/OpenCV/OpenCV-4.2.0-Py-3.7.eb @@ -17,6 +17,10 @@ sources = [SOURCELOWER_TAR_GZ] builddependencies = [ ('CMake', '3.16.2', '', True), +('slepc4py','3.12.0', '-Py-3.7'), +('petsc4py','3.12.0', '-Py-3.7'), +('VTK','8.2.0', '-intel-2020a-Py-3.7'), +('numba','0.48.0', '-intel-2020a-Py-3.7'), ] dependencies = [