[yt-users] yt-dark

Matthew Turk matthewturk at gmail.com
Mon Nov 30 12:55:15 PST 2015


Hi Guido,

I think yt-dark has been deprecated, and all of the functionality
brought into mainline yt.  Can you check that?

On Thu, Nov 26, 2015 at 7:54 AM, Guido granda muñoz
<guidogranda at gmail.com> wrote:
>
> Hello,
>
> I'm trying t install yt-dark and my yt version is 3.2.1 and the error is the
> folllowing:
>
> cythonc:> build/src.linux-x86_64-2.7/yt/utilities/lib/ContourFinding.c
> /home/guidomunoz/yt-x86_64/lib/python2.7/site-packages/Cython-0.22-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:514:
> UserWarning: got unknown compilation option, please remove: language
>   warnings.warn(message)
>
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
>
> cdef ContourID *contour_create(np.int64_t contour_id,
>                                ContourID *prev = ?)
> cdef void contour_delete(ContourID *node)
> cdef ContourID *contour_find(ContourID *node)
> cdef void contour_union(ContourID *node1, ContourID *node2)
>                       ^
> ------------------------------------------------------------
>
> /home/guidomunoz/yt-x86_64/src/yt-hg/yt/utilities/lib/ContourFinding.pxd:55:23:
> Non-extern C function 'contour_union' declared but not defined
>
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
>     np.int64_t join_id
>     CandidateContour *next
>
> cdef ContourID *contour_create(np.int64_t contour_id,
>                                ContourID *prev = ?)
> cdef void contour_delete(ContourID *node)
>                        ^
> ------------------------------------------------------------
>
> /home/guidomunoz/yt-x86_64/src/yt-hg/yt/utilities/lib/ContourFinding.pxd:53:24:
> Non-extern C function 'contour_delete' declared but not defined
>
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
> cdef ContourID *contour_find(ContourID *node)
> cdef void contour_union(ContourID *node1, ContourID *node2)
> cdef int candidate_contains(CandidateContour *first,
>                             np.int64_t contour_id,
>                             np.int64_t join_id = ?)
> cdef CandidateContour *candidate_add(CandidateContour *first,
>                      ^
> ------------------------------------------------------------
>
> /home/guidomunoz/yt-x86_64/src/yt-hg/yt/utilities/lib/ContourFinding.pxd:59:22:
> Non-extern C function 'candidate_add' declared but not defined
>
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
> cdef ContourID *contour_create(np.int64_t contour_id,
>                                ContourID *prev = ?)
> cdef void contour_delete(ContourID *node)
> cdef ContourID *contour_find(ContourID *node)
> cdef void contour_union(ContourID *node1, ContourID *node2)
> cdef int candidate_contains(CandidateContour *first,
>                           ^
> ------------------------------------------------------------
>
> /home/guidomunoz/yt-x86_64/src/yt-hg/yt/utilities/lib/ContourFinding.pxd:56:27:
> Non-extern C function 'candidate_contains' declared but not defined
>
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
>     CandidateContour *next
>
> cdef ContourID *contour_create(np.int64_t contour_id,
>                                ContourID *prev = ?)
> cdef void contour_delete(ContourID *node)
> cdef ContourID *contour_find(ContourID *node)
>               ^
> ------------------------------------------------------------
>
> /home/guidomunoz/yt-x86_64/src/yt-hg/yt/utilities/lib/ContourFinding.pxd:54:15:
> Non-extern C function 'contour_find' declared but not defined
>
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
> cdef struct CandidateContour:
>     np.int64_t contour_id
>     np.int64_t join_id
>     CandidateContour *next
>
> cdef ContourID *contour_create(np.int64_t contour_id,
>               ^
> ------------------------------------------------------------
>
> /home/guidomunoz/yt-x86_64/src/yt-hg/yt/utilities/lib/ContourFinding.pxd:51:15:
> Non-extern C function 'contour_create' declared but not defined
> error: 6 errors while compiling 'yt/utilities/lib/ContourFinding.pyx' with
> Cython
>
>
> How Can I solve it?
>
> Thanks,
>
> --
> Guido
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list