1 | # runmains is a part of the PYTHIA event generator. |
---|
2 | # Copyright (C) 2012 Torbjorn Sjostrand. |
---|
3 | # PYTHIA is licenced under the GNU GPL version 2, see COPYING for details. |
---|
4 | # Please respect the MCnet Guidelines, see GUIDELINES for details. |
---|
5 | |
---|
6 | # Simple script to run all the mainXX test programs |
---|
7 | # Several of the ones from main31 and higher need linkage to external |
---|
8 | # libraries, however, and therefore the execution exits before them by default. |
---|
9 | # If you want to change that behaviour, comment out the "exit" line. |
---|
10 | # The subdirectory outref contains output from reference run. |
---|
11 | |
---|
12 | echo |
---|
13 | echo Now begin main01 |
---|
14 | make main01 |
---|
15 | time ./main01.exe > out01 |
---|
16 | |
---|
17 | echo |
---|
18 | echo Now begin main02 |
---|
19 | make main02 |
---|
20 | time ./main02.exe > out02 |
---|
21 | |
---|
22 | echo |
---|
23 | echo Now begin main03 |
---|
24 | make main03 |
---|
25 | time ./main03.exe > out03 |
---|
26 | |
---|
27 | echo |
---|
28 | echo Now begin main04 |
---|
29 | make main04 |
---|
30 | time ./main04.exe > out04 |
---|
31 | |
---|
32 | echo |
---|
33 | echo Now begin main05 |
---|
34 | make main05 |
---|
35 | time ./main05.exe > out05 |
---|
36 | |
---|
37 | echo |
---|
38 | echo Now begin main06 |
---|
39 | make main06 |
---|
40 | time ./main06.exe > out06 |
---|
41 | |
---|
42 | echo |
---|
43 | echo Now begin main07 |
---|
44 | make main07 |
---|
45 | time ./main07.exe > out07 |
---|
46 | |
---|
47 | echo |
---|
48 | echo Now begin main08 |
---|
49 | make main08 |
---|
50 | time ./main08.exe > out08 |
---|
51 | |
---|
52 | echo |
---|
53 | echo Now begin main09 |
---|
54 | make main09 |
---|
55 | time ./main09.exe > out09 |
---|
56 | |
---|
57 | echo |
---|
58 | echo Now begin main10 |
---|
59 | make main10 |
---|
60 | time ./main10.exe > out10 |
---|
61 | |
---|
62 | echo |
---|
63 | echo Now begin main11 |
---|
64 | make main11 |
---|
65 | time ./main11.exe > out11 |
---|
66 | |
---|
67 | echo |
---|
68 | echo Now begin main12 |
---|
69 | make main12 |
---|
70 | time ./main12.exe > out12 |
---|
71 | |
---|
72 | echo |
---|
73 | echo Now begin main13 |
---|
74 | make main13 |
---|
75 | time ./main13.exe > out13 |
---|
76 | |
---|
77 | echo |
---|
78 | echo Now begin main14 |
---|
79 | make main14 |
---|
80 | time ./main14.exe > out14 |
---|
81 | |
---|
82 | echo |
---|
83 | echo Now begin main15 |
---|
84 | make main15 |
---|
85 | time ./main15.exe > out15 |
---|
86 | |
---|
87 | echo |
---|
88 | echo Now begin main16 |
---|
89 | make main16 |
---|
90 | time ./main16.exe main16.cmnd > out16 |
---|
91 | |
---|
92 | echo |
---|
93 | echo Now begin main17 |
---|
94 | make main17 |
---|
95 | time ./main17.exe > out17 |
---|
96 | |
---|
97 | echo |
---|
98 | echo Now begin main18 |
---|
99 | make main18 |
---|
100 | time ./main18.exe > out18 |
---|
101 | |
---|
102 | echo |
---|
103 | echo Now begin main19 |
---|
104 | make main19 |
---|
105 | time ./main19.exe > out19 |
---|
106 | |
---|
107 | echo |
---|
108 | echo Now begin main20 |
---|
109 | make main20 |
---|
110 | time ./main20.exe > out20 |
---|
111 | |
---|
112 | echo |
---|
113 | echo Now begin main21 |
---|
114 | make main21 |
---|
115 | time ./main21.exe > out21 |
---|
116 | |
---|
117 | echo |
---|
118 | echo Now begin main22 |
---|
119 | make main22 |
---|
120 | time ./main22.exe > out22 |
---|
121 | |
---|
122 | echo |
---|
123 | echo Now begin main23 |
---|
124 | make main23 |
---|
125 | time ./main23.exe > out23 |
---|
126 | |
---|
127 | echo |
---|
128 | echo Now begin main24 |
---|
129 | make main24 |
---|
130 | time ./main24.exe > out24 |
---|
131 | |
---|
132 | echo |
---|
133 | echo Now begin main25 |
---|
134 | make main25 |
---|
135 | time ./main25.exe > out25 |
---|
136 | |
---|
137 | echo |
---|
138 | echo Now begin main26 |
---|
139 | make main26 |
---|
140 | time ./main26.exe > out26 |
---|
141 | |
---|
142 | echo |
---|
143 | echo Now begin main27 |
---|
144 | make main27 |
---|
145 | time ./main27.exe > out27 |
---|
146 | |
---|
147 | echo |
---|
148 | echo Now begin main28 |
---|
149 | make main28 |
---|
150 | time ./main28.exe > out28 |
---|
151 | |
---|
152 | # This code section stops the testing before the mainXX programs |
---|
153 | # that need access to various external libraries (+ main31). |
---|
154 | # If you have ensured such linkage, feel free to comment out |
---|
155 | # the exit command below, to have the program continue to the end. |
---|
156 | echo |
---|
157 | echo The testing stops here! |
---|
158 | echo Further checks require that you have external libraries linked, |
---|
159 | echo and edit this runmains file, by removing a single exit line. |
---|
160 | exit |
---|
161 | |
---|
162 | echo |
---|
163 | echo Now begin main31 |
---|
164 | make main31 |
---|
165 | time ./main31.exe > out31 |
---|
166 | |
---|
167 | echo |
---|
168 | echo Now begin main41 |
---|
169 | make main41 |
---|
170 | time ./main41.exe > out41 |
---|
171 | |
---|
172 | echo |
---|
173 | echo Now begin main42 |
---|
174 | make main42 |
---|
175 | time ./main42.exe main42.cmnd hepmcout42.dat > out42 |
---|
176 | |
---|
177 | echo |
---|
178 | echo Now begin main51 |
---|
179 | make main51 |
---|
180 | time ./main51.exe > out51 |
---|
181 | |
---|
182 | echo |
---|
183 | echo Now begin main52 |
---|
184 | make main52 |
---|
185 | time ./main52.exe > out52 |
---|
186 | |
---|
187 | echo |
---|
188 | echo Now begin main53 |
---|
189 | make main53 |
---|
190 | time ./main53.exe > out53 |
---|
191 | |
---|
192 | echo |
---|
193 | echo Now begin main61 |
---|
194 | make main61 |
---|
195 | time ./main61.exe main61.cmnd hepmcout61.dat > out61 |
---|
196 | |
---|
197 | echo |
---|
198 | echo Now begin main62 |
---|
199 | make main62 |
---|
200 | time ./main62.exe main62.cmnd hepmcout62.dat > out62 |
---|
201 | |
---|
202 | echo |
---|
203 | echo Now begin main71 |
---|
204 | make main71 |
---|
205 | time ./main71.exe > out71 |
---|
206 | |
---|
207 | echo |
---|
208 | echo Now begin main72 |
---|
209 | make main72 |
---|
210 | time ./main72.exe > out72 |
---|
211 | |
---|
212 | |
---|