From 7be072dda372addfb72f9cc1fcbb05738e67f4b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Thu, 16 Jul 2020 14:05:40 +0200 Subject: [PATCH] new file: m/METIS/METIS-5.1.0-foss-2020a.eb new file: o/OpenFOAM/OpenFOAM-7-foss-2020a.eb new file: p/Pango/Pango-1.45.3.eb new file: s/SCOTCH/SCOTCH-6.0.9-foss-2020a.eb modified: v/VTune/VTune-2018_update4.eb modified: v/VTune/VTune-2019_update8.eb --- m/METIS/METIS-5.1.0-foss-2020a.eb | 27 ++++++++++++++++ o/OpenFOAM/OpenFOAM-7-foss-2020a.eb | 48 +++++++++++++++++++++++++++++ p/Pango/Pango-1.45.3.eb | 42 +++++++++++++++++++++++++ s/SCOTCH/SCOTCH-6.0.9-foss-2020a.eb | 20 ++++++++++++ v/VTune/VTune-2018_update4.eb | 5 +++ v/VTune/VTune-2019_update8.eb | 3 +- 6 files changed, 143 insertions(+), 2 deletions(-) create mode 100644 m/METIS/METIS-5.1.0-foss-2020a.eb create mode 100644 o/OpenFOAM/OpenFOAM-7-foss-2020a.eb create mode 100644 p/Pango/Pango-1.45.3.eb create mode 100644 s/SCOTCH/SCOTCH-6.0.9-foss-2020a.eb diff --git a/m/METIS/METIS-5.1.0-foss-2020a.eb b/m/METIS/METIS-5.1.0-foss-2020a.eb new file mode 100644 index 00000000..18439a11 --- /dev/null +++ b/m/METIS/METIS-5.1.0-foss-2020a.eb @@ -0,0 +1,27 @@ +# JH 2020 + +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': '2020a'} +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.16.4')] + +configopts = ['', 'shared=1'] + +moduleclass = 'math' diff --git a/o/OpenFOAM/OpenFOAM-7-foss-2020a.eb b/o/OpenFOAM/OpenFOAM-7-foss-2020a.eb new file mode 100644 index 00000000..f0afc9f4 --- /dev/null +++ b/o/OpenFOAM/OpenFOAM-7-foss-2020a.eb @@ -0,0 +1,48 @@ +# JH 2020 + +name = 'OpenFOAM' +local_commit = '3bcbaf9' +version = '7' +#versionsuffix = '-20200508' + +homepage = 'https://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': '2020a'} +toolchainopts = {'cstd': 'c++11'} + +source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive'] +sources = [{ + 'download_filename': '%s.tar.gz' % local_commit, + 'filename': 'OpenFOAM-%(version)s%(versionsuffix)s.tar.gz', +}] +patches = [ + 'OpenFOAM-7-20200508-cleanup.patch', + 'OpenFOAM-%(version)s-mpi-compilation.patch', +] +checksums = [ + 'e91cc1355cdfc21b953e704d22ccd0e01a32bb11775cbbdd8105cf4364b498af', # OpenFOAM-7-20200508.tar.gz + '91f78714058a020da314b1311beb2c3cc2f4a817d02b1495c43b57156774cfa6', # OpenFOAM-7-20200508-cleanup.patch + '9f2af8f67a57a187f68aadaa99bc99f1cfbfe41086e5839a57e1bb4e41b3762c', # OpenFOAM-7-mpi-compilation.patch +] + +dependencies = [ + ('libreadline', '8.0'), + ('ncurses', '6.2'), + # OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes) + ('METIS', '5.1.0'), + ('SCOTCH', '6.0.9'), + ('CGAL', '4.14.3', '-Python-3.8.2'), + ('ParaView', '5.8.0', '-Python-3.8.2-mpi'), +] + +builddependencies = [ + ('Bison', '3.5.3'), + ('CMake', '3.16.4'), + ('flex', '2.6.4'), +] + +moduleclass = 'cae' diff --git a/p/Pango/Pango-1.45.3.eb b/p/Pango/Pango-1.45.3.eb new file mode 100644 index 00000000..cd568793 --- /dev/null +++ b/p/Pango/Pango-1.45.3.eb @@ -0,0 +1,42 @@ +# JH 2020 + +easyblock = 'MesonNinja' + +name = 'Pango' +version = '1.45.3' + +homepage = 'https://www.pango.org/' +description = """Pango is a library for laying out and rendering of text, with an emphasis on internationalization. +Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the +context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x.""" + +toolchain = SYSTEM + +source_urls = [FTPGNOME_SOURCE] +sources = [SOURCELOWER_TAR_XZ] + +builddependencies = [ + ('binutils', '2.32'), + ('Meson', '0.53.0', '-Py-3.7'), + ('Ninja', '1.9.0'), + ('GObject-Introspection', '1.63.1', '-Py-3.7'), + ('pkg-config', '0.29.2'), +] + +dependencies = [ + ('X11', '20190717'), + ('GLib', '2.64.0'), + ('cairo', '1.17.2'), + ('HarfBuzz', '2.6.4'), + ('FriBidi', '1.0.9'), +] + +configopts = "--buildtype=release --default-library=both " + +sanity_check_paths = { + 'files': ['bin/pango-view', 'lib/libpango-1.0.%s' % SHLIB_EXT, 'lib/libpangocairo-1.0.%s' % SHLIB_EXT, + 'lib/libpangoft2-1.0.%s' % SHLIB_EXT, 'lib/libpangoxft-1.0.%s' % SHLIB_EXT], + 'dirs': [], +} + +moduleclass = 'vis' diff --git a/s/SCOTCH/SCOTCH-6.0.9-foss-2020a.eb b/s/SCOTCH/SCOTCH-6.0.9-foss-2020a.eb new file mode 100644 index 00000000..ae3ce4c2 --- /dev/null +++ b/s/SCOTCH/SCOTCH-6.0.9-foss-2020a.eb @@ -0,0 +1,20 @@ +# JH 2020 + +name = 'SCOTCH' +version = '6.0.9' + +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': '2020a'} +toolchainopts = {'pic': True} + +source_urls = ['https://gforge.inria.fr/frs/download.php/file/38187/'] +sources = ['%(namelower)s_%(version)s.tar.gz'] + +dependencies = [ + ('zlib', '1.2.11'), +] + +moduleclass = 'math' diff --git a/v/VTune/VTune-2018_update4.eb b/v/VTune/VTune-2018_update4.eb index 2c5c7c62..7251c0dd 100644 --- a/v/VTune/VTune-2018_update4.eb +++ b/v/VTune/VTune-2018_update4.eb @@ -21,6 +21,11 @@ sanity_check_paths = { 'dirs': ['vtune_amplifier_2018.4.0.574913'], } +dependencies = [ + ('Pango', '1.45.3'), + ('X11', '20190717'), +] + # Do necessary post-install steps to build VTune kernel modules postinstallcmds = [ 'mkdir %(installdir)s/modules', diff --git a/v/VTune/VTune-2019_update8.eb b/v/VTune/VTune-2019_update8.eb index e4d2ef9f..abf1af31 100644 --- a/v/VTune/VTune-2019_update8.eb +++ b/v/VTune/VTune-2019_update8.eb @@ -16,9 +16,8 @@ dontcreateinstalldir = 'True' # license file license_file = '/apps/licenses/intel/license.lic' -#preinstallopts = 'sed "1,2d" silent.cfg -i && ' - dependencies = [ + ('Pango', '1.45.3'), ('X11', '20190717'), ]