<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Andrew,<div><br></div><div>We ran the install script from scratch, so I assume it would have installed the version of cython it needed?</div><div><br></div><div>Elizabeth</div><div><br></div><div><br><div><div>On Jul 13, 2012, at 1:59 PM, Andrew Myers wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Elizabeth,<br><br>I saw errors like this when I tried to use an older version of Cython. Are you sure that you're using version 0.16? <br><br>-Andrew M<br><br><div class="gmail_quote">On Thu, Jul 12, 2012 at 9:55 PM, Elizabeth Tasker <span dir="ltr"><<a href="mailto:tasker@astro1.sci.hokudai.ac.jp" target="_blank">tasker@astro1.sci.hokudai.ac.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
We've had some problems installing yt via the install script.<br>
<br>
Initially it did not download distribute, which we did by hand. Then, it couldn't get pip, so I commented that line out and now it's died on cython with:<br>
<br>
<br>
<br>
cythonc:> yt/utilities/lib/PointsInVolume.c<br>
building extension "yt.utilities.lib.QuadTree" sources<br>
cythonc:> yt/utilities/lib/QuadTree.c<br>
building extension "yt.utilities.lib.RayIntegrators" sources<br>
cythonc:> yt/utilities/lib/RayIntegrators.c<br>
building extension "yt.utilities.lib.VolumeIntegrator" sources<br>
cythonc:> yt/utilities/lib/VolumeIntegrator.c<br>
building extension "yt.utilities.lib.grid_traversal" sources<br>
cythonc:> yt/utilities/lib/grid_traversal.c<br>
<br>
Error compiling Cython file:<br>
------------------------------------------------------------<br>
...<br>
        if im.vd_strides[0] == -1:<br>
            with nogil, parallel(num_threads = num_threads):<br>
                idata = <ImageAccumulator *> malloc(sizeof(ImageAccumulator))<br>
                idata.supp_data = self.supp_data<br>
                v_pos = <np.float64_t *> malloc(3 * sizeof(np.float64_t))<br>
                for j in prange(size, schedule="static",chunksize=1):<br>
                              ^<br>
------------------------------------------------------------<br>
<br>
yt/utilities/lib/grid_traversal.pyx:368:31: Invalid keyword argument: chunksize<br>
<br>
Error compiling Cython file:<br>
------------------------------------------------------------<br>
...<br>
                idata.supp_data = self.supp_data<br>
                v_pos = <np.float64_t *> malloc(3 * sizeof(np.float64_t))<br>
                v_dir = <np.float64_t *> malloc(3 * sizeof(np.float64_t))<br>
                # If we do not have a simple image plane, we have to cast all<br>
                # our rays<br>
                for j in prange(size, schedule="dynamic", chunksize=100):<br>
                              ^<br>
------------------------------------------------------------<br>
<br>
yt/utilities/lib/grid_traversal.pyx:393:31: Invalid keyword argument: chunksize<br>
<br>
Error compiling Cython file:<br>
------------------------------------------------------------<br>
...<br>
        cdef np.float64_t px, py<br>
        cdef np.float64_t width[3]<br>
        for i in range(3):<br>
            width[i] = self.width[i]<br>
        if im.vd_strides[0] == -1:<br>
            with nogil, parallel(num_threads = num_threads):<br>
                               ^<br>
------------------------------------------------------------<br>
<br>
yt/utilities/lib/grid_traversal.pyx:364:32: Invalid value for num_threads argument, expected an int<br>
error: 3 errors while compiling 'yt/utilities/lib/grid_traversal.pyx' with Cython<br>
<br>
<br>
<br>
Has anyone had a similar experience?<br>
<br>
Elizabeth<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br>
_______________________________________________<br>yt-users mailing list<br><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br></blockquote></div><br></div></body></html>