[yt-users] Iteration Problems
Stephen Skory
stephenskory at yahoo.com
Fri Jun 25 13:35:19 PDT 2010
Brian,
>Traceback (most recent call last):
> File "s_p_halos.py", line 46, in <module>
> pc.save("test_images/%s_%i" % (pf,height))
> File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.5/yt/raven/PlotCollection.py", line 81, in save
> override=override, force_save=force_save))
> File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.5/yt/raven/PlotTypes.py", line 112, in save_image
> self._redraw_image()
> File "/share/home/01450/bcrosby/yt-x86_64/src/yt-1.5/yt/raven/PlotTypes.py", line 352, in _redraw_image
> newmin = na.nanmin(buff[bI])
>MemoryError
>TACC: Cleaning up after job: 1440927
>TACC: Done.
>
>
>So it would seem that I'm running up against a memory problem, but what we're hitting beyond that, I'm stumped.
I think you might be running into a known & fixed memory leak in the halo finding stuff. It is fixed in the svn trunk version of yt, and you might consider switching to that. There will be a point release of yt very soon (today or in a few days) if you want to wait for that. There are a whole slew of changes between 1.5 and what's coming, which will be outlined in the announcement email. If you feel up to switching now, you can do that inside the yt-1.5 directory like this:
svn sw http://svn.enzotools.org/yt/trunk
python setup.py develop
There are other possibilities, but this is the best one I can think of right now.
Good luck!
_______________________________________________________
sskory at physics.ucsd.edu o__ Stephen Skory
http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
________________________________(_)_\(_)_______________
More information about the yt-users
mailing list