[SciPy-dev] weave -- inline C/C++ in Python, an implementation

Fernando Pérez fperez at pizero.colorado.edu
Fri Jan 4 19:39:44 EST 2002


Still failing on a Mandrake box:

[snip early part]

No test suite found for  weave.sequence_spec
..
Expression: result[1:-1,1:-1] = (b[1:-1,1:-1] + b[2:,1:-1] + b[:-2,1:-1]+
b[1:-1,2:] + b[1:-1,:-2])
/ 5.
Run: (10, 10) f
1st run(Numeric,compiled,speed up):  0.0026, 30.1661, 0.0001
2nd run(Numeric,compiled,speed up):  0.0011, 0.0047, 0.2285
Run: (50, 50) f
1st run(Numeric,compiled,speed up):  0.0014, 0.0048, 0.2860
2nd run(Numeric,compiled,speed up):  0.0017, 0.0048, 0.3601
Run: (100, 100) f
1st run(Numeric,compiled,speed up):  0.0030, 0.0054, 0.5426
2nd run(Numeric,compiled,speed up):  0.0027, 0.0058, 0.4589
Run: (500, 500) f
1st run(Numeric,compiled,speed up):  0.0931, 0.0260, 3.5852
2nd run(Numeric,compiled,speed up):  0.0955, 0.0266, 3.5889
Run: (1000, 1000) f
1st run(Numeric,compiled,speed up):  0.3852, 0.0866, 4.4467
2nd run(Numeric,compiled,speed up):  0.8154, 0.1647, 4.9497
Run: (10, 10) d
Abort


And I'm dumped out at the system prompt. ???

(this is with the updated code which fixes the cerr prob.)

cheers,

f.




More information about the SciPy-Dev mailing list