forked from gunrock/graphblast
-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_bfs.sh
32 lines (28 loc) · 1.43 KB
/
run_bfs.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
TEST="1"
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/gbfs --timing 0 --earlyexit 1 --mxvmode 0 --struconly 1 --niter 5 --opreuse 1 $DATA/$file/$file.mtx
bin/gbfs --timing 0 --earlyexit 1 --mxvmode 0 --struconly 1 --niter 5 --opreuse 1 $DATA/$file/$file.mtx
fi
done
for file in soc-orkut soc-LiveJournal1 hollywood-2009 indochina-2004 rmat_n22_e64 rmat_n23_e32 rgg_n24_0.000548 road_usa
do
if [ "$TEST" = "1" ] ; then
echo bin/gbfs --timing 0 --earlyexit 1 --mxvmode 0 --struconly 1 --niter 5 --opreuse 1 $DATA2/$file.mtx
bin/gbfs --timing 0 --earlyexit 1 --mxvmode 0 --struconly 1 --niter 5 --opreuse 1 $DATA2/$file.mtx
fi
done
if [ "$TEST" = "1" ] ; then
echo bin/gbfs --timing 0 --earlyexit 1 --mxvmode 0 --struconly 1 --niter 5 --opreuse 1 --memusage 0.5 $DATA2/rmat_n24_e16.mtx
bin/gbfs --timing 0 --earlyexit 1 --mxvmode 0 --struconly 1 --niter 5 --opreuse 1 --memusage 0.5 $DATA2/rmat_n24_e16.mtx
fi
for file in test_bc test_cc test_mesh test_mis test_pr small chesapeake
do
if [ "$TEST" = "2" ] ; then
echo bin/gbfs --timing 0 --earlyexit 1 --mxvmode 0 --struconly 1 --niter 5 --opreuse 1 data/small/$file.mtx
bin/gbfs --timing 0 --earlyexit 1 --mxvmode 0 --struconly 1 --niter 5 --opreuse 1 data/small/$file.mtx
fi
done