forked from gunrock/graphblast
-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_tc.sh
36 lines (32 loc) · 1.4 KB
/
run_tc.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
TEST="3"
DATA="/data/gunrock_dataset/large"
DATA2="/data/topc-datasets"
for file in ak2010 belgium_osm coAuthorsDBLP delaunay_n10 delaunay_n13 delaunay_n21 webbase-1M soc-LiveJournal1 kron_g500-logn21
do
if [ "$TEST" = "0" ] ; then
echo bin/gtc --timing 1 --mxvmode 0 --directed 2 --niter 0 --skip_cpu_verify 1 $DATA/$file/$file.mtx
bin/gtc --timing 1 --mxvmode 0 --directed 2 --niter 0 --skip_cpu_verify 1 $DATA/$file/$file.mtx
fi
done
#for file in soc-orkut soc-LiveJournal1 hollywood-2009 indochina-2004 rmat_n22_e64 rmat_n23_e32 rmat_n24_e16 rgg_n24_0.000548 road_usa
for file in rmat_n24_e16 rmat_n23_e32
do
if [ "$TEST" = "1" ] ; then
echo bin/gtc --timing 1 --mxvmode 0 --directed 2 --niter 0 --skip_cpu_verify 1 $DATA2/$file.mtx
bin/gtc --timing 1 --mxvmode 0 --directed 2 --niter 0 --skip_cpu_verify 1 $DATA2/$file.mtx
fi
done
for file in test_bc test_cc test_mesh test_mis test_pr small chesapeake
do
if [ "$TEST" = "2" ] ; then
echo bin/gtc --timing 1 --mxvmode 0 --directed 2 --niter 0 data/small/$file.mtx
bin/gtc --timing 1 --mxvmode 0 --directed 2 --niter 0 data/small/$file.mtx
fi
done
for file in coAuthorsCiteseer road_central coPapersDBLP cit-Patents soc-LiveJournal1 com-Orkut
do
if [ "$TEST" = "3" ] ; then
echo bin/gtc --timing 1 --mxvmode 0 --directed 2 --niter 0 $DATA2/$file.mtx
bin/gtc --timing 1 --mxvmode 0 --directed 2 --niter 0 $DATA2/$file.mtx
fi
done