Skip to content

Commit 7be517d

Browse files
jgphpcJean-Guillaume PiccinaliJean-Guillaume PiccinaliJean-Guillaume Piccinalisimonpintarelli
authored
scorep/9 (#201)
* scorep_cpu * config * config * fix * fix * sc * fix * 9.0 * clean * mpich * fix for review * add missing files * patches * gcc * repo * 13 * 13 * clean * fix for review * typo --------- Co-authored-by: Jean-Guillaume Piccinali <[email protected]> Co-authored-by: Jean-Guillaume Piccinali <[email protected]> Co-authored-by: Jean-Guillaume Piccinali <[email protected]> Co-authored-by: Jg_Piccinali <> Co-authored-by: Simon Pintarelli <[email protected]>
1 parent 6fe3b7f commit 7be517d

25 files changed

+1047
-0
lines changed

config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,21 @@ uenvs:
353353
recipes:
354354
a100: v7.5/a100
355355
develop: True
356+
scorep:
357+
"9.0-gcc12":
358+
recipes:
359+
gh200: 9.0-gcc12/gh200
360+
deploy:
361+
daint: [gh200]
362+
santis: [gh200]
363+
clariden: [gh200]
364+
"9.0-gcc13":
365+
recipes:
366+
gh200: 9.0-gcc13/gh200
367+
deploy:
368+
daint: [gh200]
369+
santis: [gh200]
370+
clariden: [gh200]
356371
vasp:
357372
"v6.4.2":
358373
recipes:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
bootstrap:
2+
spec: gcc@12
3+
gcc:
4+
specs:
5+
- gcc@12
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: scorep
2+
store: /user-tools
3+
spack:
4+
repo: https://github.com/spack/spack.git
5+
commit: v0.23.1
6+
modules: True
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
scorep:
2+
compiler:
3+
- toolchain: gcc
4+
spec: gcc@12
5+
unify: when_possible
6+
mpi:
7+
8+
gpu: cuda
9+
specs:
10+
# keeping for reference:
11+
# - cmake
12+
# - hdf5 +cxx +hl ~fortran
13+
- [email protected] ^[email protected] +cuda +mpi ~papi +gotcha +unwind ^libunwind ^binutils +libiberty ^cuda@12
14+
views:
15+
default:
16+
link: all
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
default:
2+
features:
3+
- scorep
4+
- scalasca
5+
cc: mpicc
6+
cxx: mpic++
7+
ftn: mpifort
8+
views:
9+
- default
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
modules:
2+
prefix_inspections:
3+
bin:
4+
- PATH
5+
lib:
6+
- LD_LIBRARY_PATH
7+
lib64:
8+
- LD_LIBRARY_PATH
9+
10+
default:
11+
arch_folder: false
12+
roots:
13+
tcl: /user-tools/modules
14+
tcl:
15+
all:
16+
autoload: none
17+
hash_length: 0
18+
exclude_implicits: true
19+
exclude: ['%[email protected]', 'gcc %[email protected]']
20+
projections:
21+
all: '{name}/{version}'

recipes/scorep/9.0-gcc12/gh200/repo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/repo/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
bootstrap:
2+
spec: gcc@12
3+
gcc:
4+
specs:
5+
- gcc@13
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: scorep
2+
store: /user-tools
3+
spack:
4+
repo: https://github.com/spack/spack.git
5+
commit: v0.23.1
6+
modules: True
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
scorep:
2+
compiler:
3+
- toolchain: gcc
4+
spec: gcc@13
5+
unify: when_possible
6+
mpi:
7+
8+
gpu: cuda
9+
specs:
10+
# keeping for reference:
11+
# - cmake # [email protected] fails to build because of ^[email protected]%[email protected]
12+
# hdf5 depends on cmake, using my own recipe for cmake fails too
13+
# - hdf5 +cxx +hl ~fortran
14+
- [email protected] ^[email protected] +cuda +mpi ~papi +gotcha +unwind ^libunwind ^binutils +libiberty ^cuda@12
15+
views:
16+
default:
17+
link: all
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
default:
2+
features:
3+
- scorep
4+
- scalasca
5+
cc: mpicc
6+
cxx: mpic++
7+
ftn: mpifort
8+
views:
9+
- default
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
modules:
2+
prefix_inspections:
3+
bin:
4+
- PATH
5+
lib:
6+
- LD_LIBRARY_PATH
7+
lib64:
8+
- LD_LIBRARY_PATH
9+
10+
default:
11+
arch_folder: false
12+
roots:
13+
tcl: /user-tools/modules
14+
tcl:
15+
all:
16+
autoload: none
17+
hash_length: 0
18+
exclude_implicits: true
19+
exclude: ['%[email protected]', 'gcc %[email protected]']
20+
projections:
21+
all: '{name}/{version}'

recipes/scorep/9.0-gcc13/gh200/repo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../common/repo/
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2+
# Spack Project Developers. See the top-level COPYRIGHT file for details.
3+
#
4+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
5+
6+
from spack.package import *
7+
8+
9+
class Cubelib(AutotoolsPackage):
10+
"""Component of CubeBundle: General purpose C++ library and tools"""
11+
12+
homepage = "https://www.scalasca.org/software/cube-4.x/download.html"
13+
url = "https://apps.fz-juelich.de/scalasca/releases/cube/4.4/dist/cubelib-4.4.tar.gz"
14+
15+
maintainers("swat-jsc", "wrwilliams")
16+
17+
version("4.9", sha256="a0658f5bf3f74bf7dcf465ab6e30476751ad07eb93618801bdcf190ba3029443")
18+
version("4.8.2", sha256="d6fdef57b1bc9594f1450ba46cf08f431dd0d4ae595c47e2f3454e17e4ae74f4")
19+
version("4.8.1", sha256="e4d974248963edab48c5d0fc5831146d391b0ae4632cccafe840bf5f12cd80a9")
20+
version("4.8", sha256="171c93ac5afd6bc74c50a9a58efdaf8589ff5cc1e5bd773ebdfb2347b77e2f68")
21+
version("4.7.1", sha256="62cf33a51acd9a723fff9a4a5411cd74203e24e0c4ffc5b9e82e011778ed4f2f")
22+
version("4.7", sha256="e44352c80a25a49b0fa0748792ccc9f1be31300a96c32de982b92477a8740938")
23+
version("4.6", sha256="36eaffa7688db8b9304c9e48ca5dc4edc2cb66538aaf48657b9b5ccd7979385b")
24+
version(
25+
"4.5",
26+
sha256="98f66837b4a834b1aacbcd4480a242d7a8c4a1b8dd44e02e836b8c7a4f0ffd98",
27+
deprecated="true",
28+
)
29+
version(
30+
"4.4.4",
31+
sha256="adb8216ee3b7701383884417374e7ff946edb30e56640307c65465187dca7512",
32+
deprecated="true",
33+
)
34+
version(
35+
"4.4.3",
36+
sha256="bcd4fa81a5ba37194e590a5d7c3e6c44b448f5e156a175837b77c21206847a8d",
37+
deprecated="true",
38+
)
39+
version(
40+
"4.4.2",
41+
sha256="843335c7d238493f1b4cb8e07555ccfe99a3fa521bf162e9d8eaa6733aa1f949",
42+
deprecated="true",
43+
)
44+
version(
45+
"4.4",
46+
sha256="77548e1732fa5e82b13cc8465c8a21349bf42b45a382217d2e70d18576741d5c",
47+
deprecated="true",
48+
)
49+
50+
depends_on("c", type="build") # generated
51+
depends_on("cxx", type="build") # generated
52+
53+
depends_on("pkgconfig", type="build")
54+
depends_on("zlib-api")
55+
56+
def url_for_version(self, version):
57+
url = "http://apps.fz-juelich.de/scalasca/releases/cube/{0}/dist/cubelib-{1}.tar.gz"
58+
59+
return url.format(version.up_to(2), version)
60+
61+
def configure_args(self):
62+
configure_args = ["--enable-shared"]
63+
configure_args.append("--with-frontend-zlib=%s" % self.spec["zlib-api"].prefix.lib)
64+
return configure_args
65+
66+
def install(self, spec, prefix):
67+
make("install", parallel=False)
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2+
# Spack Project Developers. See the top-level COPYRIGHT file for details.
3+
#
4+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
5+
6+
from spack.package import *
7+
8+
9+
class Cubew(AutotoolsPackage):
10+
"""Component of CubeBundle: High performance C Writer library"""
11+
12+
homepage = "https://www.scalasca.org/software/cube-4.x/download.html"
13+
url = "https://apps.fz-juelich.de/scalasca/releases/cube/4.4/dist/cubew-4.4.tar.gz"
14+
15+
maintainers("swat-jsc", "wrwilliams")
16+
17+
version("4.9", sha256="4ef74e81c569bf53117459cba5a1ea52b5dac739493fa83be39678840cd2acdd")
18+
version("4.8.2", sha256="4f3bcf0622c2429b8972b5eb3f14d79ec89b8161e3c1cc5862ceda417d7975d2")
19+
version("4.8.1", sha256="42cbd743d87c16e805c8e28e79292ab33de259f2cfba46f2682cb35c1bc032d6")
20+
version("4.8", sha256="73c7f9e9681ee45d71943b66c01cfe675b426e4816e751ed2e0b670563ca4cf3")
21+
version("4.7.1", sha256="0d364a4930ca876aa887ec40d12399d61a225dbab69e57379b293516d7b6db8d")
22+
version("4.7", sha256="a7c7fca13e6cb252f08d4380223d7c56a8e86a67de147bcc0279ebb849c884a5")
23+
version("4.6", sha256="99fe58ce7ab13061ebfbc360aedaecc28099a30636c5269a42c0cbaf57149aa8")
24+
version(
25+
"4.5",
26+
sha256="16bd8fd864197a74ca65f7325761ad75d73d555072326e95e1338cff39f28a5c",
27+
deprecated="true",
28+
)
29+
version(
30+
"4.4.3",
31+
sha256="93fff6cc1e8b0780f0171ef5302a2e1a257f99b6383fbfc1b9b82f925ceff501",
32+
deprecated="true",
33+
)
34+
version(
35+
"4.4.2",
36+
sha256="31a71e9a05e6523de2b86b4026821bbb75fb411eb5b18ae38b27c1f44158014a",
37+
deprecated="true",
38+
)
39+
version(
40+
"4.4.1",
41+
sha256="c09e3f5a3533ebedee2cc7dfaacd7bac4680c14c3fa540669466583a23f04b67",
42+
deprecated="true",
43+
)
44+
version(
45+
"4.4",
46+
sha256="b1d6fecb546bc645ced430ea3fc166e85835f3b997d4e5f0dece71919fc95a99",
47+
deprecated="true",
48+
)
49+
50+
depends_on("c", type="build") # generated
51+
depends_on("cxx", type="build") # generated
52+
53+
depends_on("pkgconfig", type="build")
54+
depends_on("zlib-api")
55+
56+
def url_for_version(self, version):
57+
url = "http://apps.fz-juelich.de/scalasca/releases/cube/{0}/dist/cubew-{1}.tar.gz"
58+
59+
return url.format(version.up_to(2), version)
60+
61+
def configure_args(self):
62+
configure_args = ["--enable-shared"]
63+
configure_args.append("--with-frontend-zlib=%s" % self.spec["zlib-api"].prefix.lib)
64+
configure_args.append("--with-backend-zlib=%s" % self.spec["zlib-api"].prefix.lib)
65+
66+
return configure_args
67+
68+
def install(self, spec, prefix):
69+
make("install", parallel=True)

0 commit comments

Comments
 (0)