Skip to content

Commit

Permalink
Update YAML test plans
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmundGoodman committed Feb 25, 2024
1 parent 112a94e commit c35c935
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 6 deletions.
9 changes: 5 additions & 4 deletions yaml_examples/kudu/original_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ run_configurations:
"ntasks-per-node": 1
"cpus-per-task": 16
"exclusive": "mcs"
"mem-per-cpu": 1500
"mem": 60000
module_loads: []
environment_variables: {}
directory: "../0_cpp_versions/0_ref"
Expand All @@ -19,7 +19,7 @@ run_configurations:
"ntasks-per-node": 1
"cpus-per-task": 16
"exclusive": "mcs"
"mem-per-cpu": 1500
"mem-per-cpu": 1875
module_loads: []
environment_variables:
"OMP_NUM_THREADS": 16
Expand All @@ -34,7 +34,7 @@ run_configurations:
"ntasks-per-node": 16
"cpus-per-task": 2
"exclusive": "mcs"
"mem-per-cpu": 1500
"mem-per-cpu": 1875
module_loads:
- "cs402-mpi"
environment_variables: {}
Expand All @@ -49,7 +49,7 @@ run_configurations:
"ntasks-per-node": 16
"cpus-per-task": 2
"exclusive": "mcs"
"mem-per-cpu": 1500
"mem-per-cpu": 1875
module_loads:
- "cs402-mpi"
environment_variables:
Expand All @@ -73,6 +73,7 @@ benches:
- "150 150 150"
- "200 200 200"
- "250 250 250"
- "300 300 300"
analysis:
metrics:
"Mesh x size": "nx: (\\d+)"
Expand Down
53 changes: 53 additions & 0 deletions yaml_examples/kudu/simple_rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,21 @@ run_configurations:
- "make -j 8"
run_command: "./test_HPCCG"

"cpp-mpi":
sbatch_config:
"nodes": 2
"ntasks-per-node": 8
"cpus-per-task": 1
"exclusive": "mcs"
"mem-per-cpu": 1875
module_loads:
- "cs402-mpi"
environment_variables: {}
directory: "../0_cpp_versions/2_mpi"
build_commands:
- "make -j 8"
run_command: "mpirun -n 16 ./test_HPCCG"

"rust-reference":
sbatch_config:
"nodes": 1
Expand Down Expand Up @@ -55,6 +70,22 @@ run_configurations:
- "cargo build --release"
run_command: "./target/release/hpccg-rs"

"rust-mpi":
sbatch_config:
"nodes": 2
"ntasks-per-node": 8
"cpus-per-task": 1
"exclusive": "mcs"
"mem-per-cpu": 1875
module_loads:
- "cs402-mpi"
environment_variables: {}
directory: "../7_mpi"
build_commands:
- "cargo build --release"
run_command: "mpirun -n 16 ./target/release/hpccg-rs"


benches:
"serial":
run_configurations:
Expand Down Expand Up @@ -109,3 +140,25 @@ benches:
- title: "Parallel Implementation Comparison"
x: "Mesh x size"
y: "Wall time (s)"


"mpi-config-sweep":
run_configurations:
- "cpp-mpi"
- "rust-mpi"
matrix:
args:
- "100 100 100"
analysis:
metrics:
"Mesh x size": "nx: (\\d+)"
"Mesh y size": "ny: (\\d+)"
"Mesh z size": "nz: (\\d+)"
"Total time (s)": "Time Summary:[\\s\\S]*Total\\s*: ([\\d\\.]+)[\\s\\S]*\nFLOPS Summary"
"Total flops": "FLOPS Summary:[\\s\\S]*Total\\s*: ([\\d\\.]+)[\\s\\S]*\nMFLOPS Summary"
"Total mflops": "MFLOPS Summary:[\\s\\S]*Total\\s*: ([\\d\\.]+)"
"Wall time (s)": "real\\s([\\d\\.]+)\nuser"
line_plots:
- title: "Parallel Implementation Comparison"
x: "Mesh x size"
y: "Wall time (s)"
4 changes: 2 additions & 2 deletions yaml_examples/kudu/strong_weak_scaling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ run_configurations:
"ntasks-per-node": 16
"cpus-per-task": 2
"exclusive": "mcs"
"mem-per-cpu": 1500
"mem-per-cpu": 1875
module_loads:
- "cs402-mpi"
environment_variables: {}
Expand All @@ -20,7 +20,7 @@ run_configurations:
"ntasks-per-node": 16
"cpus-per-task": 2
"exclusive": "mcs"
"mem-per-cpu": 1500
"mem-per-cpu": 1875
module_loads:
- "cs402-mpi"
environment_variables:
Expand Down

0 comments on commit c35c935

Please sign in to comment.