-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
52 lines (38 loc) · 1.34 KB
/
Makefile
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Make targets
plots:
Rscript frequencies.R simulation1.log
simulation1:
python3 pdiffsim.py simulation1.cfg
if test -e "simulation1.log/frequencies.dat"; then Rscript frequencies.R simulation1.log; fi;
simulation2:
python3 pdiffsim-gt.py simulation2.cfg
if test -e "simulation2.log/frequencies.dat"; then Rscript frequencies.R simulation2.log; fi;
simulation3:
python3 pdiffsim.py simulation3.cfg
if test -e "simulation3.log/frequencies.dat"; then Rscript frequencies.R simulation3.log; fi;
simulation4:
./simulation-multirun.sh simulation4 1000
simulation5:
python3 pdiffsim.py simulation5.cfg
if test -e "simulation5.log/frequencies.dat"; then Rscript frequencies.R simulation5.log; fi;
simulation6:
python3 pdiffsim.py simulation6.cfg
if test -e "simulation6.log/frequencies.dat"; then Rscript frequencies.R simulation6.log; fi;
clean:
# the minus makes Makefile ignore the return value (continue despite errors)
-rm -r simulation1.log
-rm -r simulation2.log
-rm -r simulation3.log
-rm -r simulation4.log
-rm -r simulation5.log
-rm -r simulation6.log
callgraph:
# see function calls
/home/luzi/.local/bin/pycallgraph graphviz pdiffsim.py simulation1.cfg
#~ test:
#~ ./test.sh
# NOTES
# creating a video from frames
# convert -loop 0 frame*.png output.mp4
# simple timing of total execution speed
#~ time python3 pgdiffsim.py offscreen