Skip to content
Snippets Groups Projects
Commit 75c48af5 authored by David Álvarez's avatar David Álvarez
Browse files

Recipes for OmpSs-2 2023.11

Add the EasyBuild recipes for several components of OmpSs-2, and a
bundle including all components.

 - LLVM Compiler (with -fompss-2) 2023.11
 - Nanos6 Runtime 4.0.0
 - NODES 1.1.0
 - nOS-V Runtime 2.1.1
 - OmpSs-2 Bundle 2023.11
 - ovni instrumentation 1.4.1
 - Task-Aware CUDA 2.0.0
parent a23a057a
No related branches found
No related tags found
No related merge requests found
# EasyConfig for OmpSs-2/git
easyblock = 'CMakeNinja'
name = 'llvm-ompss'
version = '2023.11'
homepage = 'https://pm.bsc.es/ompss-2'
description = 'LLVM Compiler for OmpSs-2 data-flow programming model'
toolchain = {'name': 'GCC', 'version': '11.3.0'}
sources = [{
'filename': 'llvm.tar.gz',
'git_config': {
'url': 'https://github.com/bsc-pm',
'repo_name': 'llvm',
'tag': 'github-release-2023.11',
'clone_into': 'llvm'
}
}]
builddependencies = [ ('CMake', '3.24.3'), ('Ninja', '1.10.2') ]
dependencies = [ ('nodes', '1.1.0'), ('nanos6', '4.0.0'), ('ncurses', '6.3') ]
configopts = '-DCMAKE_BUILD_TYPE=Release -DLLVM_PARALLEL_LINK_JOBS=1 -DCLANG_DEFAULT_NANOS6_HOME=$EBROOTNANOS6 -DCLANG_DEFAULT_NODES_HOME=$EBROOTNODES -DLLVM_ENABLE_PROJECTS=clang -DCLANG_DEFAULT_PIE_ON_LINUX=OFF -DLLVM_INSTALL_UTILS=ON -DLLVM_INCLUDE_BENCHMARKS=OFF'
srcdir = 'llvm'
# EasyConfig for OmpSs-2/git
easyblock = 'ConfigureMake'
name = 'nanos6'
version = '4.0.0'
homepage = 'https://pm.bsc.es/ompss-2'
description = 'Nanos6 Runtime for OmpSs-2 data-flow programming model'
toolchain = {'name': 'GCC', 'version': '11.3.0'}
sources = [{
'filename': 'nanos6.tar.gz',
'git_config': {
'url': 'https://github.com/bsc-pm',
'repo_name': 'nanos6',
'tag': 'version-4.0',
'clone_into': 'nanos6'
}
}]
dependencies = [ ('Boost', '1.79.0'), ('hwloc', '2.7.1'), ('CUDA', '11.7.0', '', SYSTEM), ('ovni', '1.4.1') ]
builddependencies = [ ('libtool', '2.4.7') ]
preconfigopts = "./autogen.sh && "
configopts = "--with-jemalloc=embedded --with-boost=$EBROOTBOOST --with-libnuma=$EBROOTNUMACTL --disable-stats-instrumentation --disable-verbose-instrumentation --disable-lint-instrumentation --disable-graph-instrumentation --without-papi --with-cuda=$EBROOTCUDA --with-ovni=$EBROOTOVNI"
modextravars = { 'NANOS6_HOME': '%(installdir)s' }
buildopts = ''
# EasyConfig for OmpSs-2/git
easyblock = 'ConfigureMake'
name = 'nodes'
version = '1.1.0'
homepage = 'https://pm.bsc.es/ompss-2'
description = 'NODES Runtime for OmpSs-2 data-flow programming model'
toolchain = {'name': 'GCC', 'version': '11.3.0'}
sources = [{
'filename': 'nodes.tar.gz',
'git_config': {
'url': 'https://github.com/bsc-pm',
'repo_name': 'nodes',
'tag': 'version-1.1',
'clone_into': 'nodes'
}
}]
dependencies = [ ('Boost', '1.79.0'), ('hwloc', '2.7.1'), ('nos-v', '2.1.1'), ('ovni', '1.4.1') ]
builddependencies = [ ('libtool', '2.4.7') ]
preconfigopts = "autoreconf -fiv && "
configopts = "--with-boost=$EBROOTBOOST --with-libnuma=$EBROOTNUMACTL --with-nosv=$EBROOTNOSMINV --with-ovni=$EBROOTOVNI"
sanity_check_paths = {
'files': ['lib/libnodes.%s' % SHLIB_EXT],
'dirs': ['include']
}
modextravars = { 'NODES_HOME': '%(installdir)s' }
# EasyConfig for OmpSs-2/git
easyblock = 'ConfigureMake'
name = 'nos-v'
version = '2.1.1'
homepage = 'https://pm.bsc.es/ompss-2'
description = 'nOS-V system-wide tasking library'
toolchain = {'name': 'GCC', 'version': '11.3.0'}
sources = [{
'filename': 'nos-v.tar.gz',
'git_config': {
'url': 'https://github.com/bsc-pm',
'repo_name': 'nos-v',
'tag': '2.1.1',
'clone_into': 'nos-v'
}
}]
dependencies = [ ('ovni', '1.4.1'), ('numactl', '2.0.14') ]
builddependencies = [ ('libtool', '2.4.7') ]
preconfigopts = "autoreconf -fiv && "
configopts = "--with-ovni=$EBROOTOVNI"
sanity_check_paths = {
'files': ['lib/libnosv.%s' % SHLIB_EXT],
'dirs': ['include', 'share']
}
# EasyConfig for OmpSs-2
easyblock = 'Bundle'
name = 'OmpSs-2'
version = '2023.11'
homepage = 'https://pm.bsc.es/ompss-2'
description = 'OmpSs-2 Data-flow Programming Model'
toolchain = {'name': 'GCC', 'version': '11.3.0'}
dependencies = [
('llvm-ompss', '2023.11'),
('nos-v', '2.1.1'),
('nanos6', '4.0.0'),
('nodes', '1.1.0'),
('tacuda', '2.0.0'),
('ovni', '1.4.1')
]
# EasyConfig for OmpSs-2/git
easyblock = 'CMakeNinja'
name = 'ovni'
version = '1.4.1'
homepage = 'https://ovni.readthedocs.io'
description = 'OVNI: Obtuse but Versatile Nanoscale Instrumentation'
toolchain = {'name': 'GCC', 'version': '11.3.0'}
sources = [{
'filename': 'ovni.tar.gz',
'git_config': {
'url': 'https://github.com/bsc-pm',
'repo_name': 'ovni',
'tag': '1.4.1',
'clone_into': 'ovni'
}
}]
builddependencies = [ ('CMake', '3.24.3'), ('Ninja', '1.10.2') ]
configopts = "-DUSE_MPI=0"
# EasyConfig for OmpSs-2/git
easyblock = 'ConfigureMake'
name = 'tacuda'
version = '2.0.0'
homepage = 'https://pm.bsc.es/ompss-2'
description = 'Task-Aware CUDA'
toolchain = {'name': 'GCC', 'version': '11.3.0'}
sources = [{
'filename': 'tacuda.tar.gz',
'git_config': {
'url': 'https://github.com/bsc-pm',
'repo_name': 'tacuda',
'tag': '2.0.0',
'clone_into': 'tacuda'
}
}]
dependencies = [ ('CUDA', '11.7.0', '', SYSTEM), ]
builddependencies = [ ('libtool', '2.4.7'), ('Boost', '1.79.0') ]
preconfigopts = "./bootstrap && "
configopts = "--with-cuda=$EBROOTCUDA --with-boost=$EBROOTBOOST"
sanity_check_paths = {
'files': ['lib/libtacuda.%s' % SHLIB_EXT],
'dirs': ['include']
}
modextravars = { 'TACUDA_HOME': '%(installdir)s' }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment