-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.script
executable file
·27 lines (24 loc) · 1.12 KB
/
run.script
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
#!/bin/bash
commands=( "./build/bc")
args=( "../data/twitter-2010Bin 41652230 1" "../data/enwiki-2013in 4206785 1" "../data/uk-2007Bin 105896555 1" "../data/rMat24Bin 16800000 1" "../data/rMat27Bin 134000000 1")
#"./build/pagerank" "./build/bfs" "./build/sssp"
#"./build/cc"
num_commands=${#commands[@]}
num_args=${#args[@]}
for ((i=0; i<$num_commands; i++)); do
for ((j=0; j<$num_args; j++)); do
command=${commands[$i]}
param=${args[$j]}
echo "run: OMP_NUM_THREADS=32 OMP_PROC_BIND=true OMP_PLACES=cores mpirun -np 4 --map-by socket $command $param"
OMP_NUM_THREADS=32 OMP_PROC_BIND=true OMP_PLACES=cores mpirun -np 4 --map-by socket $command $param
done
done
# echo "####################################################################"
# for ((i=0; i<$num_commands; i++)); do
# for ((j=0; j<$num_args; j++)); do
# command=${cxl_commands[$i]}
# param=${args[$j]}
# echo "run: OMP_NUM_THREADS=48 OMP_PROC_BIND=true OMP_PLACES=cores mpirun -np 2 --map-by socket $command $param"
# OMP_NUM_THREADS=48 OMP_PROC_BIND=true OMP_PLACES=cores mpirun -np 2 --map-by socket $command $param
# done
# done