From f278bbb74bc33190c4834184e916851fa5c58bc7 Mon Sep 17 00:00:00 2001
From: Christian Feld <c.feld@fz-juelich.de>
Date: Tue, 10 Jan 2023 17:37:15 +0100
Subject: [PATCH] Provide Scalasca/2.6.1

---
 .../s/Scalasca/Scalasca-2.6.1-gompi-2022a.eb  | 64 +++++++++++++++++++
 .../s/Scalasca/Scalasca-2.6.1-gpsmpi-2022a.eb | 64 +++++++++++++++++++
 .../s/Scalasca/Scalasca-2.6.1-ipsmpi-2022a.eb | 64 +++++++++++++++++++
 .../Scalasca/Scalasca-2.6.1-npsmpic-2022a.eb  | 64 +++++++++++++++++++
 .../Scalasca/Scalasca-2.6.1-nvompic-2022a.eb  | 64 +++++++++++++++++++
 5 files changed, 320 insertions(+)
 create mode 100644 Golden_Repo/s/Scalasca/Scalasca-2.6.1-gompi-2022a.eb
 create mode 100644 Golden_Repo/s/Scalasca/Scalasca-2.6.1-gpsmpi-2022a.eb
 create mode 100644 Golden_Repo/s/Scalasca/Scalasca-2.6.1-ipsmpi-2022a.eb
 create mode 100644 Golden_Repo/s/Scalasca/Scalasca-2.6.1-npsmpic-2022a.eb
 create mode 100644 Golden_Repo/s/Scalasca/Scalasca-2.6.1-nvompic-2022a.eb

