yt update problem (ramses?)
Hi, I just tried updating to the latest version of yt [173a08b2e892 (yt) tip] on triton, but I'm getting: cythonc:> build/src.linux-x86_64-2.6/yt/frontends/ramses/_ramses_reader.cpp Error converting Pyrex file to C: ------------------------------------------------------------ ... tr[0,i] = self.left_edge[i] tr[1,i] = self.right_edge[i] tr[2,i] = self.dimensions[i] return tr @cython.cdivision ^ ------------------------------------------------------------ /home/molly-ucla/yt-x86_64/src/yt-hg/yt/frontends/ramses/_ramses_reader.pyx:865:0: Cdef functions cannot take arbitrary decorators. error: 1 errors while compiling 'yt/frontends/ramses/_ramses_reader.pyx' with Cython Any ideas what I need to do? Thanks, --Molly
Hi Molly, This looks like a Cython problem. Try upgrading that: pip install -U cython (or maybe Cython, I forget now.) and then re-running the yt instinfo command. The error is actually because Cython doesn't recognize the decorator, which is very odd since Cython has had it for quite some time. -Matt On Tue, May 24, 2011 at 7:50 PM, Molly Peeples <molly@astro.ucla.edu> wrote:
Hi,
I just tried updating to the latest version of yt [173a08b2e892 (yt) tip] on triton, but I'm getting: cythonc:> build/src.linux-x86_64-2.6/yt/frontends/ramses/_ramses_reader.cpp
Error converting Pyrex file to C: ------------------------------------------------------------ ... tr[0,i] = self.left_edge[i] tr[1,i] = self.right_edge[i] tr[2,i] = self.dimensions[i] return tr
@cython.cdivision ^ ------------------------------------------------------------
/home/molly-ucla/yt-x86_64/src/yt-hg/yt/frontends/ramses/_ramses_reader.pyx:865:0: Cdef functions cannot take arbitrary decorators. error: 1 errors while compiling 'yt/frontends/ramses/_ramses_reader.pyx' with Cython
Any ideas what I need to do?
Thanks, --Molly _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
That did it; thanks! -- On Tue, May 24, 2011 at 6:53 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi Molly,
This looks like a Cython problem. Try upgrading that:
pip install -U cython
(or maybe Cython, I forget now.)
and then re-running the yt instinfo command. The error is actually because Cython doesn't recognize the decorator, which is very odd since Cython has had it for quite some time.
-Matt
On Tue, May 24, 2011 at 7:50 PM, Molly Peeples <molly@astro.ucla.edu> wrote:
Hi,
I just tried updating to the latest version of yt [173a08b2e892 (yt) tip] on triton, but I'm getting: cythonc:> build/src.linux-x86_64-2.6/yt/frontends/ramses/_ramses_reader.cpp
Error converting Pyrex file to C: ------------------------------------------------------------ ... tr[0,i] = self.left_edge[i] tr[1,i] = self.right_edge[i] tr[2,i] = self.dimensions[i] return tr
@cython.cdivision ^ ------------------------------------------------------------
/home/molly-ucla/yt-x86_64/src/yt-hg/yt/frontends/ramses/_ramses_reader.pyx:865:0: Cdef functions cannot take arbitrary decorators. error: 1 errors while compiling 'yt/frontends/ramses/_ramses_reader.pyx' with Cython
Any ideas what I need to do?
Thanks, --Molly _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Matthew Turk -
Molly Peeples