|
1 | 1 | #!/bin/bash |
| 2 | +# shellcheck disable=SC2155 |
2 | 3 | set -e |
3 | 4 | system="$1" |
4 | 5 | nodes="$2" |
5 | | -mkdir -p results && > results/result |
| 6 | +TOPDIR="${PWD}" |
| 7 | +mkdir -p results && : > results/result |
6 | 8 |
|
7 | 9 | source "${PWD}/scripts/bk_functions.sh" |
| 10 | +export BK_INPUT_INFO_FILE="${TOPDIR}/results/input_info.json" |
| 11 | +export BK_INPUT_INFO_ITEMS_FILE="${TOPDIR}/results/.input_info_items.jsonl" |
| 12 | +bk_reset_input_info |
8 | 13 |
|
9 | 14 | case "$system" in |
10 | 15 | Fugaku|FugakuCN) |
@@ -60,6 +65,29 @@ case "$system" in |
60 | 65 | elapse_letkf=$elapse |
61 | 66 |
|
62 | 67 | FOM=$(echo "$elapse_scale $elapse_letkf" | awk '{printf "%.3f\n", $1 + $2}') |
| 68 | + bk_record_input_item \ |
| 69 | + --dataset-id scale-letkf-sc23-128x128-fugaku-config \ |
| 70 | + --kind repo-local-input \ |
| 71 | + --source source_info \ |
| 72 | + --result-exp SC23_128x128 \ |
| 73 | + --repo-relative-path test/benchmark.Fugaku_128x128 \ |
| 74 | + --verification-status covered_by_source_commit \ |
| 75 | + --recipe "Benchmark configuration copied from the source repository artifacts." |
| 76 | + bk_record_input_item \ |
| 77 | + --dataset-id scale-letkf-scale-database \ |
| 78 | + --kind pre-staged-archive \ |
| 79 | + --source site-local \ |
| 80 | + --result-exp SC23_128x128 \ |
| 81 | + --verification-status declared \ |
| 82 | + --recipe "SCALE database archive expanded before the benchmark run." |
| 83 | + bk_record_input_item \ |
| 84 | + --dataset-id scale-letkf-sc23-part1-20240410 \ |
| 85 | + --dataset-version 20240410 \ |
| 86 | + --kind pre-staged-archive \ |
| 87 | + --source site-local \ |
| 88 | + --result-exp SC23_128x128 \ |
| 89 | + --verification-status declared \ |
| 90 | + --recipe "SC23 SCALE-LETKF benchmark dataset archive expanded before the benchmark run." |
63 | 91 | bk_emit_result --fom "$FOM" --fom-unit s --fom-version SCALE-LETKF --exp SC23_128x128 --nodes "$nodes" --numproc-node 4 --nthreads 12 >> ../results/result |
64 | 92 | ;; |
65 | 93 | 75) |
@@ -102,6 +130,29 @@ case "$system" in |
102 | 130 | elapse_letkf=$elapse |
103 | 131 |
|
104 | 132 | FOM=$(echo "$elapse_scale $elapse_letkf" | awk '{printf "%.3f\n", $1 + $2}') |
| 133 | + bk_record_input_item \ |
| 134 | + --dataset-id scale-letkf-sc23-1280x1280-fugaku-config \ |
| 135 | + --kind repo-local-input \ |
| 136 | + --source source_info \ |
| 137 | + --result-exp SC23_1280x1280 \ |
| 138 | + --repo-relative-path test/benchmark.Fugaku_1280x1280 \ |
| 139 | + --verification-status covered_by_source_commit \ |
| 140 | + --recipe "Benchmark configuration copied from the source repository artifacts." |
| 141 | + bk_record_input_item \ |
| 142 | + --dataset-id scale-letkf-scale-database \ |
| 143 | + --kind pre-staged-archive \ |
| 144 | + --source site-local \ |
| 145 | + --result-exp SC23_1280x1280 \ |
| 146 | + --verification-status declared \ |
| 147 | + --recipe "SCALE database archive expanded before the benchmark run." |
| 148 | + bk_record_input_item \ |
| 149 | + --dataset-id scale-letkf-sc23-part1-20240410 \ |
| 150 | + --dataset-version 20240410 \ |
| 151 | + --kind pre-staged-archive \ |
| 152 | + --source site-local \ |
| 153 | + --result-exp SC23_1280x1280 \ |
| 154 | + --verification-status declared \ |
| 155 | + --recipe "SC23 SCALE-LETKF benchmark dataset archive expanded before the benchmark run." |
105 | 156 | bk_emit_result --fom "$FOM" --fom-unit s --fom-version SCALE-LETKF --exp SC23_1280x1280 --nodes "$nodes" --numproc-node 4 --nthreads 12 >> ../results/result |
106 | 157 | ;; |
107 | 158 | esac |
@@ -160,6 +211,29 @@ case "$system" in |
160 | 211 | elapse_letkf=$elapse |
161 | 212 |
|
162 | 213 | FOM=$(echo "$elapse_scale $elapse_letkf" | awk '{printf "%.3f\n", $1 + $2}') |
| 214 | + bk_record_input_item \ |
| 215 | + --dataset-id scale-letkf-sc23-128x128-rc-gh200-config \ |
| 216 | + --kind repo-local-input \ |
| 217 | + --source source_info \ |
| 218 | + --result-exp SC23_128x128 \ |
| 219 | + --repo-relative-path test/benchmark.RC_GH200_128x128 \ |
| 220 | + --verification-status covered_by_source_commit \ |
| 221 | + --recipe "Benchmark configuration copied from the source repository artifacts." |
| 222 | + bk_record_input_item \ |
| 223 | + --dataset-id scale-letkf-scale-database \ |
| 224 | + --kind pre-staged-archive \ |
| 225 | + --source site-local \ |
| 226 | + --result-exp SC23_128x128 \ |
| 227 | + --verification-status declared \ |
| 228 | + --recipe "SCALE database archive expanded before the benchmark run." |
| 229 | + bk_record_input_item \ |
| 230 | + --dataset-id scale-letkf-sc23-part1-20240410 \ |
| 231 | + --dataset-version 20240410 \ |
| 232 | + --kind pre-staged-archive \ |
| 233 | + --source site-local \ |
| 234 | + --result-exp SC23_128x128 \ |
| 235 | + --verification-status declared \ |
| 236 | + --recipe "SC23 SCALE-LETKF benchmark dataset archive expanded before the benchmark run." |
163 | 237 | bk_emit_result --fom "$FOM" --fom-unit s --fom-version SCALE-LETKF --exp SC23_128x128 --nodes "$nodes" --numproc-node 12 --nthreads 1 >> ../results/result |
164 | 238 | ;; |
165 | 239 | esac |
|
0 commit comments