[SciPy-dev] multigrid

Nils Wagner nwagner@iam.uni-stuttgart...
Fri Sep 28 16:17:46 CDT 2007


Hi Nathan,

Thank you very much for your prompt reply.
test_coarsen.py works fine for me with latest svn

python -i 
/usr/local/lib64/python2.5/site-packages/scipy/sandbox/multigrid/tests/test_coarsen.py
   Found 7/7 tests for __main__
.......
----------------------------------------------------------------------
Ran 7 tests in 8.015s

OK
>>>

but

python -i 
/usr/local/lib64/python2.5/site-packages/scipy/sandbox/multigrid/tests/examples.py
All Available Examples Are Listed Below

torus.mtx.gz
Traceback (most recent call last):
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/sandbox/multigrid/tests/examples.py", 
line 25, in <module>
     print repr(read_matrix(filename))
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/sandbox/multigrid/tests/examples.py", 
line 8, in read_matrix
     fid = gzip.open(filename)
   File "/usr/lib64/python2.5/gzip.py", line 49, in open
     return GzipFile(filename, mode, compresslevel)
   File "/usr/lib64/python2.5/gzip.py", line 95, in 
__init__
     fileobj = self.myfileobj = __builtin__.open(filename, 
mode or 'rb')
IOError: [Errno 2] No such file or directory: 
'sample_data/torus.mtx.gz'
  

Best wishes

                 Nils


More information about the Scipy-dev mailing list