Created
December 21, 2023 14:17
-
-
Save akawashiro/d026b72068a636b54d051c16565d5440 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./scripts/run_app_tests.sh | |
++ git rev-parse --show-toplevel | |
+ cd /home/akira/ghq/github.com/akawashiro/raijit | |
+ export PYTHONPATH=./build | |
+ PYTHONPATH=./build | |
+ python3 ./app_tests/nbody_test.py | |
5 0 LOAD_GLOBAL 0 (random) | |
2 LOAD_METHOD 1 (seed) | |
4 LOAD_CONST 1 (42) | |
6 CALL_METHOD 1 | |
8 POP_TOP | |
6 10 LOAD_CONST 2 (3) | |
12 STORE_FAST 0 (N) | |
7 14 LOAD_CONST 3 (10) | |
16 STORE_FAST 1 (ITERATIONS) | |
9 18 BUILD_LIST 0 | |
20 STORE_FAST 2 (mass) | |
10 22 BUILD_LIST 0 | |
24 STORE_FAST 3 (pos) | |
11 26 LOAD_GLOBAL 2 (range) | |
28 LOAD_FAST 0 (N) | |
30 CALL_FUNCTION 1 | |
32 GET_ITER | |
>> 34 FOR_ITER 23 (to 82) | |
36 STORE_FAST 4 (i) | |
12 38 LOAD_FAST 2 (mass) | |
40 LOAD_METHOD 3 (append) | |
42 LOAD_GLOBAL 0 (random) | |
44 LOAD_METHOD 0 (random) | |
46 CALL_METHOD 0 | |
48 CALL_METHOD 1 | |
50 POP_TOP | |
13 52 LOAD_FAST 3 (pos) | |
54 LOAD_METHOD 3 (append) | |
56 LOAD_GLOBAL 0 (random) | |
58 LOAD_METHOD 0 (random) | |
60 CALL_METHOD 0 | |
62 LOAD_GLOBAL 0 (random) | |
64 LOAD_METHOD 0 (random) | |
66 CALL_METHOD 0 | |
68 LOAD_GLOBAL 0 (random) | |
70 LOAD_METHOD 0 (random) | |
72 CALL_METHOD 0 | |
74 BUILD_LIST 3 | |
76 CALL_METHOD 1 | |
78 POP_TOP | |
80 JUMP_ABSOLUTE 17 (to 34) | |
15 >> 82 LOAD_GLOBAL 2 (range) | |
84 LOAD_FAST 1 (ITERATIONS) | |
86 CALL_FUNCTION 1 | |
88 GET_ITER | |
>> 90 FOR_ITER 162 (to 416) | |
92 STORE_FAST 4 (i) | |
16 94 LOAD_GLOBAL 2 (range) | |
96 LOAD_FAST 0 (N) | |
98 CALL_FUNCTION 1 | |
100 GET_ITER | |
>> 102 FOR_ITER 155 (to 414) | |
104 STORE_FAST 5 (j) | |
17 106 LOAD_GLOBAL 2 (range) | |
108 LOAD_FAST 0 (N) | |
110 CALL_FUNCTION 1 | |
112 GET_ITER | |
>> 114 FOR_ITER 148 (to 412) | |
116 STORE_FAST 6 (k) | |
18 118 LOAD_FAST 5 (j) | |
120 LOAD_FAST 6 (k) | |
122 COMPARE_OP 3 (!=) | |
124 POP_JUMP_IF_FALSE 205 (to 410) | |
19 126 LOAD_FAST 3 (pos) | |
128 LOAD_FAST 5 (j) | |
130 BINARY_SUBSCR | |
132 LOAD_CONST 4 (0) | |
134 BINARY_SUBSCR | |
136 LOAD_FAST 3 (pos) | |
138 LOAD_FAST 6 (k) | |
140 BINARY_SUBSCR | |
142 LOAD_CONST 4 (0) | |
144 BINARY_SUBSCR | |
146 BINARY_SUBTRACT | |
148 STORE_FAST 7 (dx) | |
20 150 LOAD_FAST 3 (pos) | |
152 LOAD_FAST 5 (j) | |
154 BINARY_SUBSCR | |
156 LOAD_CONST 5 (1) | |
158 BINARY_SUBSCR | |
160 LOAD_FAST 3 (pos) | |
162 LOAD_FAST 6 (k) | |
164 BINARY_SUBSCR | |
166 LOAD_CONST 5 (1) | |
168 BINARY_SUBSCR | |
170 BINARY_SUBTRACT | |
172 STORE_FAST 8 (dy) | |
21 174 LOAD_FAST 3 (pos) | |
176 LOAD_FAST 5 (j) | |
178 BINARY_SUBSCR | |
180 LOAD_CONST 6 (2) | |
182 BINARY_SUBSCR | |
184 LOAD_FAST 3 (pos) | |
186 LOAD_FAST 6 (k) | |
188 BINARY_SUBSCR | |
190 LOAD_CONST 6 (2) | |
192 BINARY_SUBSCR | |
194 BINARY_SUBTRACT | |
196 STORE_FAST 9 (dz) | |
22 198 LOAD_FAST 7 (dx) | |
200 LOAD_CONST 6 (2) | |
202 BINARY_POWER | |
204 LOAD_FAST 8 (dy) | |
206 LOAD_CONST 6 (2) | |
208 BINARY_POWER | |
210 BINARY_ADD | |
212 LOAD_FAST 9 (dz) | |
214 LOAD_CONST 6 (2) | |
216 BINARY_POWER | |
218 BINARY_ADD | |
220 LOAD_CONST 7 (1.5) | |
222 BINARY_POWER | |
224 STORE_FAST 10 (d) | |
23 226 LOAD_FAST 2 (mass) | |
228 LOAD_FAST 5 (j) | |
230 BINARY_SUBSCR | |
232 STORE_FAST 11 (mass_j) | |
24 234 LOAD_FAST 2 (mass) | |
236 LOAD_FAST 6 (k) | |
238 BINARY_SUBSCR | |
240 STORE_FAST 12 (mass_k) | |
25 242 LOAD_FAST 3 (pos) | |
244 LOAD_FAST 5 (j) | |
246 BINARY_SUBSCR | |
248 LOAD_CONST 4 (0) | |
250 DUP_TOP_TWO | |
252 BINARY_SUBSCR | |
254 LOAD_FAST 12 (mass_k) | |
256 LOAD_FAST 7 (dx) | |
258 BINARY_MULTIPLY | |
260 LOAD_FAST 10 (d) | |
262 BINARY_TRUE_DIVIDE | |
264 INPLACE_SUBTRACT | |
266 ROT_THREE | |
268 STORE_SUBSCR | |
26 270 LOAD_FAST 3 (pos) | |
272 LOAD_FAST 5 (j) | |
274 BINARY_SUBSCR | |
276 LOAD_CONST 5 (1) | |
278 DUP_TOP_TWO | |
280 BINARY_SUBSCR | |
282 LOAD_FAST 12 (mass_k) | |
284 LOAD_FAST 8 (dy) | |
286 BINARY_MULTIPLY | |
288 LOAD_FAST 10 (d) | |
290 BINARY_TRUE_DIVIDE | |
292 INPLACE_SUBTRACT | |
294 ROT_THREE | |
296 STORE_SUBSCR | |
27 298 LOAD_FAST 3 (pos) | |
300 LOAD_FAST 5 (j) | |
302 BINARY_SUBSCR | |
304 LOAD_CONST 6 (2) | |
306 DUP_TOP_TWO | |
308 BINARY_SUBSCR | |
310 LOAD_FAST 12 (mass_k) | |
312 LOAD_FAST 9 (dz) | |
314 BINARY_MULTIPLY | |
316 LOAD_FAST 10 (d) | |
318 BINARY_TRUE_DIVIDE | |
320 INPLACE_SUBTRACT | |
322 ROT_THREE | |
324 STORE_SUBSCR | |
28 326 LOAD_FAST 3 (pos) | |
328 LOAD_FAST 6 (k) | |
330 BINARY_SUBSCR | |
332 LOAD_CONST 4 (0) | |
334 DUP_TOP_TWO | |
336 BINARY_SUBSCR | |
338 LOAD_FAST 11 (mass_j) | |
340 LOAD_FAST 7 (dx) | |
342 BINARY_MULTIPLY | |
344 LOAD_FAST 10 (d) | |
346 BINARY_TRUE_DIVIDE | |
348 INPLACE_ADD | |
350 ROT_THREE | |
352 STORE_SUBSCR | |
29 354 LOAD_FAST 3 (pos) | |
356 LOAD_FAST 6 (k) | |
358 BINARY_SUBSCR | |
360 LOAD_CONST 5 (1) | |
362 DUP_TOP_TWO | |
364 BINARY_SUBSCR | |
366 LOAD_FAST 11 (mass_j) | |
368 LOAD_FAST 8 (dy) | |
370 BINARY_MULTIPLY | |
372 LOAD_FAST 10 (d) | |
374 BINARY_TRUE_DIVIDE | |
376 INPLACE_ADD | |
378 ROT_THREE | |
380 STORE_SUBSCR | |
30 382 LOAD_FAST 3 (pos) | |
384 LOAD_FAST 6 (k) | |
386 BINARY_SUBSCR | |
388 LOAD_CONST 6 (2) | |
390 DUP_TOP_TWO | |
392 BINARY_SUBSCR | |
394 LOAD_FAST 11 (mass_j) | |
396 LOAD_FAST 9 (dz) | |
398 BINARY_MULTIPLY | |
400 LOAD_FAST 10 (d) | |
402 BINARY_TRUE_DIVIDE | |
404 INPLACE_ADD | |
406 ROT_THREE | |
408 STORE_SUBSCR | |
>> 410 JUMP_ABSOLUTE 57 (to 114) | |
17 >> 412 JUMP_ABSOLUTE 51 (to 102) | |
16 >> 414 JUMP_ABSOLUTE 45 (to 90) | |
31 >> 416 LOAD_FAST 3 (pos) | |
418 RETURN_VALUE | |
WARNING: Logging before InitGoogleLogging() is written to STDERR | |
I20231221 23:14:49.308198 4115859 raijit.cc:787] enable | |
I20231221 23:14:49.308218 4115859 raijit.cc:126] f->f_code->co_name=nbody | |
I20231221 23:14:49.308231 4115859 raijit.cc:394] PyUnicode_AsUTF8(name)=random global=0x7fa0cbf8de90 | |
F20231221 23:14:49.308238 4115859 raijit.cc:715] UNKNOWN opcode=LOAD_METHOD operand=1 | |
*** Check failure stack trace: *** | |
./scripts/run_app_tests.sh: line 5: 4115859 Aborted (core dumped) python3 ./app_tests/nbody_test.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment