-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbench_weak_scaling.sh
39 lines (35 loc) · 1.03 KB
/
bench_weak_scaling.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
#SBATCH -N 10
#SBATCH -C cpu
#SBATCH -q regular
#SBATCH -t 00:30:00
#SBATCH -A m1982
#SBATCH --reservation=ipdps_perlmutter
. env.sh
export OMP_MAX_ACTIVE_LEVELS=1
export TRIAL_COUNT=3
export DISTRIBUTION=accumulator_stationary
export ITERATIONS=20
export OMP_NUM_THREADS=16
export ALG=sts_cp
export CORES_PER_NODE=128
export RANKS_PER_NODE=$((CORES_PER_NODE / OMP_NUM_THREADS))
for TENSOR in amazon reddit
do
for N in 3
do
export NODE_COUNT=$N
for (( trial=1; trial<=$TRIAL_COUNT; trial++ ))
do
srun -N $NODE_COUNT -n $((NODE_COUNT * RANKS_PER_NODE)) -c $((OMP_NUM_THREADS * 2)) python decompose.py -i $TENSOR \
--trank $((16 * NODE_COUNT)) \
-s 65536 \
-iter $ITERATIONS \
-alg $ALG \
-dist $DISTRIBUTION \
-r $TRIAL_COUNT \
-m nnodes_$NODE_COUNT \
-o data/weak_scaling
done
done
done