Created
June 8, 2017 06:19
-
-
Save wkentaro/cb01ad14e1702f9c34165e5c16a7ed9b to your computer and use it in GitHub Desktop.
cupy 1.0.0.1 install failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collecting cupy | |
1 location(s) to search for versions of cupy: | |
* https://pypi.python.org/simple/cupy/ | |
Getting page https://pypi.python.org/simple/cupy/ | |
Starting new HTTPS connection (1): pypi.python.org | |
"GET /simple/cupy/ HTTP/1.1" 200 372 | |
Analyzing links from page https://pypi.python.org/simple/cupy/ | |
Found link https://pypi.python.org/packages/3d/42/662cab10a52b6dfe77cdae53fe533ccd16f01d5d4113a3b0b958b496443f/cupy-1.0.0.1.tar.gz#md5=134d0f89e61deb8e21bba05615f8cfe8 (from https://pypi.python.org/simple/cupy/), version: 1.0.0.1 | |
Found link https://pypi.python.org/packages/4f/ee/0209b0288d43cb277715c9fbd91cd232e5f7f07895c78e9e75a9d6ad25ec/cupy-1.0.0b1.tar.gz#md5=197ff55ef415bf0260435c61db1e3915 (from https://pypi.python.org/simple/cupy/), version: 1.0.0b1 | |
Found link https://pypi.python.org/packages/79/e5/c7febd2964bf5e319423045e440ef43ad3aad2dcbe347854e1ad6cc6485a/cupy-1.0.0a1.tar.gz#md5=c3c2647aa825f5f5cf538f3fe02c9bd4 (from https://pypi.python.org/simple/cupy/), version: 1.0.0a1 | |
Using version 1.0.0.1 (newest of versions: 1.0.0.1) | |
"GET /packages/3d/42/662cab10a52b6dfe77cdae53fe533ccd16f01d5d4113a3b0b958b496443f/cupy-1.0.0.1.tar.gz HTTP/1.1" 200 1302575 | |
Downloading cupy-1.0.0.1.tar.gz (1.3MB) | |
Downloading from URL https://pypi.python.org/packages/3d/42/662cab10a52b6dfe77cdae53fe533ccd16f01d5d4113a3b0b958b496443f/cupy-1.0.0.1.tar.gz#md5=134d0f89e61deb8e21bba05615f8cfe8 (from https://pypi.python.org/simple/cupy/) | |
Running setup.py (path:/tmp/pip-build-FFofxs/cupy/setup.py) egg_info for package cupy | |
Running command python setup.py egg_info | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
/tmp/tmpMv3spg/a.cpp:1:18: fatal error: nccl.h: No such file or directory | |
#include <nccl.h> | |
^ | |
compilation terminated. | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
Options: {'profile': False, 'annotate': False, 'linetrace': False, 'no_cuda': False} | |
************************************************** | |
*** WARNING: nvcc not in path. | |
*** WARNING: Please set path to nvcc. | |
************************************************** | |
Include directories: ['/usr/local/cuda/include'] | |
Library directories: ['/usr/local/cuda/lib64'] | |
Include directories: ['/usr/local/cuda/include'] | |
Library directories: ['/usr/local/cuda/lib64'] | |
Include directories: ['/usr/local/cuda/include'] | |
Library directories: ['/usr/local/cuda/lib64'] | |
command 'x86_64-linux-gnu-gcc' failed with exit status 1 | |
************************************************** | |
*** WARNING: Include files not found: ['nccl.h'] | |
*** WARNING: Skip installing nccl support | |
*** WARNING: Check your CFLAGS environment variable | |
************************************************** | |
Include directories: ['/usr/local/cuda/include'] | |
Library directories: ['/usr/local/cuda/lib64'] | |
Include directories: ['/usr/local/cuda/include'] | |
Library directories: ['/usr/local/cuda/lib64'] | |
running egg_info | |
creating pip-egg-info/cupy.egg-info | |
writing requirements to pip-egg-info/cupy.egg-info/requires.txt | |
writing pip-egg-info/cupy.egg-info/PKG-INFO | |
writing top-level names to pip-egg-info/cupy.egg-info/top_level.txt | |
writing dependency_links to pip-egg-info/cupy.egg-info/dependency_links.txt | |
writing manifest file 'pip-egg-info/cupy.egg-info/SOURCES.txt' | |
reading manifest file 'pip-egg-info/cupy.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
writing manifest file 'pip-egg-info/cupy.egg-info/SOURCES.txt' | |
Source in /tmp/pip-build-FFofxs/cupy has version 1.0.0.1, which satisfies requirement cupy from https://pypi.python.org/packages/3d/42/662cab10a52b6dfe77cdae53fe533ccd16f01d5d4113a3b0b958b496443f/cupy-1.0.0.1.tar.gz#md5=134d0f89e61deb8e21bba05615f8cfe8 | |
Requirement already satisfied: nose in /usr/local/lib/python2.7/dist-packages (from cupy) | |
Requirement already satisfied: numpy>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from cupy) | |
Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from cupy) | |
Installing collected packages: cupy | |
Running setup.py install for cupy: started | |
Running command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-FFofxs/cupy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-0oSWof-record/install-record.txt --single-version-externally-managed --compile | |
Options: {'profile': False, 'annotate': False, 'linetrace': False, 'no_cuda': False} | |
************************************************** | |
*** WARNING: nvcc not in path. | |
*** WARNING: Please set path to nvcc. | |
************************************************** | |
Include directories: ['/usr/local/cuda/include'] | |
Library directories: ['/usr/local/cuda/lib64'] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
Include directories: ['/usr/local/cuda/include'] | |
Library directories: ['/usr/local/cuda/lib64'] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
Include directories: ['/usr/local/cuda/include'] | |
Library directories: ['/usr/local/cuda/lib64'] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
/tmp/tmpe5OL3s/a.cpp:1:18: fatal error: nccl.h: No such file or directory | |
#include <nccl.h> | |
^ | |
compilation terminated. | |
command 'x86_64-linux-gnu-gcc' failed with exit status 1 | |
************************************************** | |
*** WARNING: Include files not found: ['nccl.h'] | |
*** WARNING: Skip installing nccl support | |
*** WARNING: Check your CFLAGS environment variable | |
************************************************** | |
Include directories: ['/usr/local/cuda/include'] | |
Library directories: ['/usr/local/cuda/lib64'] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
Include directories: ['/usr/local/cuda/include'] | |
Library directories: ['/usr/local/cuda/lib64'] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
running install | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-x86_64-2.7 | |
creating build/lib.linux-x86_64-2.7/cupy | |
copying cupy/__init__.py -> build/lib.linux-x86_64-2.7/cupy | |
copying cupy/cudnn.py -> build/lib.linux-x86_64-2.7/cupy | |
copying cupy/internal.py -> build/lib.linux-x86_64-2.7/cupy | |
creating build/lib.linux-x86_64-2.7/cupy/binary | |
copying cupy/binary/__init__.py -> build/lib.linux-x86_64-2.7/cupy/binary | |
copying cupy/binary/elementwise.py -> build/lib.linux-x86_64-2.7/cupy/binary | |
copying cupy/binary/packing.py -> build/lib.linux-x86_64-2.7/cupy/binary | |
creating build/lib.linux-x86_64-2.7/cupy/core | |
copying cupy/core/__init__.py -> build/lib.linux-x86_64-2.7/cupy/core | |
copying cupy/core/fusion.py -> build/lib.linux-x86_64-2.7/cupy/core | |
creating build/lib.linux-x86_64-2.7/cupy/creation | |
copying cupy/creation/__init__.py -> build/lib.linux-x86_64-2.7/cupy/creation | |
copying cupy/creation/basic.py -> build/lib.linux-x86_64-2.7/cupy/creation | |
copying cupy/creation/matrix.py -> build/lib.linux-x86_64-2.7/cupy/creation | |
copying cupy/creation/from_data.py -> build/lib.linux-x86_64-2.7/cupy/creation | |
copying cupy/creation/ranges.py -> build/lib.linux-x86_64-2.7/cupy/creation | |
creating build/lib.linux-x86_64-2.7/cupy/cuda | |
copying cupy/cuda/__init__.py -> build/lib.linux-x86_64-2.7/cupy/cuda | |
copying cupy/cuda/compiler.py -> build/lib.linux-x86_64-2.7/cupy/cuda | |
copying cupy/cuda/stream.py -> build/lib.linux-x86_64-2.7/cupy/cuda | |
creating build/lib.linux-x86_64-2.7/cupy/ext | |
copying cupy/ext/__init__.py -> build/lib.linux-x86_64-2.7/cupy/ext | |
copying cupy/ext/scatter.py -> build/lib.linux-x86_64-2.7/cupy/ext | |
creating build/lib.linux-x86_64-2.7/cupy/indexing | |
copying cupy/indexing/__init__.py -> build/lib.linux-x86_64-2.7/cupy/indexing | |
copying cupy/indexing/indexing.py -> build/lib.linux-x86_64-2.7/cupy/indexing | |
copying cupy/indexing/insert.py -> build/lib.linux-x86_64-2.7/cupy/indexing | |
copying cupy/indexing/generate.py -> build/lib.linux-x86_64-2.7/cupy/indexing | |
creating build/lib.linux-x86_64-2.7/cupy/io | |
copying cupy/io/__init__.py -> build/lib.linux-x86_64-2.7/cupy/io | |
copying cupy/io/rawfile.py -> build/lib.linux-x86_64-2.7/cupy/io | |
copying cupy/io/npz.py -> build/lib.linux-x86_64-2.7/cupy/io | |
copying cupy/io/formatting.py -> build/lib.linux-x86_64-2.7/cupy/io | |
copying cupy/io/text.py -> build/lib.linux-x86_64-2.7/cupy/io | |
creating build/lib.linux-x86_64-2.7/cupy/linalg | |
copying cupy/linalg/__init__.py -> build/lib.linux-x86_64-2.7/cupy/linalg | |
copying cupy/linalg/solve.py -> build/lib.linux-x86_64-2.7/cupy/linalg | |
copying cupy/linalg/eigenvalue.py -> build/lib.linux-x86_64-2.7/cupy/linalg | |
copying cupy/linalg/decomposition.py -> build/lib.linux-x86_64-2.7/cupy/linalg | |
copying cupy/linalg/norms.py -> build/lib.linux-x86_64-2.7/cupy/linalg | |
copying cupy/linalg/product.py -> build/lib.linux-x86_64-2.7/cupy/linalg | |
creating build/lib.linux-x86_64-2.7/cupy/logic | |
copying cupy/logic/__init__.py -> build/lib.linux-x86_64-2.7/cupy/logic | |
copying cupy/logic/content.py -> build/lib.linux-x86_64-2.7/cupy/logic | |
copying cupy/logic/comparison.py -> build/lib.linux-x86_64-2.7/cupy/logic | |
copying cupy/logic/truth.py -> build/lib.linux-x86_64-2.7/cupy/logic | |
copying cupy/logic/ops.py -> build/lib.linux-x86_64-2.7/cupy/logic | |
copying cupy/logic/type_test.py -> build/lib.linux-x86_64-2.7/cupy/logic | |
creating build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/__init__.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/shape.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/join.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/kind.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/rearrange.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/split.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/dims.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/basic.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/add_remove.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/transpose.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
copying cupy/manipulation/tiling.py -> build/lib.linux-x86_64-2.7/cupy/manipulation | |
creating build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/sumprod.py -> build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/__init__.py -> build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/arithmetic.py -> build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/ufunc.py -> build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/rounding.py -> build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/hyperbolic.py -> build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/special.py -> build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/trigonometric.py -> build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/floating.py -> build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/explog.py -> build/lib.linux-x86_64-2.7/cupy/math | |
copying cupy/math/misc.py -> build/lib.linux-x86_64-2.7/cupy/math | |
creating build/lib.linux-x86_64-2.7/cupy/padding | |
copying cupy/padding/__init__.py -> build/lib.linux-x86_64-2.7/cupy/padding | |
copying cupy/padding/pad.py -> build/lib.linux-x86_64-2.7/cupy/padding | |
creating build/lib.linux-x86_64-2.7/cupy/prof | |
copying cupy/prof/__init__.py -> build/lib.linux-x86_64-2.7/cupy/prof | |
copying cupy/prof/time_range.py -> build/lib.linux-x86_64-2.7/cupy/prof | |
creating build/lib.linux-x86_64-2.7/cupy/random | |
copying cupy/random/__init__.py -> build/lib.linux-x86_64-2.7/cupy/random | |
copying cupy/random/sample.py -> build/lib.linux-x86_64-2.7/cupy/random | |
copying cupy/random/permutations.py -> build/lib.linux-x86_64-2.7/cupy/random | |
copying cupy/random/distributions.py -> build/lib.linux-x86_64-2.7/cupy/random | |
copying cupy/random/generator.py -> build/lib.linux-x86_64-2.7/cupy/random | |
creating build/lib.linux-x86_64-2.7/cupy/sorting | |
copying cupy/sorting/__init__.py -> build/lib.linux-x86_64-2.7/cupy/sorting | |
copying cupy/sorting/count.py -> build/lib.linux-x86_64-2.7/cupy/sorting | |
copying cupy/sorting/search.py -> build/lib.linux-x86_64-2.7/cupy/sorting | |
copying cupy/sorting/sort.py -> build/lib.linux-x86_64-2.7/cupy/sorting | |
creating build/lib.linux-x86_64-2.7/cupy/statistics | |
copying cupy/statistics/__init__.py -> build/lib.linux-x86_64-2.7/cupy/statistics | |
copying cupy/statistics/order.py -> build/lib.linux-x86_64-2.7/cupy/statistics | |
copying cupy/statistics/meanvar.py -> build/lib.linux-x86_64-2.7/cupy/statistics | |
copying cupy/statistics/correlation.py -> build/lib.linux-x86_64-2.7/cupy/statistics | |
copying cupy/statistics/histogram.py -> build/lib.linux-x86_64-2.7/cupy/statistics | |
creating build/lib.linux-x86_64-2.7/cupy/testing | |
copying cupy/testing/__init__.py -> build/lib.linux-x86_64-2.7/cupy/testing | |
copying cupy/testing/attr.py -> build/lib.linux-x86_64-2.7/cupy/testing | |
copying cupy/testing/helper.py -> build/lib.linux-x86_64-2.7/cupy/testing | |
copying cupy/testing/hypothesis.py -> build/lib.linux-x86_64-2.7/cupy/testing | |
copying cupy/testing/parameterized.py -> build/lib.linux-x86_64-2.7/cupy/testing | |
copying cupy/testing/condition.py -> build/lib.linux-x86_64-2.7/cupy/testing | |
copying cupy/testing/array.py -> build/lib.linux-x86_64-2.7/cupy/testing | |
copying cupy/core/carray.cuh -> build/lib.linux-x86_64-2.7/cupy/core | |
copying cupy/cuda/cupy_thrust.cu -> build/lib.linux-x86_64-2.7/cupy/cuda | |
running build_ext | |
building 'cupy.core.core' extension | |
creating build/temp.linux-x86_64-2.7 | |
creating build/temp.linux-x86_64-2.7/cupy | |
creating build/temp.linux-x86_64-2.7/cupy/core | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/core/core.cpp -o build/temp.linux-x86_64-2.7/cupy/core/core.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cupy/core/core.cpp: In function ‘std::vector<long unsigned int> __pyx_convert_vector_from_py_size_t(PyObject*)’: | |
cupy/core/core.cpp:83654:81: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
__pyx_t_5 = __Pyx_PyInt_As_size_t(__pyx_v_item); if (unlikely(__pyx_t_5 == -1L && PyErr_Occurred())) __PYX_ERR(5, 52, __pyx_L1_error) | |
^ | |
cupy/core/core.cpp:665:43: note: in definition of macro ‘unlikely’ | |
#define unlikely(x) __builtin_expect(!!(x), 0) | |
^ | |
cupy/core/core.cpp: In function ‘PyObject* _ZL37__pyx_f_4cupy_4core_4core__scatter_opP35__pyx_obj_4cupy_4core_4core_ndarrayP7_objectS2_S2_i.isra.315(__pyx_obj_4cupy_4core_4core_ndarray*, PyObject*, PyObject*, PyObject*)’: | |
cupy/core/core.cpp:70928:182: warning: ‘__pyx_v_mask_i’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
__pyx_t_12 = __pyx_f_4cupy_4core_4core__scatter_op_mask_single(__pyx_v_a, ((struct __pyx_obj_4cupy_4core_4core_ndarray *)__pyx_t_7), __pyx_v_value, __pyx_v_mask_i, __pyx_v_op, 0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 2725, __pyx_L1_error) | |
^ | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/core/core.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/core/core.so | |
building 'cupy.core.flags' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/core/flags.cpp -o build/temp.linux-x86_64-2.7/cupy/core/flags.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/core/flags.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/core/flags.so | |
building 'cupy.core.internal' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/core/internal.cpp -o build/temp.linux-x86_64-2.7/cupy/core/internal.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/core/internal.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/core/internal.so | |
building 'cupy.cuda.cublas' extension | |
creating build/temp.linux-x86_64-2.7/cupy/cuda | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/cublas.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/cublas.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/cublas.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/cuda/cublas.so | |
building 'cupy.cuda.curand' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/curand.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/curand.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/curand.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/cuda/curand.so | |
building 'cupy.cuda.device' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/device.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/device.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/device.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/cuda/device.so | |
building 'cupy.cuda.driver' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/driver.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/driver.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/driver.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/cuda/driver.so | |
building 'cupy.cuda.memory' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/memory.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/memory.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/memory.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/cuda/memory.so | |
building 'cupy.cuda.pinned_memory' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/pinned_memory.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/pinned_memory.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/pinned_memory.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/cuda/pinned_memory.so | |
building 'cupy.cuda.profiler' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/profiler.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/profiler.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/profiler.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/cuda/profiler.so | |
building 'cupy.cuda.nvtx' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/nvtx.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/nvtx.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/nvtx.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/cuda/nvtx.so | |
building 'cupy.cuda.function' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/function.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/function.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
cupy/cuda/function.cpp:5465:18: warning: ‘PyObject* __pyx_convert_vector_to_py_Py_ssize_t(const std::vector<long int>&)’ defined but not used [-Wunused-function] | |
static PyObject *__pyx_convert_vector_to_py_Py_ssize_t(const std::vector<Py_ssize_t> &__pyx_v_v) { | |
^ | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/function.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/cuda/function.so | |
building 'cupy.cuda.runtime' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/runtime.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/runtime.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/runtime.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/cuda/runtime.so | |
building 'cupy.util' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/util.cpp -o build/temp.linux-x86_64-2.7/cupy/util.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/util.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -lcurand -lnvToolsExt -o build/lib.linux-x86_64-2.7/cupy/util.so | |
building 'cupy.cuda.cudnn' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/cudnn.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/cudnn.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/cudnn.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcudnn -o build/lib.linux-x86_64-2.7/cupy/cuda/cudnn.so | |
building 'cupy.cuda.cusolver' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda/include -I/usr/include/python2.7 -c cupy/cuda/cusolver.cpp -o build/temp.linux-x86_64-2.7/cupy/cuda/cusolver.o | |
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] | |
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/cupy/cuda/cusolver.o -L/usr/local/cuda/lib64 -Wl,-R/usr/local/cuda/lib64 -lcusolver -o build/lib.linux-x86_64-2.7/cupy/cuda/cusolver.so -fopenmp | |
building 'cupy.cuda.thrust' extension | |
error: unknown file type '.cu' (from 'cupy/cuda/cupy_thrust.cu') | |
Running setup.py install for cupy: finished with status 'error' | |
Cleaning up... | |
Removing source in /tmp/pip-build-FFofxs/cupy | |
Exception information: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main | |
status = self.run(options, args) | |
File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 342, in run | |
prefix=options.prefix_path, | |
File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 784, in install | |
**kwargs | |
File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 878, in install | |
spinner=spinner, | |
File "/usr/local/lib/python2.7/dist-packages/pip/utils/__init__.py", line 707, in call_subprocess | |
% (command_desc, proc.returncode, cwd)) | |
InstallationError: Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-FFofxs/cupy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-0oSWof-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-FFofxs/cupy/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment