[yt-users] Iteration Problems

Matthew Turk matthewturk at gmail.com
Fri Jun 25 13:36:58 PDT 2010


As a quick note, I have recently been notified that the installation
instructions in the documentation instruct users to grab yt-1.5's
install script.  This was my error, and I apologize -- it seems to
have affected both BrianC and another user as well.

I'll be updating the docs as soon as I have a new build, hopefully
today or tomorrow.

-Matt

On Fri, Jun 25, 2010 at 1:35 PM, Stephen Skory <stephenskory at yahoo.com> wrote:
> 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
> ________________________________(_)_\(_)_______________
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list