You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Cython has recently changed its language_level default from Py2 to Py3 (cython/cython#2796), I get the following compile error:
file:/vol/famula/nightly/lib/python2.7/site-packages/Cython-3.0a0-py2.7-linux-x86_64.egg/Cython/Compiler/Main.py:366: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /media/local/jenkins/jobs/libgpuarray-master-ci-deploy-lsp-famula-nightly/workspace/pygpu/collectives.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
try:
if is_c_cont:
# Smallest in index dimension has the largest stride
if src.ga.dimensions[0] % gpucount == 0:
chosen_dim_size = src.ga.dimensions[0] / gpucount
^
------------------------------------------------------------
pygpu/collectives.pyx:394:55: Cannot assign type 'double' to 'size_t'
Error compiling Cython file:
------------------------------------------------------------
...
else:
raise TypeError, "Source GpuArray cannot be split in %d c-contiguous arrays" % (gpucount)
else:
# Largest in index dimension has the largest stride
if src.ga.dimensions[nd - 1] % gpucount == 0:
chosen_dim_size = src.ga.dimensions[nd - 1] / gpucount
^
------------------------------------------------------------
pygpu/collectives.pyx:408:60: Cannot assign type 'double' to 'size_t'
Do I need to pass the language_level (Py2) from the command line? Shouldn't that be extracted from the python executable that is running the install procedure?
The text was updated successfully, but these errors were encountered:
Since Cython has recently changed its
language_level
default from Py2 to Py3 (cython/cython#2796), I get the following compile error:Do I need to pass the language_level (Py2) from the command line? Shouldn't that be extracted from the python executable that is running the install procedure?
The text was updated successfully, but these errors were encountered: