generated from puzzlef/pagerank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.sh
executable file
·30 lines (28 loc) · 1.5 KB
/
main.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
#!/usr/bin/env bash
src="louvain-seq"
out="/home/resources/Documents/subhajit/$src.log"
ulimit -s unlimited
printf "" > "$out"
# Download program
rm -rf $src
git clone https://github.com/puzzlef/$src
cd $src
# Run
g++ -std=c++17 -O3 main.cxx
stdbuf --output=L ./a.out ~/data/web-Stanford.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/web-BerkStan.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/web-Google.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/web-NotreDame.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/soc-Slashdot0811.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/soc-Slashdot0902.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/soc-Epinions1.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/coAuthorsDBLP.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/coAuthorsCiteseer.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/soc-LiveJournal1.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/coPapersCiteseer.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/coPapersDBLP.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/indochina-2004.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/italy_osm.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/great-britain_osm.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/germany_osm.mtx 2>&1 | tee -a "$out"
stdbuf --output=L ./a.out ~/data/asia_osm.mtx 2>&1 | tee -a "$out"