From 593c96dabbbf66ade74b28a9fadc520d2f34ab88 Mon Sep 17 00:00:00 2001 From: Christian Feld <c.feld@fz-juelich.de> Date: Thu, 2 Dec 2021 15:40:22 +0100 Subject: [PATCH] Provide Score-P/7.1, NVHPC toolchains missing --- .../s/Score-P/Score-P-7.1-gompi-2021b.eb | 65 ++++++++++++++++++ .../s/Score-P/Score-P-7.1-gpsmpi-2021b.eb | 67 +++++++++++++++++++ .../s/Score-P/Score-P-7.1-iimpi-2021b.eb | 67 +++++++++++++++++++ .../s/Score-P/Score-P-7.1-iompi-2021b.eb | 67 +++++++++++++++++++ .../s/Score-P/Score-P-7.1-ipsmpi-2021b.eb | 67 +++++++++++++++++++ .../s/Score-P/Score-P-7.1-gpsmpi-2021b.eb | 66 ++++++++++++++++++ .../s/Score-P/Score-P-7.1-iimpi-2021b.eb | 66 ++++++++++++++++++ .../s/Score-P/Score-P-7.1-ipsmpi-2021b.eb | 66 ++++++++++++++++++ 8 files changed, 531 insertions(+) create mode 100644 Golden_Repo/s/Score-P/Score-P-7.1-gompi-2021b.eb create mode 100644 Golden_Repo/s/Score-P/Score-P-7.1-gpsmpi-2021b.eb create mode 100644 Golden_Repo/s/Score-P/Score-P-7.1-iimpi-2021b.eb create mode 100644 Golden_Repo/s/Score-P/Score-P-7.1-iompi-2021b.eb create mode 100644 Golden_Repo/s/Score-P/Score-P-7.1-ipsmpi-2021b.eb create mode 100644 Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-gpsmpi-2021b.eb create mode 100644 Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-iimpi-2021b.eb create mode 100644 Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-ipsmpi-2021b.eb diff --git a/Golden_Repo/s/Score-P/Score-P-7.1-gompi-2021b.eb b/Golden_Repo/s/Score-P/Score-P-7.1-gompi-2021b.eb new file mode 100644 index 000000000..fee64ad92 --- /dev/null +++ b/Golden_Repo/s/Score-P/Score-P-7.1-gompi-2021b.eb @@ -0,0 +1,65 @@ +## +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2021 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Markus Geimer <m.geimer@fz-juelich.de> +# Christian Feld <c.feld@fz-juelich.de> +# License:: 3-clause BSD +# +# This work is based on experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## + +easyblock = 'EB_Score_minus_P' + +name = 'Score-P' +version = '7.1' + +homepage = 'https://www.score-p.org' +description = """ +The Score-P measurement infrastructure is a highly scalable and easy-to-use +tool suite for profiling, event tracing, and online analysis of HPC +applications. +""" + +toolchain = {'name': 'gompi', 'version': '2021b'} + +source_urls = ['http://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-%(version)s'] +sources = ['scorep-%(version)s.tar.gz'] +checksums = [ + '98dea497982001fb82da3429ca55669b2917a0858c71abe2cfe7cd113381f1f7', # scorep-7.1.tar.gz +] + +builddependencies = [ + ('CUDA', '11.5', '', SYSTEM), + ('CubeLib', '4.6'), + ('CubeWriter', '4.6'), + # Unwinding/sampling support (optional): + ('libunwind', '1.5.0'), +] + +dependencies = [ + # binutils is implicitly available via GCC toolchain + ('OPARI2', '2.0.6'), + ('OTF2', '2.3'), + # Hardware counter support (optional): + ('PAPI', '6.0.0.1'), + # PDT source-to-source instrumentation support (optional): + ('PDT', '3.25.1'), +] + +configopts = '--enable-shared --with-machine-name=$SYSTEMNAME ' +# Enable CUDA support +configopts += '--with-libOpenCL=$EBROOTCUDA/targets/x86_64-linux' + +sanity_check_paths = { + 'files': ['bin/scorep', 'include/scorep/SCOREP_User.h', + ('lib/libscorep_adapter_mpi_event.a', 'lib64/libscorep_adapter_mpi_event.a'), + ('lib/libscorep_adapter_mpi_event.%s' % SHLIB_EXT, 'lib64/libscorep_adapter_mpi_event.%s' % SHLIB_EXT)], + 'dirs': [], +} + +# Ensure that local metric documentation is found by CubeGUI +modextrapaths = {'CUBE_DOCPATH': 'share/doc/scorep/profile'} + +moduleclass = 'perf' diff --git a/Golden_Repo/s/Score-P/Score-P-7.1-gpsmpi-2021b.eb b/Golden_Repo/s/Score-P/Score-P-7.1-gpsmpi-2021b.eb new file mode 100644 index 000000000..8fbefbc18 --- /dev/null +++ b/Golden_Repo/s/Score-P/Score-P-7.1-gpsmpi-2021b.eb @@ -0,0 +1,67 @@ +## +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2021 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Markus Geimer <m.geimer@fz-juelich.de> +# Christian Feld <c.feld@fz-juelich.de> +# License:: 3-clause BSD +# +# This work is based on experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## + +easyblock = 'EB_Score_minus_P' + +name = 'Score-P' +version = '7.1' + +homepage = 'https://www.score-p.org' +description = """ +The Score-P measurement infrastructure is a highly scalable and easy-to-use +tool suite for profiling, event tracing, and online analysis of HPC +applications. +""" + +site_contacts = 'Software Analysis and Tools <swat@fz-juelich.de>' + +toolchain = {'name': 'gpsmpi', 'version': '2021b'} + +source_urls = ['http://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-%(version)s'] +sources = ['scorep-%(version)s.tar.gz'] +checksums = [ + '98dea497982001fb82da3429ca55669b2917a0858c71abe2cfe7cd113381f1f7', # scorep-7.1.tar.gz +] + +builddependencies = [ + ('CUDA', '11.5', '', SYSTEM), + ('CubeLib', '4.6'), + ('CubeWriter', '4.6'), + # Unwinding/sampling support (optional): + ('libunwind', '1.5.0'), +] + +dependencies = [ + # binutils is implicitly available via GCC toolchain + ('OPARI2', '2.0.6'), + ('OTF2', '2.3'), + # Hardware counter support (optional): + ('PAPI', '6.0.0.1'), + # PDT source-to-source instrumentation support (optional): + ('PDT', '3.25.1'), +] + +configopts = '--enable-shared --with-machine-name=$SYSTEMNAME ' +# Enable CUDA support +configopts += '--with-libOpenCL=$EBROOTCUDA/targets/x86_64-linux' + +sanity_check_paths = { + 'files': ['bin/scorep', 'include/scorep/SCOREP_User.h', + ('lib/libscorep_adapter_mpi_event.a', 'lib64/libscorep_adapter_mpi_event.a'), + ('lib/libscorep_adapter_mpi_event.%s' % SHLIB_EXT, 'lib64/libscorep_adapter_mpi_event.%s' % SHLIB_EXT)], + 'dirs': [], +} + +# Ensure that local metric documentation is found by CubeGUI +modextrapaths = {'CUBE_DOCPATH': 'share/doc/scorep/profile'} + +moduleclass = 'perf' diff --git a/Golden_Repo/s/Score-P/Score-P-7.1-iimpi-2021b.eb b/Golden_Repo/s/Score-P/Score-P-7.1-iimpi-2021b.eb new file mode 100644 index 000000000..9b03f46de --- /dev/null +++ b/Golden_Repo/s/Score-P/Score-P-7.1-iimpi-2021b.eb @@ -0,0 +1,67 @@ +## +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2021 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Markus Geimer <m.geimer@fz-juelich.de> +# Christian Feld <c.feld@fz-juelich.de> +# License:: 3-clause BSD +# +# This work is based on experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## + +easyblock = 'EB_Score_minus_P' + +name = 'Score-P' +version = '7.1' + +homepage = 'https://www.score-p.org' +description = """ +The Score-P measurement infrastructure is a highly scalable and easy-to-use +tool suite for profiling, event tracing, and online analysis of HPC +applications. +""" + +site_contacts = 'Software Analysis and Tools <swat@fz-juelich.de>' + +toolchain = {'name': 'iimpi', 'version': '2021b'} + +source_urls = ['http://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-%(version)s'] +sources = ['scorep-%(version)s.tar.gz'] +checksums = [ + '98dea497982001fb82da3429ca55669b2917a0858c71abe2cfe7cd113381f1f7', # scorep-7.1.tar.gz +] + +builddependencies = [ + ('CUDA', '11.5', '', SYSTEM), + ('CubeLib', '4.6'), + ('CubeWriter', '4.6'), + # Unwinding/sampling support (optional): + ('libunwind', '1.5.0'), +] + +dependencies = [ + # binutils is implicitly available via GCC toolchain + ('OPARI2', '2.0.6'), + ('OTF2', '2.3'), + # Hardware counter support (optional): + ('PAPI', '6.0.0.1'), + # PDT source-to-source instrumentation support (optional): + ('PDT', '3.25.1'), +] + +configopts = '--enable-shared --with-machine-name=$SYSTEMNAME ' +# Enable CUDA support +configopts += '--with-libOpenCL=$EBROOTCUDA/targets/x86_64-linux' + +sanity_check_paths = { + 'files': ['bin/scorep', 'include/scorep/SCOREP_User.h', + ('lib/libscorep_adapter_mpi_event.a', 'lib64/libscorep_adapter_mpi_event.a'), + ('lib/libscorep_adapter_mpi_event.%s' % SHLIB_EXT, 'lib64/libscorep_adapter_mpi_event.%s' % SHLIB_EXT)], + 'dirs': [], +} + +# Ensure that local metric documentation is found by CubeGUI +modextrapaths = {'CUBE_DOCPATH': 'share/doc/scorep/profile'} + +moduleclass = 'perf' diff --git a/Golden_Repo/s/Score-P/Score-P-7.1-iompi-2021b.eb b/Golden_Repo/s/Score-P/Score-P-7.1-iompi-2021b.eb new file mode 100644 index 000000000..e8e7163cc --- /dev/null +++ b/Golden_Repo/s/Score-P/Score-P-7.1-iompi-2021b.eb @@ -0,0 +1,67 @@ +## +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2021 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Markus Geimer <m.geimer@fz-juelich.de> +# Christian Feld <c.feld@fz-juelich.de> +# License:: 3-clause BSD +# +# This work is based on experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## + +easyblock = 'EB_Score_minus_P' + +name = 'Score-P' +version = '7.1' + +homepage = 'https://www.score-p.org' +description = """ +The Score-P measurement infrastructure is a highly scalable and easy-to-use +tool suite for profiling, event tracing, and online analysis of HPC +applications. +""" + +site_contacts = 'Software Analysis and Tools <swat@fz-juelich.de>' + +toolchain = {'name': 'iompi', 'version': '2021b'} + +source_urls = ['http://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-%(version)s'] +sources = ['scorep-%(version)s.tar.gz'] +checksums = [ + '98dea497982001fb82da3429ca55669b2917a0858c71abe2cfe7cd113381f1f7', # scorep-7.1.tar.gz +] + +builddependencies = [ + ('CUDA', '11.5', '', SYSTEM), + ('CubeLib', '4.6'), + ('CubeWriter', '4.6'), + # Unwinding/sampling support (optional): + ('libunwind', '1.5.0'), +] + +dependencies = [ + # binutils is implicitly available via GCC toolchain + ('OPARI2', '2.0.6'), + ('OTF2', '2.3'), + # Hardware counter support (optional): + ('PAPI', '6.0.0.1'), + # PDT source-to-source instrumentation support (optional): + ('PDT', '3.25.1'), +] + +configopts = '--enable-shared --with-machine-name=$SYSTEMNAME ' +# Enable CUDA support +configopts += '--with-libOpenCL=$EBROOTCUDA/targets/x86_64-linux' + +sanity_check_paths = { + 'files': ['bin/scorep', 'include/scorep/SCOREP_User.h', + ('lib/libscorep_adapter_mpi_event.a', 'lib64/libscorep_adapter_mpi_event.a'), + ('lib/libscorep_adapter_mpi_event.%s' % SHLIB_EXT, 'lib64/libscorep_adapter_mpi_event.%s' % SHLIB_EXT)], + 'dirs': [], +} + +# Ensure that local metric documentation is found by CubeGUI +modextrapaths = {'CUBE_DOCPATH': 'share/doc/scorep/profile'} + +moduleclass = 'perf' diff --git a/Golden_Repo/s/Score-P/Score-P-7.1-ipsmpi-2021b.eb b/Golden_Repo/s/Score-P/Score-P-7.1-ipsmpi-2021b.eb new file mode 100644 index 000000000..009d3cc86 --- /dev/null +++ b/Golden_Repo/s/Score-P/Score-P-7.1-ipsmpi-2021b.eb @@ -0,0 +1,67 @@ +## +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2021 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Markus Geimer <m.geimer@fz-juelich.de> +# Christian Feld <c.feld@fz-juelich.de> +# License:: 3-clause BSD +# +# This work is based on experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## + +easyblock = 'EB_Score_minus_P' + +name = 'Score-P' +version = '7.1' + +homepage = 'https://www.score-p.org' +description = """ +The Score-P measurement infrastructure is a highly scalable and easy-to-use +tool suite for profiling, event tracing, and online analysis of HPC +applications. +""" + +site_contacts = 'Software Analysis and Tools <swat@fz-juelich.de>' + +toolchain = {'name': 'ipsmpi', 'version': '2021b'} + +source_urls = ['http://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-%(version)s'] +sources = ['scorep-%(version)s.tar.gz'] +checksums = [ + '98dea497982001fb82da3429ca55669b2917a0858c71abe2cfe7cd113381f1f7', # scorep-7.1.tar.gz +] + +builddependencies = [ + ('CUDA', '11.5', '', SYSTEM), + ('CubeLib', '4.6'), + ('CubeWriter', '4.6'), + # Unwinding/sampling support (optional): + ('libunwind', '1.5.0'), +] + +dependencies = [ + # binutils is implicitly available via GCC toolchain + ('OPARI2', '2.0.6'), + ('OTF2', '2.3'), + # Hardware counter support (optional): + ('PAPI', '6.0.0.1'), + # PDT source-to-source instrumentation support (optional): + ('PDT', '3.25.1'), +] + +configopts = '--enable-shared --with-machine-name=$SYSTEMNAME ' +# Enable CUDA support +configopts += '--with-libOpenCL=$EBROOTCUDA/targets/x86_64-linux' + +sanity_check_paths = { + 'files': ['bin/scorep', 'include/scorep/SCOREP_User.h', + ('lib/libscorep_adapter_mpi_event.a', 'lib64/libscorep_adapter_mpi_event.a'), + ('lib/libscorep_adapter_mpi_event.%s' % SHLIB_EXT, 'lib64/libscorep_adapter_mpi_event.%s' % SHLIB_EXT)], + 'dirs': [], +} + +# Ensure that local metric documentation is found by CubeGUI +modextrapaths = {'CUBE_DOCPATH': 'share/doc/scorep/profile'} + +moduleclass = 'perf' diff --git a/Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-gpsmpi-2021b.eb b/Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-gpsmpi-2021b.eb new file mode 100644 index 000000000..cf358d946 --- /dev/null +++ b/Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-gpsmpi-2021b.eb @@ -0,0 +1,66 @@ +## +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2021 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Markus Geimer <m.geimer@fz-juelich.de> +# Christian Feld <c.feld@fz-juelich.de> +# License:: 3-clause BSD +# +# This work is based on experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## + +easyblock = 'EB_Score_minus_P' + +name = 'Score-P' +version = '7.1' + +homepage = 'https://www.score-p.org' +description = """ +The Score-P measurement infrastructure is a highly scalable and easy-to-use +tool suite for profiling, event tracing, and online analysis of HPC +applications. +""" + +toolchain = {'name': 'gpsmpi', 'version': '2021b'} +# Building with architectural optimizations on the KNL booster prevents +# using the frontend tools on the frontend, and thus cross-compilation. +# But Score-P/Scalasca does not benefit much from vectorization anyway. +toolchainopts = {'optarch': False} + +source_urls = ['http://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-%(version)s'] +sources = ['scorep-%(version)s.tar.gz'] +checksums = [ + '98dea497982001fb82da3429ca55669b2917a0858c71abe2cfe7cd113381f1f7', # scorep-7.1.tar.gz +] + +builddependencies = [ + ('CubeLib', '4.6'), + ('CubeWriter', '4.6'), + # Unwinding/sampling support (optional): + ('libunwind', '1.5.0'), +] + +dependencies = [ + # binutils is implicitly available via GCC toolchain + ('OPARI2', '2.0.6'), + ('OTF2', '2.3'), + # Hardware counter support (optional): + ('PAPI', '6.0.0.1'), + # PDT source-to-source instrumentation support (optional): + ('PDT', '3.25.1'), +] + +configopts = '--enable-shared ' + +sanity_check_paths = { + 'files': ['bin/scorep', 'include/scorep/SCOREP_User.h', + ('lib/libscorep_adapter_mpi_event.a', 'lib64/libscorep_adapter_mpi_event.a'), + ('lib/libscorep_adapter_mpi_event.%s' % SHLIB_EXT, 'lib64/libscorep_adapter_mpi_event.%s' % SHLIB_EXT)], + 'dirs': [], +} + +# Ensure that local metric documentation is found by CubeGUI +modextrapaths = {'CUBE_DOCPATH': 'share/doc/scorep/profile'} + +moduleclass = 'perf' diff --git a/Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-iimpi-2021b.eb b/Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-iimpi-2021b.eb new file mode 100644 index 000000000..530a8f032 --- /dev/null +++ b/Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-iimpi-2021b.eb @@ -0,0 +1,66 @@ +## +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2021 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Markus Geimer <m.geimer@fz-juelich.de> +# Christian Feld <c.feld@fz-juelich.de> +# License:: 3-clause BSD +# +# This work is based on experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## + +easyblock = 'EB_Score_minus_P' + +name = 'Score-P' +version = '7.1' + +homepage = 'https://www.score-p.org' +description = """ +The Score-P measurement infrastructure is a highly scalable and easy-to-use +tool suite for profiling, event tracing, and online analysis of HPC +applications. +""" + +toolchain = {'name': 'iimpi', 'version': '2021b'} +# Building with architectural optimizations on the KNL booster prevents +# using the frontend tools on the frontend, and thus cross-compilation. +# But Score-P/Scalasca does not benefit much from vectorization anyway. +toolchainopts = {'optarch': False} + +source_urls = ['http://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-%(version)s'] +sources = ['scorep-%(version)s.tar.gz'] +checksums = [ + '98dea497982001fb82da3429ca55669b2917a0858c71abe2cfe7cd113381f1f7', # scorep-7.1.tar.gz +] + +builddependencies = [ + ('CubeLib', '4.6'), + ('CubeWriter', '4.6'), + # Unwinding/sampling support (optional): + ('libunwind', '1.5.0'), +] + +dependencies = [ + # binutils is implicitly available via GCC toolchain + ('OPARI2', '2.0.6'), + ('OTF2', '2.3'), + # Hardware counter support (optional): + ('PAPI', '6.0.0.1'), + # PDT source-to-source instrumentation support (optional): + ('PDT', '3.25.1'), +] + +configopts = '--enable-shared ' + +sanity_check_paths = { + 'files': ['bin/scorep', 'include/scorep/SCOREP_User.h', + ('lib/libscorep_adapter_mpi_event.a', 'lib64/libscorep_adapter_mpi_event.a'), + ('lib/libscorep_adapter_mpi_event.%s' % SHLIB_EXT, 'lib64/libscorep_adapter_mpi_event.%s' % SHLIB_EXT)], + 'dirs': [], +} + +# Ensure that local metric documentation is found by CubeGUI +modextrapaths = {'CUBE_DOCPATH': 'share/doc/scorep/profile'} + +moduleclass = 'perf' diff --git a/Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-ipsmpi-2021b.eb b/Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-ipsmpi-2021b.eb new file mode 100644 index 000000000..66310e93b --- /dev/null +++ b/Overlays/jurecabooster_overlay/s/Score-P/Score-P-7.1-ipsmpi-2021b.eb @@ -0,0 +1,66 @@ +## +# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild +# Copyright:: Copyright 2013-2021 Juelich Supercomputing Centre, Germany +# Authors:: Bernd Mohr <b.mohr@fz-juelich.de> +# Markus Geimer <m.geimer@fz-juelich.de> +# Christian Feld <c.feld@fz-juelich.de> +# License:: 3-clause BSD +# +# This work is based on experiences from the UNITE project +# http://apps.fz-juelich.de/unite/ +## + +easyblock = 'EB_Score_minus_P' + +name = 'Score-P' +version = '7.1' + +homepage = 'https://www.score-p.org' +description = """ +The Score-P measurement infrastructure is a highly scalable and easy-to-use +tool suite for profiling, event tracing, and online analysis of HPC +applications. +""" + +toolchain = {'name': 'ipsmpi', 'version': '2021b'} +# Building with architectural optimizations on the KNL booster prevents +# using the frontend tools on the frontend, and thus cross-compilation. +# But Score-P/Scalasca does not benefit much from vectorization anyway. +toolchainopts = {'optarch': False} + +source_urls = ['http://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-%(version)s'] +sources = ['scorep-%(version)s.tar.gz'] +checksums = [ + '98dea497982001fb82da3429ca55669b2917a0858c71abe2cfe7cd113381f1f7', # scorep-7.1.tar.gz +] + +builddependencies = [ + ('CubeLib', '4.6'), + ('CubeWriter', '4.6'), + # Unwinding/sampling support (optional): + ('libunwind', '1.5.0'), +] + +dependencies = [ + # binutils is implicitly available via GCC toolchain + ('OPARI2', '2.0.6'), + ('OTF2', '2.3'), + # Hardware counter support (optional): + ('PAPI', '6.0.0.1'), + # PDT source-to-source instrumentation support (optional): + ('PDT', '3.25.1'), +] + +configopts = '--enable-shared ' + +sanity_check_paths = { + 'files': ['bin/scorep', 'include/scorep/SCOREP_User.h', + ('lib/libscorep_adapter_mpi_event.a', 'lib64/libscorep_adapter_mpi_event.a'), + ('lib/libscorep_adapter_mpi_event.%s' % SHLIB_EXT, 'lib64/libscorep_adapter_mpi_event.%s' % SHLIB_EXT)], + 'dirs': [], +} + +# Ensure that local metric documentation is found by CubeGUI +modextrapaths = {'CUBE_DOCPATH': 'share/doc/scorep/profile'} + +moduleclass = 'perf' -- GitLab