[yt-users] memory required estimate

gso at physics.ucsd.edu gso at physics.ucsd.edu
Fri Mar 18 12:59:37 PDT 2011


On Nautilus I didn't do the hg pull/up, python setup.py install and just
did the
yt instinfo -u
yt instinfo
and got
The current version of the code is:

---
d6541a513417 (yt) tip

---

This installation CAN be automatically updated.
Updated successfully.

(The rumor is they fixed the HDF5 error on Nautilus caused by a DDN disk
driver error, so giving Nautilus another try now)

But on triton after the hg pull/up, python setup.py install
yt instinfo -u gave the following error... sorry I'm not that great with
hg yet, did I break yt, should I just reinstall it?  (the new install
script is fast!)

From
G.S.

yt : [INFO     ] 2011-03-18 12:51:27,673 Loading plugins from
/home/gso/.yt/my_plugins.py

yt module located at:
    /home/gso/TritonYT/lib/python2.7/site-packages/yt-2.1dev-py2.7-linux-x86_64.egg
Traceback (most recent call last):
  File "/home/gso/TritonYT/bin/yt", line 9, in <module>
    load_entry_point('yt==2.1dev', 'console_scripts', 'yt')()
  File
"/home/gso/TritonYT/lib/python2.7/site-packages/yt-2.1dev-py2.7-linux-x86_64.egg/yt/utilities/command_line.py",
line 618, in run_main
    sys.exit(YT.main())
  File
"/home/gso/TritonYT/lib/python2.7/site-packages/yt-2.1dev-py2.7-linux-x86_64.egg/yt/utilities/cmdln.py",
line 257, in main
    return self.cmd(args)
  File
"/home/gso/TritonYT/lib/python2.7/site-packages/yt-2.1dev-py2.7-linux-x86_64.egg/yt/utilities/cmdln.py",
line 280, in cmd
    retval = self.onecmd(argv)
  File
"/home/gso/TritonYT/lib/python2.7/site-packages/yt-2.1dev-py2.7-linux-x86_64.egg/yt/utilities/cmdln.py",
line 412, in onecmd
    return self._dispatch_cmd(handler, argv)
  File
"/home/gso/TritonYT/lib/python2.7/site-packages/yt-2.1dev-py2.7-linux-x86_64.egg/yt/utilities/cmdln.py",
line 1100, in _dispatch_cmd
    return handler(argv[0], opts, *args)
  File
"/home/gso/TritonYT/lib/python2.7/site-packages/yt-2.1dev-py2.7-linux-x86_64.egg/yt/utilities/command_line.py",
line 359, in do_instinfo
    if vstring is not None and opts.outputfile is not None:
UnboundLocalError: local variable 'vstring' referenced before assignment






> Hi Geoffrey,
>
> Dunno if the memory estimates are right; the contour finder can be a
> bit tricky to estimate memory requirements for because of how it
> links.  The bug you included was actually related to something other
> than an OOM.
>
> You should be able to run:
>
> yt instinfo -u
>
> to get the latest version.  If you are on the development branch,
> cythonization is done at compile time, so you should not need to do
> that manually anymore.
>
> After you have run that command, the output of
>
> yt instinfo
>
> should tell you you are on the hash d6541a513417.
>
> -Matt
>
> On Fri, Mar 18, 2011 at 12:38 PM,  <gso at physics.ucsd.edu> wrote:
>> So the memory estimates were correct?  it should be ~25GB and my 64GB is
>> plenty?
>>
>> After I hg pull, hg up, and python setup.py install, do I need to
>> re-Cython it or anything like that?
>>
>> From
>> G.S.
>>
>>> Geoffrey,
>>>
>>>>   File "ContourFinding.pyx", line 92, in
>>>> yt.utilities.amr_utils.construct_boundary_relationships
>>>> (yt/utilities/amr$
>>>> IndexError: Out of bounds on buffer access (axis 0)
>>>
>>> I've just pushed a fix for this problem, go ahead and update. I
>>> actually
>>> fixed this a few days ago in my own branch. However, I was waiting to
>>> merge with the mainline because there are very alpha/non-functional
>>> things
>>> I'm working on in my branch that I am not ready to merge yet.
>>>
>>>
>>> Stephen Skory
>>> stephenskory at yahoo.com
>>> http://stephenskory.com/
>>> 510.621.3687 (google voice)
>>>
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
> _______________________________________________
> 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