[yt-dev] new ART front end (artio)

Sam Leitner sam.leitner at gmail.com
Sun Nov 18 22:58:57 PST 2012


> Great, this is all very useful.  One issue is that spatial chunking is
> likely to be our preferred chunking method, given the on-disk
> layout.  I'm hoping we can get something that functions as soon as
> possible, and use that to learn what what is working and what
> needs refactoring for performance or flexibility.  Feel free to offload
> things that need to be implemented or need to be tested in
> order to make that happen.  Sam seemed to think that the ramses reader was
> broken for one of the test examples, but he'll need
> to be more specific and report to the list.
>
>
>
Actually, my issue is not specific to the RAMSES frontend, I just ran
"yt plot tests/DD0010/moving7_0010t"
which worked fine for me in 2.4, but fails in the current 3.0.

(yt-x86_64)[@lap186 ~/repos/yt-3.0]$  yt plot tests/DD0010/moving7_0010
Traceback (most recent call last):
  File "/Users/sleitner/repos/yt-new/yt-x86_64/bin/yt", line 9, in <module>
    load_entry_point('yt==3.0dev', 'console_scripts', 'yt')()
  File
"/Users/sleitner/repos/yt-new/yt-x86_64/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py",
line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File
"/Users/sleitner/repos/yt-new/yt-x86_64/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py",
line 2281, in load_entry_point
    return ep.load()
  File
"/Users/sleitner/repos/yt-new/yt-x86_64/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg/pkg_resources.py",
line 1991, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/Users/sleitner/repos/yt-3.0/yt/utilities/command_line.py", line
29, in <module>
    from yt.mods import *
  File "/Users/sleitner/repos/yt-3.0/yt/mods.py", line 58, in <module>
    from yt.data_objects.api import \
  File "/Users/sleitner/repos/yt-3.0/yt/data_objects/api.py", line 31, in
<module>
    from grid_patch import \
  File "/Users/sleitner/repos/yt-3.0/yt/data_objects/grid_patch.py", line
35, in <module>
    from yt.data_objects.data_containers import YTFieldData
  File "/Users/sleitner/repos/yt-3.0/yt/data_objects/data_containers.py",
line 51, in <module>
    import yt.geometry.selection_routines
  File "oct_container.pxd", line 49, in init yt.geometry.selection_routines
(yt/geometry/selection_routines.c:15060)
  File "numpy.pxd", line 155, in init yt.geometry.oct_container
(yt/geometry/oct_container.c:14580)
ValueError: numpy.dtype has the wrong size, try recompiling

So I attempted to bash install_script.sh the current 3.0 and that failed as
well:
Installing yt
********************************************
        FAILURE REPORT:
********************************************

/var/folders/s_/zwb_tjns1_n4vsv8r45mk9mc0000gn/T//ccfglW2k.s:unknown:FATAL:can't
create output file:
build/temp.macosx-10.4-x86_64-2.7/yt/utilities/lib/CICDeposit.o
yt/utilities/lib/CICDeposit.c: In function ‘__Pyx_GetBuffer’:
yt/utilities/lib/CICDeposit.c:7976: warning: unused variable
‘getbuffer_cobj’
yt/utilities/lib/CICDeposit.c: In function ‘__Pyx_ReleaseBuffer’:
yt/utilities/lib/CICDeposit.c:8016: warning: unused variable
‘releasebuffer_cobj’
yt/utilities/lib/CICDeposit.c: At top level:
/Users/sleitner/repos/yt-3.0/yt-x86_64/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1533:
warning: ‘_import_array’ defined but not used
/Users/sleitner/repos/yt-3.0/yt-x86_64/lib/python2.7/site-packages/numpy/core/include/numpy/__ufunc_api.h:227:
warning: ‘_import_umath’ defined but not used
/var/folders/s_/zwb_tjns1_n4vsv8r45mk9mc0000gn/T//ccfglW2k.s:unknown:FATAL:can't
create output file:
build/temp.macosx-10.4-x86_64-2.7/yt/utilities/lib/CICDeposit.o
error: Command "gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-mmacosx-version-min=10.7 -I/opt/local/include -I/opt/local/include
-I/opt/local/include
-I/Users/sleitner/repos/yt-3.0/yt-x86_64/lib/python2.7/site-packages/numpy/core/include
-I/Users/sleitner/repos/yt-3.0/yt-x86_64/include/python2.7 -c
yt/utilities/lib/CICDeposit.c -o
build/temp.macosx-10.4-x86_64-2.7/yt/utilities/lib/CICDeposit.o" failed
with exit status 1

Apologies if I'm doing something stupid here (likely)!

Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20121119/cf958795/attachment.html>


More information about the yt-dev mailing list