Skip to content

Commit 6578923

Browse files
authored
Faster Phoenix CPU benchmarking (#729)
1 parent b41386d commit 6578923

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/phoenix/bench.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
n_ranks=4
3+
n_ranks=12
44

55
if [ "$job_device" == "gpu" ]; then
66
n_ranks=$(nvidia-smi -L | wc -l) # number of GPUs on node
@@ -9,7 +9,7 @@ if [ "$job_device" == "gpu" ]; then
99
fi
1010

1111
if ["$job_device" == "gpu"]; then
12-
./mfc.sh bench --mem 8 -j $(nproc) -o "$job_slug.yaml" -- -c phoenix $device_opts -n $n_ranks
12+
./mfc.sh bench --mem 12 -j $(nproc) -o "$job_slug.yaml" -- -c phoenix $device_opts -n $n_ranks
1313
else
1414
./mfc.sh bench --mem 1 -j $(nproc) -o "$job_slug.yaml" -- -c phoenix $device_opts -n $n_ranks
15-
fi
15+
fi

benchmarks/5eq_rk3_weno3_hllc/case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@
194194
'cyl_coord' : 'F',
195195
'dt' : dt,
196196
't_step_start' : 0,
197-
't_step_stop' : int(60*(95*size + 5)),
198-
't_step_save' : int(60*(95*size + 5)),
197+
't_step_stop' : int(30*(95*size + 5)),
198+
't_step_save' : int(30*(95*size + 5)),
199199
# ==========================================================
200200

201201
# Simulation Algorithm Parameters ==========================

benchmarks/hypo_hll/case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
'p' : Nz,
4848
'dt' : 1e-8,
4949
't_step_start' : 0,
50-
't_step_stop' : int(60*(95*size + 5)),
51-
't_step_save' : int(60*(95*size + 5)),
50+
't_step_stop' : int(30*(95*size + 5)),
51+
't_step_save' : int(30*(95*size + 5)),
5252
# ==========================================================
5353

5454
# Simulation Algorithm Parameters ==========================

benchmarks/ibm/case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
'p' : Nz,
5252
'dt' : mydt,
5353
't_step_start' : 0,
54-
't_step_stop' : int(40*(95*size + 5)),
55-
't_step_save' : int(40*(95*size + 5)),
54+
't_step_stop' : int(20*(95*size + 5)),
55+
't_step_save' : int(20*(95*size + 5)),
5656
# ==========================================================
5757

5858
# Simulation Algorithm Parameters ==========================

benchmarks/viscous_weno5_sgb_acoustic/case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@
113113
'p' : Nz,
114114
'dt' : dt,
115115
't_step_start' : 0,
116-
't_step_stop' : int(30*(25*size + 5)),
117-
't_step_save' : int(30*(25*size + 5)),
116+
't_step_stop' : int(15*(25*size + 5)),
117+
't_step_save' : int(15*(25*size + 5)),
118118
# ==========================================================
119119

120120
# Simulation Algorithm Parameters ==========================

0 commit comments

Comments
 (0)