[yt-users] install error

Elizabeth Tasker tasker at astro1.sci.hokudai.ac.jp
Thu Jul 12 21:55:03 PDT 2012


Hi,

We've had some problems installing yt via the install script.

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:



cythonc:> yt/utilities/lib/PointsInVolume.c
building extension "yt.utilities.lib.QuadTree" sources
cythonc:> yt/utilities/lib/QuadTree.c
building extension "yt.utilities.lib.RayIntegrators" sources
cythonc:> yt/utilities/lib/RayIntegrators.c
building extension "yt.utilities.lib.VolumeIntegrator" sources
cythonc:> yt/utilities/lib/VolumeIntegrator.c
building extension "yt.utilities.lib.grid_traversal" sources
cythonc:> yt/utilities/lib/grid_traversal.c

Error compiling Cython file:
------------------------------------------------------------
...
        if im.vd_strides[0] == -1:
            with nogil, parallel(num_threads = num_threads):
                idata = <ImageAccumulator *> malloc(sizeof(ImageAccumulator))
                idata.supp_data = self.supp_data
                v_pos = <np.float64_t *> malloc(3 * sizeof(np.float64_t))
                for j in prange(size, schedule="static",chunksize=1):
                              ^
------------------------------------------------------------

yt/utilities/lib/grid_traversal.pyx:368:31: Invalid keyword argument: chunksize

Error compiling Cython file:
------------------------------------------------------------
...
                idata.supp_data = self.supp_data
                v_pos = <np.float64_t *> malloc(3 * sizeof(np.float64_t))
                v_dir = <np.float64_t *> malloc(3 * sizeof(np.float64_t))
                # If we do not have a simple image plane, we have to cast all
                # our rays 
                for j in prange(size, schedule="dynamic", chunksize=100):
                              ^
------------------------------------------------------------

yt/utilities/lib/grid_traversal.pyx:393:31: Invalid keyword argument: chunksize

Error compiling Cython file:
------------------------------------------------------------
...
        cdef np.float64_t px, py 
        cdef np.float64_t width[3] 
        for i in range(3):
            width[i] = self.width[i]
        if im.vd_strides[0] == -1:
            with nogil, parallel(num_threads = num_threads):
                               ^
------------------------------------------------------------

yt/utilities/lib/grid_traversal.pyx:364:32: Invalid value for num_threads argument, expected an int
error: 3 errors while compiling 'yt/utilities/lib/grid_traversal.pyx' with Cython



Has anyone had a similar experience?

Elizabeth


More information about the yt-users mailing list