[SciPy-user] Install problem - Overwriting message when importing scipy
Hugo Gamboa
hgamboa at gmail.com
Wed Dec 21 11:04:11 EST 2005
Has anyone been able to reproduce the segmentation fault caused by fread?
Hugo Gamboa
from scipy import *
import timing
def tic():
timing.start()
def tac(s=""):
timing.finish()
print(':ms:'+str(timing.milli())+" "+s)
tic()
a=randn(1000,1000)
tac("Generate data")
tic()
f=open("fwrite.mat","w")
io.fwrite(f,size(a),a,"d",)
tac("Write")
tic()
f=open("fwrite.mat","r")
b=io.fread(f,size(a),"d") #FAILS - SEGMENTATION FAULT
tac("Read")
Hugo Gamboa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20051221/022b0aa1/attachment.html>
More information about the SciPy-User
mailing list