Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
07f0db2
Changes to the spack packages for kripke and its dependencies in prep…
rfhaque May 31, 2026
6978f7d
Fix develop branch
rfhaque May 31, 2026
64206e8
Merge branch 'develop' into kripke_upstream_spack
rfhaque Jun 3, 2026
72586b2
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
rfhaque Jun 21, 2026
d74ad98
Weak scaling size
Jun 21, 2026
00ccb76
Merge branch 'kripke_upstream_spack' of github.com:LLNL/benchpark int…
Jun 21, 2026
483a2bc
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
rfhaque Jun 25, 2026
4705052
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
rfhaque Jun 27, 2026
9ee18de
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Jul 10, 2026
300c54b
CHAI, Umpire and GPU-aware MPI changes
Jul 10, 2026
98cf33c
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Jul 11, 2026
ae9c658
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Jul 12, 2026
9be1e81
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Jul 19, 2026
22dbbe5
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Jul 26, 2026
99a11cd
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Jul 30, 2026
6ce19c3
Fix chai, raja, umpire and camp versions
rfhaque Aug 2, 2026
1457cf0
Add CXX std variant
Aug 2, 2026
3b4639e
Add CXX std variant
Aug 2, 2026
27b5d2e
Fixes
Aug 2, 2026
28379af
Fix package.py
Aug 5, 2026
90649cd
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Aug 6, 2026
09d76b8
Add IPC environment variables and fix lint
Aug 7, 2026
af7ffd3
Add MPICH IPC environment variables
Aug 8, 2026
4ee3a03
Add rocm v7.14beta1
Aug 8, 2026
cb2a9a4
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Aug 14, 2026
f400f4c
Fix llnl-elcapitan config
Aug 14, 2026
4034991
Build kripke develop with RAJA, CHAI, camp, umpire v2026.7.x
Aug 14, 2026
d66a144
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Aug 19, 2026
2c34cae
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
rfhaque Aug 29, 2026
d7619ac
Merge branch 'kripke_upstream_spack' of github.com:LLNL/benchpark int…
Aug 29, 2026
eee3e3a
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Sep 17, 2026
c9da1f6
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Sep 17, 2026
5c21d16
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
Sep 25, 2026
cc97fb4
Changes
Sep 25, 2026
28ca3c8
Changes
Sep 28, 2026
cc46409
Add direct device plane variant
Sep 28, 2026
172f2ad
Merge remote-tracking branch 'origin/develop' into kripke_upstream_spack
rfhaque Sep 29, 2026
86bc1ba
Add direct plane storage variant
rfhaque Sep 29, 2026
d5298d3
lint
rfhaque Sep 29, 2026
5da89c6
lint
rfhaque Sep 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 76 additions & 16 deletions experiments/kripke/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,24 @@ class Kripke(
)

variant(
"single_memory",
"gpu-aware-mpi",
default=False,
description="Enable single memory space model in rocm",
values=(True, False),
description="Enable GPU-aware MPI",
)

variant(
"chai",
default=True,
values=(True, False),
description="Enable CHAI",
)

variant(
"other",
"direct-device-plane",
default=False,
values=(True, False),
description="Set other input/environment variables",
description="Use direct device allocator in Umpire for plane fields",
)

maintainers("pearce8")
Expand Down Expand Up @@ -98,6 +106,7 @@ def compute_applications_section(self):
if self.spec.satisfies("+throughput"):
problem_spec = {
"nzx": [
64,
80,
100,
120,
Expand All @@ -106,8 +115,13 @@ def compute_applications_section(self):
180,
200,
220,
240,
260,
280,
300,
],
"nzy": [
64,
80,
100,
120,
Expand All @@ -116,8 +130,13 @@ def compute_applications_section(self):
180,
200,
220,
240,
260,
280,
300,
],
"nzz": [
32,
40,
50,
60,
Expand All @@ -126,11 +145,15 @@ def compute_applications_section(self):
90,
100,
110,
120,
130,
140,
150,
],
"pool": 120,
"npx": [2, 2, 2, 2, 2, 2, 2, 2],
"npy": [2, 2, 2, 2, 2, 2, 2, 2],
"npz": [1, 1, 1, 1, 1, 1, 1, 1],
"npx": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
"npy": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
"npz": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"ngroups": 48,
"gs": 1,
"nquad": 80,
Expand All @@ -144,6 +167,34 @@ def compute_applications_section(self):
"throughput_n": None,
"throughput_p": None,
}
elif self.spec.satisfies("+weak"):
problem_spec = {
"nzx": 80,
"nzy": 80,
"nzz": 40,
"pool": 120,
"npx": 2,
"npy": 2,
"npz": 1,
"ngroups": 48,
"gs": 1,
"nquad": 80,
"ds": 80,
"lorder": 4,
"layout": "GDZ",
"strong_n": None,
"strong_p": None,
"weak_n": lambda var, itr, dim, scaling_factor: var.val(dim)
* scaling_factor,
"weak_p": lambda var, itr, dim, scaling_factor: var.val(dim)
* scaling_factor,
"throughput_n": None,
"throughput_p": None,
}
problem_spec["nzx"] = 220
problem_spec["nzy"] = 220
problem_spec["nzz"] = 110
problem_spec["pool"] = 105
else:
problem_spec = {
"nzx": 80,
Expand Down Expand Up @@ -199,9 +250,6 @@ def compute_applications_section(self):
self.add_experiment_variable("layout", problem_spec["layout"], True)
self.add_experiment_variable("pool", problem_spec["pool"], True)

if self.spec.satisfies("+other"):
self.set_environment_variable("HSA_XNACK", 1)

# Set the variables required by the experiment
self.set_required_variables(
n_resources="{npx}*{npy}*{npz}",
Expand Down Expand Up @@ -250,13 +298,25 @@ def compute_applications_section(self):
else:
self.add_experiment_variable("n_ranks", "{n_resources}", True)

if self.spec.satisfies("+gpu-aware-mpi"):
self.set_environment_variable("MPICH_GPU_IPC_CACHE_MAX_SIZE", 1000)
# self.set_environment_variable("MPICH_NOLOCAL", 1)

def compute_package_section(self):
# get package version
single_memory = (
"+single_memory"
if self.spec.variants["single_memory"][0]
else "~single_memory"
gam = (
"+gpu-aware-mpi"
if self.spec.variants["gpu-aware-mpi"][0]
else "~gpu-aware-mpi"
)
chai = "+chai" if self.spec.variants["chai"][0] else "~chai"
direct_device_plane = (
"+direct-device-plane"
if self.spec.variants["direct-device-plane"][0]
else "~direct-device-plane"
)
self.add_package_spec(
self.name, [f"kripke{self.determine_version()} {single_memory} +mpi"]
self.name,
[
f"kripke{self.determine_version()} {gam} {chai} {direct_device_plane} +mpi"
],
)
31 changes: 0 additions & 31 deletions repos/spack_repo/benchpark/packages/chai/package.py

This file was deleted.

Loading
Loading