Skip to content

Commit

Permalink
Fix expr name
Browse files Browse the repository at this point in the history
  • Loading branch information
Riyaz Haque committed Oct 5, 2024
1 parent 5702ef1 commit 0022794
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions var/exp_repo/experiments/kripke/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ def compute_applications_section(self):
variables["arch"] = "OpenMP"
variables["n_ranks"] = num_procs
variables["n_threads_per_proc"] = 1
n_resources = "{n_ranks}_{n_threads_per_proc}"
elif self.spec.satisfies("programming_model=cuda"):
variables["arch"] = "CUDA"
variables["n_gpus"] = num_procs
n_resources = "{n_gpus}"
elif self.spec.satisfies("programming_model=rocm"):
variables["arch"] = "HIP"
variables["n_gpus"] = num_procs
n_resources = "{n_gpus}"

variables |= {
"ngroups": 64,
Expand Down Expand Up @@ -77,8 +80,7 @@ def compute_applications_section(self):
int(self.spec.variants["scaling-iterations"][0]),
)

experiment_name_template = f"kripke_{self.spec.variants['programming_model'][0]}_{self.spec.variants['scaling'][0]}"
experiment_name_template += "_{n_nodes}_{n_ranks}_{n_threads_per_proc}_{ngroups}_{gs}_{nquad}_{ds}_{lorder}_{nzx}_{nzy}_{nzz}_{npx}_{npy}_{npz}"
experiment_name_template = f"kripke_{self.spec.variants['programming_model'][0]}_{self.spec.variants['scaling'][0]}_{{n_nodes}}_{n_resources}_{{ngroups}}_{{gs}}_{{nquad}}_{{ds}}_{{lorder}}_{{nzx}}_{{nzy}}_{{nzz}}_{{npx}}_{{npy}}_{{npz}}"

return {
"kripke": {
Expand Down

0 comments on commit 0022794

Please sign in to comment.