David Cournapeau wrote:
IOW, I don't think the problem is the numbers themselves. It has to be
something else. A simple profiling like

python -m cProfile -o foo.stats foo.py

and then:

python -c "import pstats; p = pstats.Stats("foo.stats");
p.sort_stats('cumulative').print_stats(50)"

OK, see the results -- I think (though i may be wrong) this means that the problem isn't in finding the numpy package:

As for Shark, I'm sorry I missed that message, but I'm trying to see if I can do that now -- I don't seem to have Shark installed, and the ADC site doesn't seem to be working, but I'll keep looking.

Thanks for all your help with this...

-Chris



--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
Fri Aug  1 15:14:10 2008    ImportNumpy.stats

         26987 function calls (26098 primitive calls) in 5.150 CPU seconds

   Ordered by: cumulative time
   List reduced from 631 to 50 due to restriction <50>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000    5.151    5.151 {execfile}
        1    0.036    0.036    5.151    5.151 ImportNumpy.py:1(<module>)
        1    0.146    0.146    5.115    5.115 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/__init__.py:63(<module>)
        1    0.026    0.026    3.941    3.941 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/add_newdocs.py:9(<module>)
        1    0.064    0.064    3.903    3.903 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/__init__.py:1(<module>)
        1    0.179    0.179    2.077    2.077 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/io.py:1(<module>)
        1    0.483    0.483    1.735    1.735 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/_datasource.py:33(<module>)
        1    0.035    0.035    1.582    1.582 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/type_check.py:3(<module>)
        1    0.112    0.112    1.547    1.547 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/__init__.py:2(<module>)
        1    0.010    0.010    1.348    1.348 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/defmatrix.py:1(<module>)
        1    0.302    0.302    1.338    1.338 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/utils.py:1(<module>)
        1    0.518    0.518    1.236    1.236 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib2.py:74(<module>)
        1    0.012    0.012    0.696    0.696 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/__init__.py:2(<module>)
        1    0.327    0.327    0.683    0.683 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/numpytest.py:1(<module>)
        1    0.011    0.011    0.681    0.681 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compiler/__init__.py:22(<module>)
        1    0.447    0.447    0.650    0.650 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py:67(<module>)
        1    0.351    0.351    0.356    0.356 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compiler/transformer.py:9(<module>)
        1    0.012    0.012    0.314    0.314 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compiler/pycodegen.py:1(<module>)
        1    0.181    0.181    0.300    0.300 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compiler/pyassem.py:1(<module>)
        1    0.162    0.162    0.205    0.205 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/inspect.py:24(<module>)
        1    0.061    0.061    0.194    0.194 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py:3(<module>)
        1    0.163    0.163    0.163    0.163 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/mimetools.py:1(<module>)
        1    0.131    0.131    0.163    0.163 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/tempfile.py:18(<module>)
        1    0.161    0.161    0.162    0.162 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py:45(<module>)
        1    0.131    0.131    0.149    0.149 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/pydoc.py:35(<module>)
        1    0.117    0.117    0.132    0.132 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/difflib.py:29(<module>)
        1    0.061    0.061    0.122    0.122 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/_import_tools.py:2(<module>)
        1    0.067    0.067    0.121    0.121 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ctypeslib.py:1(<module>)
        1    0.118    0.118    0.119    0.119 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/dis.py:1(<module>)
        1    0.009    0.009    0.100    0.100 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/polynomial.py:3(<module>)
        3    0.000    0.000    0.080    0.027 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/getlimits.py:36(__new__)
        2    0.000    0.000    0.080    0.040 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/getlimits.py:63(_init)
        2    0.000    0.000    0.080    0.040 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/machar.py:51(__init__)
        2    0.051    0.026    0.080    0.040 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/machar.py:70(_do_init)
        1    0.026    0.026    0.079    0.079 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/lib/index_tricks.py:1(<module>)
        1    0.052    0.052    0.063    0.063 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/numeric.py:1(<module>)
        1    0.060    0.060    0.061    0.061 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/glob.py:1(<module>)
    
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to