diff --git a/Golden_Repo/s/Scalasca/Scalasca-2.6.1-gompi-2022a.eb b/Golden_Repo/s/Scalasca/Scalasca-2.6.1-gompi-2022a.eb
new file mode 100644
index 000000000..5f8789e53
--- /dev/null
+++ b/Golden_Repo/s/Scalasca/Scalasca-2.6.1-gompi-2022a.eb
@@ -0,0 +1,64 @@
+##
+# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild
+# Copyright:: Copyright 2013-2023 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 = 'Scalasca'
+version = '2.6.1'
+
+homepage = 'https://www.scalasca.org/'
+description = """
+Scalasca is a software tool that supports the performance optimization of
+parallel programs by measuring and analyzing their runtime behavior. The
+analysis identifies potential performance bottlenecks -- in particular
+those concerning communication and synchronization -- and offers guidance
+in exploring their causes.
+"""
+
+toolchain = {'name': 'gompi', 'version': '2022a'}
+
+source_urls = ['https://apps.fz-juelich.de/scalasca/releases/scalasca/%(version_major_minor)s/dist']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = [
+    'a0dbc3de82a6c0fe598de9e340513cff2882c199410a632d3a7f073ba921c7e7',  # scalasca-2.6.1.tar.gz
+]
+builddependencies = [
+    ('CubeWriter', '4.8'),
+]
+
+dependencies = [
+    ('CubeGUI', '4.8'),
+    ('CubeLib', '4.8'),
+    ('OTF2', '3.0.2'),
+    ('Score-P', '8.0'),
+]
+
+sanity_check_paths = {
+    'files': ['bin/scalasca', ('lib/libpearl.replay.a', 'lib64/libpearl.replay.a')],
+    'dirs': [],
+}
+
+# note that modextrapaths can be used for relative paths only
+modextrapaths = {
+    # Ensure that local metric documentation is found by CubeGUI
+    'CUBE_DOCPATH': 'share/doc/scalasca/patterns'
+}
+
+modextravars = {
+    # Specifies an optional list of colon separated paths identifying
+    # suitable file systems for tracing. If set, the file system of
+    # trace measurements has to match at least one of the specified
+    # file systems.
+    'SCAN_TRACE_FILESYS': '/p/project:/p/scratch:/p/cscratch:/p/fastdata:/p/largedata:/p/largedata2'
+}
+
+moduleclass = 'perf'
diff --git a/Golden_Repo/s/Scalasca/Scalasca-2.6.1-gpsmpi-2022a.eb b/Golden_Repo/s/Scalasca/Scalasca-2.6.1-gpsmpi-2022a.eb
new file mode 100644
index 000000000..8680f5912
--- /dev/null
+++ b/Golden_Repo/s/Scalasca/Scalasca-2.6.1-gpsmpi-2022a.eb
@@ -0,0 +1,64 @@
+##
+# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild
+# Copyright:: Copyright 2013-2023 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 = 'Scalasca'
+version = '2.6.1'
+
+homepage = 'https://www.scalasca.org/'
+description = """
+Scalasca is a software tool that supports the performance optimization of
+parallel programs by measuring and analyzing their runtime behavior. The
+analysis identifies potential performance bottlenecks -- in particular
+those concerning communication and synchronization -- and offers guidance
+in exploring their causes.
+"""
+
+toolchain = {'name': 'gpsmpi', 'version': '2022a'}
+
+source_urls = ['https://apps.fz-juelich.de/scalasca/releases/scalasca/%(version_major_minor)s/dist']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = [
+    'a0dbc3de82a6c0fe598de9e340513cff2882c199410a632d3a7f073ba921c7e7',  # scalasca-2.6.1.tar.gz
+]
+builddependencies = [
+    ('CubeWriter', '4.8'),
+]
+
+dependencies = [
+    ('CubeGUI', '4.8'),
+    ('CubeLib', '4.8'),
+    ('OTF2', '3.0.2'),
+    ('Score-P', '8.0'),
+]
+
+sanity_check_paths = {
+    'files': ['bin/scalasca', ('lib/libpearl.replay.a', 'lib64/libpearl.replay.a')],
+    'dirs': [],
+}
+
+# note that modextrapaths can be used for relative paths only
+modextrapaths = {
+    # Ensure that local metric documentation is found by CubeGUI
+    'CUBE_DOCPATH': 'share/doc/scalasca/patterns'
+}
+
+modextravars = {
+    # Specifies an optional list of colon separated paths identifying
+    # suitable file systems for tracing. If set, the file system of
+    # trace measurements has to match at least one of the specified
+    # file systems.
+    'SCAN_TRACE_FILESYS': '/p/project:/p/scratch:/p/cscratch:/p/fastdata:/p/largedata:/p/largedata2'
+}
+
+moduleclass = 'perf'
diff --git a/Golden_Repo/s/Scalasca/Scalasca-2.6.1-ipsmpi-2022a.eb b/Golden_Repo/s/Scalasca/Scalasca-2.6.1-ipsmpi-2022a.eb
new file mode 100644
index 000000000..713847a0b
--- /dev/null
+++ b/Golden_Repo/s/Scalasca/Scalasca-2.6.1-ipsmpi-2022a.eb
@@ -0,0 +1,64 @@
+##
+# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild
+# Copyright:: Copyright 2013-2023 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 = 'Scalasca'
+version = '2.6.1'
+
+homepage = 'https://www.scalasca.org/'
+description = """
+Scalasca is a software tool that supports the performance optimization of
+parallel programs by measuring and analyzing their runtime behavior. The
+analysis identifies potential performance bottlenecks -- in particular
+those concerning communication and synchronization -- and offers guidance
+in exploring their causes.
+"""
+
+toolchain = {'name': 'ipsmpi', 'version': '2022a'}
+
+source_urls = ['https://apps.fz-juelich.de/scalasca/releases/scalasca/%(version_major_minor)s/dist']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = [
+    'a0dbc3de82a6c0fe598de9e340513cff2882c199410a632d3a7f073ba921c7e7',  # scalasca-2.6.1.tar.gz
+]
+builddependencies = [
+    ('CubeWriter', '4.8'),
+]
+
+dependencies = [
+    ('CubeGUI', '4.8'),
+    ('CubeLib', '4.8'),
+    ('OTF2', '3.0.2'),
+    ('Score-P', '8.0'),
+]
+
+sanity_check_paths = {
+    'files': ['bin/scalasca', ('lib/libpearl.replay.a', 'lib64/libpearl.replay.a')],
+    'dirs': [],
+}
+
+# note that modextrapaths can be used for relative paths only
+modextrapaths = {
+    # Ensure that local metric documentation is found by CubeGUI
+    'CUBE_DOCPATH': 'share/doc/scalasca/patterns'
+}
+
+modextravars = {
+    # Specifies an optional list of colon separated paths identifying
+    # suitable file systems for tracing. If set, the file system of
+    # trace measurements has to match at least one of the specified
+    # file systems.
+    'SCAN_TRACE_FILESYS': '/p/project:/p/scratch:/p/cscratch:/p/fastdata:/p/largedata:/p/largedata2'
+}
+
+moduleclass = 'perf'
diff --git a/Golden_Repo/s/Scalasca/Scalasca-2.6.1-npsmpic-2022a.eb b/Golden_Repo/s/Scalasca/Scalasca-2.6.1-npsmpic-2022a.eb
new file mode 100644
index 000000000..f9cf4940c
--- /dev/null
+++ b/Golden_Repo/s/Scalasca/Scalasca-2.6.1-npsmpic-2022a.eb
@@ -0,0 +1,64 @@
+##
+# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild
+# Copyright:: Copyright 2013-2023 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 = 'Scalasca'
+version = '2.6.1'
+
+homepage = 'https://www.scalasca.org/'
+description = """
+Scalasca is a software tool that supports the performance optimization of
+parallel programs by measuring and analyzing their runtime behavior. The
+analysis identifies potential performance bottlenecks -- in particular
+those concerning communication and synchronization -- and offers guidance
+in exploring their causes.
+"""
+
+toolchain = {'name': 'npsmpic', 'version': '2022a'}
+
+source_urls = ['https://apps.fz-juelich.de/scalasca/releases/scalasca/%(version_major_minor)s/dist']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = [
+    'a0dbc3de82a6c0fe598de9e340513cff2882c199410a632d3a7f073ba921c7e7',  # scalasca-2.6.1.tar.gz
+]
+builddependencies = [
+    ('CubeWriter', '4.8'),
+]
+
+dependencies = [
+    ('CubeGUI', '4.8'),
+    ('CubeLib', '4.8'),
+    ('OTF2', '3.0.2'),
+    ('Score-P', '8.0'),
+]
+
+sanity_check_paths = {
+    'files': ['bin/scalasca', ('lib/libpearl.replay.a', 'lib64/libpearl.replay.a')],
+    'dirs': [],
+}
+
+# note that modextrapaths can be used for relative paths only
+modextrapaths = {
+    # Ensure that local metric documentation is found by CubeGUI
+    'CUBE_DOCPATH': 'share/doc/scalasca/patterns'
+}
+
+modextravars = {
+    # Specifies an optional list of colon separated paths identifying
+    # suitable file systems for tracing. If set, the file system of
+    # trace measurements has to match at least one of the specified
+    # file systems.
+    'SCAN_TRACE_FILESYS': '/p/project:/p/scratch:/p/cscratch:/p/fastdata:/p/largedata:/p/largedata2'
+}
+
+moduleclass = 'perf'
diff --git a/Golden_Repo/s/Scalasca/Scalasca-2.6.1-nvompic-2022a.eb b/Golden_Repo/s/Scalasca/Scalasca-2.6.1-nvompic-2022a.eb
new file mode 100644
index 000000000..54391439a
--- /dev/null
+++ b/Golden_Repo/s/Scalasca/Scalasca-2.6.1-nvompic-2022a.eb
@@ -0,0 +1,64 @@
+##
+# This is an easyconfig file for EasyBuild, see https://github.com/easybuilders/easybuild
+# Copyright:: Copyright 2013-2023 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 = 'Scalasca'
+version = '2.6.1'
+
+homepage = 'https://www.scalasca.org/'
+description = """
+Scalasca is a software tool that supports the performance optimization of
+parallel programs by measuring and analyzing their runtime behavior. The
+analysis identifies potential performance bottlenecks -- in particular
+those concerning communication and synchronization -- and offers guidance
+in exploring their causes.
+"""
+
+toolchain = {'name': 'nvompic', 'version': '2022a'}
+
+source_urls = ['https://apps.fz-juelich.de/scalasca/releases/scalasca/%(version_major_minor)s/dist']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = [
+    'a0dbc3de82a6c0fe598de9e340513cff2882c199410a632d3a7f073ba921c7e7',  # scalasca-2.6.1.tar.gz
+]
+builddependencies = [
+    ('CubeWriter', '4.8'),
+]
+
+dependencies = [
+    ('CubeGUI', '4.8'),
+    ('CubeLib', '4.8'),
+    ('OTF2', '3.0.2'),
+    ('Score-P', '8.0'),
+]
+
+sanity_check_paths = {
+    'files': ['bin/scalasca', ('lib/libpearl.replay.a', 'lib64/libpearl.replay.a')],
+    'dirs': [],
+}
+
+# note that modextrapaths can be used for relative paths only
+modextrapaths = {
+    # Ensure that local metric documentation is found by CubeGUI
+    'CUBE_DOCPATH': 'share/doc/scalasca/patterns'
+}
+
+modextravars = {
+    # Specifies an optional list of colon separated paths identifying
+    # suitable file systems for tracing. If set, the file system of
+    # trace measurements has to match at least one of the specified
+    # file systems.
+    'SCAN_TRACE_FILESYS': '/p/project:/p/scratch:/p/cscratch:/p/fastdata:/p/largedata:/p/largedata2'
+}
+
+moduleclass = 'perf'
-- 
GitLab