<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Matt,<div>  thanks!  I'll try to keep up on dependency changes in the future.</div><div><br></div><div>cheers,</div><div><br></div><div>Eric<br><div><div>On Jul 25, 2012, at 10:22 AM, Matthew Turk wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>Hi Eric, </p><p>We recently upgraded our dependency on Cython to 0.16. This error should be fixable if you run:</p><p>pip install -U cython</p><p>-Matt</p>
<div class="gmail_quote">On Jul 25, 2012 10:16 AM, "Eric Hallman" <<a href="mailto:hallman@txcorp.com">hallman@txcorp.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am getting a cython error in the latest checkout of yt.<br>
<br>
parent: 6116:e62a6e4015c5 tip<br>
 Fixing scaling of data->pixels in the callbacks.<br>
branch: yt<br>
<br>
I pulled changes and did setup.py build, and I get this.  True with a clean build as well.:<br>
<br>
building extension "yt.utilities.lib.grid_traversal" sources<br>
cythonc:> build/src.macosx-10.4-x86_64-2.7/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>
Eric Hallman<br>
Tech-X Corporation               <a href="mailto:hallman@txcorp.com">hallman@txcorp.com</a><br>
5621 Arapahoe Ave, Suite A       Phone: <a href="tel:%28720%29%20254-5833" value="+17202545833">(720) 254-5833</a><br>
Boulder, CO 80303                Fax:   <a href="tel:%28303%29%20448-7756" value="+13034487756">(303) 448-7756</a><br>
--<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</blockquote></div>
_______________________________________________<br>yt-dev mailing list<br><a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org<br></blockquote></div><br></div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>-- <br>Eric Hallman<br>Tech-X Corporation               <a href="mailto:hallman@txcorp.com">hallman@txcorp.com</a><br>5621 Arapahoe Ave, Suite A       Phone: (720) 254-5833<br>Boulder, CO 80303                Fax:   (303) 448-7756<br>--</div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>