-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLDBC-CPU.sh
More file actions
executable file
·38 lines (32 loc) · 849 Bytes
/
LDBC-CPU.sh
File metadata and controls
executable file
·38 lines (32 loc) · 849 Bytes
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
# run chmod +x ./LDBC-CPU.sh to make this file executable
data_dir="/home/mabojing/data"
executable="/home/mdnd/CPU_GPU_project-main/build/bin_cpu/Test_CPU"
filenames=(
"wiki-Talk"
"cit-Patents"
"kgs"
"datagen-7_7-zf"
"datagen-7_5-fb"
"datagen-7_8-zf"
"datagen-7_6-fb"
"dota-league"
"graph500-22"
"datagen-7_9-fb"
"datagen-8_2-zf"
"datagen-8_0-fb"
"graph500-23"
"datagen-8_3-zf"
"datagen-8_1-fb"
)
for filename in "${filenames[@]}"
do
for i in {1..1}
do
echo "testing file $filename ..."
echo "$data_dir/" > input.txt
echo "$filename" >> input.txt
echo "$filename" >> result-cpu.csv
$executable < input.txt > "/home/mdnd/CPU_GPU_project-main/logs/$filename-CPU.output"
echo "test file $filename done."
done
done