-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_all.sh
executable file
·107 lines (107 loc) · 3.67 KB
/
run_all.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#!/bin/bash
#=======================================================================
cd ./Code/
echo "============================================================"
echo "RUNNING SCRIPT 1 OUT OF 8"
echo ""
echo ""
echo "Calculating the generator for Hydon's model."
echo "The results are stored in the folder:"
echo "Output"
echo "============================================================"
echo " "
echo ""
python3 launch_symmetry_calculations.py hydons_model 2
echo "============================================================"
echo "RUNNING SCRIPT 2 OUT OF 8"
echo ""
echo ""
echo "Calculating the generator for the linear model with degree 1
in the polynomial ansatze."
echo "The results are stored in the folder:"
echo "Output"
echo "============================================================"
echo " "
echo ""
python3 launch_symmetry_calculations.py linear_model 1
echo "============================================================"
echo "RUNNING SCRIPT 3 OUT OF 8"
echo ""
echo ""
echo "Calculating the generator for the linear model with degree 2
in the polynomial ansatze."
echo "The results are stored in the folder:"
echo "Output"
echo "============================================================"
echo " "
echo ""
python3 launch_symmetry_calculations.py linear_model 2
echo "============================================================"
echo "RUNNING SCRIPT 4 OUT OF 8"
echo ""
echo ""
echo "Calculating the generator for the DBH model."
echo "The results are stored in the folder:"
echo "Output"
echo "============================================================"
echo " "
echo ""
python3 launch_symmetry_calculations.py DBH_model 2
echo "============================================================"
echo "RUNNING SCRIPT 5 OUT OF 8"
echo ""
echo ""
echo "Calculating the generator for the Lotka-Volterra (LV) model."
echo "The results are stored in the folder:"
echo "Output"
echo "============================================================"
echo " "
echo ""
python3 launch_symmetry_calculations.py LV 2
echo "============================================================"
echo "RUNNING SCRIPT 6 OUT OF 8"
echo ""
echo ""
echo "Calculating the generator for the SIR model with ansätze of degree 1."
echo "The results are stored in the folder:"
echo "Output"
echo "============================================================"
echo " "
echo ""
python3 launch_symmetry_calculations.py SIR 1
echo "============================================================"
echo "RUNNING SCRIPT 7 OUT OF 8"
echo ""
echo ""
echo "Calculating the generator for the SIR model with ansätze of degree 2."
echo "The results are stored in the folder:"
echo "Output"
echo "============================================================"
echo " "
echo ""
python3 launch_symmetry_calculations.py SIR 2
echo "============================================================"
echo "RUNNING SCRIPT 8 OUT OF 8"
echo ""
echo ""
echo "Calculating the generator for the Brusselator model."
echo "The results are stored in the folder:"
echo "Output"
echo "============================================================"
echo " "
echo ""
python3 launch_symmetry_calculations.py Brusselator 1
echo "============================================================"
echo "GENERATING REPORT"
echo ""
echo ""
echo "A summary report is generated in the Output folder"
echo "============================================================"
echo " "
echo ""
python3 generate_report.py && cd ../Output && pdflatex summary_report.tex && pdflatex summary_report.tex && evince summary_report.pdf &
echo "============================================================"
echo "EVERYTHING WAS EXECUTED SUCCESSFULLY!"
echo ""
echo ""
echo "============================================================"