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
This commit is contained in:
Lukáš Krupčík 2020-07-16 14:05:40 +02:00
parent 51c8f68166
commit 7be072dda3
6 changed files with 143 additions and 2 deletions

View File

@ -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'

View File

@ -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'

42
p/Pango/Pango-1.45.3.eb Normal file
View File

@ -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'

View File

@ -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'

View File

@ -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',

View File

@ -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'),
]