Chainer 1.6.2 and CUDA toolkit 7.0, "cannot import name core" error

675 views
Skip to first unread message

astu...@gmail.com

unread,
Feb 17, 2016, 9:36:23 AM2/17/16
to Chainer User Group
Hello,

I am having difficulty getting the GPU processing to work in Chainer. I have CUDA 7.0 toolkit and it works with other libraries.

I have the following in my bash, which I got from various issues on the github:

CUDA_PATH=/usr/local/cuda-7.0
export PATH=/usr/local/cuda-7.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib64:$LD_LIBRARY_PATH
CPATH
=$CPATH:/usr/local/cuda-7.0/include
CUDA_INC_DIR
=/usr/local/cuda-7.0/bin:$CUDA_INC_DIR



To reinstall with CUDA I tried 

pip uninstall chainer; pip install chainer -vvvv --no-cache-dir



Chainer installs fine, and CPU works. But when I try to use the GPU I get the error "cannot import name core".

Any suggestions?

Thank you.

Kenta Oono

unread,
Feb 17, 2016, 10:14:11 AM2/17/16
to Chainer User Group, astu...@gmail.com
Hi

Could you give us the install log of Chainer, that is, the result of pip --no-cache-dir install chainer -vvvv?
I suspect CUDA environment is not correctly set up.

Best
Kenta

2016年2月17日水曜日 23時36分23秒 UTC+9 astu...@gmail.com:

astu...@gmail.com

unread,
Feb 17, 2016, 10:27:39 AM2/17/16
to Chainer User Group, astu...@gmail.com
Downloading chainer-1.6.2.1.tar.gz (906kB)
    100% |████████████████████████████████| 909kB 22.3MB/s 
  Running setup.py (path:/tmp/pip-build-_1i6Gb/chainer/setup.py) egg_info for package chainer
    Running command python setup.py egg_info
  Source in /tmp/pip-build-_1i6Gb/chainer has version 1.6.2.1, which satisfies requirement chainer from https://pypi.python.org/packages/source/c/chainer/chainer-1.6.2.1.tar.gz#md5=beea4dcd29440404f2b323cd2b3eed57
Requirement already satisfied (use --upgrade to upgrade): filelock in /home/user/anaconda2/lib/python2.7/site-packages (from chainer)
Requirement already satisfied (use --upgrade to upgrade): nose in /home/user/anaconda2/lib/python2.7/site-packages (from chainer)
Requirement already satisfied (use --upgrade to upgrade): numpy>=1.9.0 in /home/user/anaconda2/lib/python2.7/site-packages (from chainer)
Requirement already satisfied (use --upgrade to upgrade): protobuf in /home/user/.local/lib/python2.7/site-packages (from chainer)
Requirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /home/user/anaconda2/lib/python2.7/site-packages (from chainer)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /home/user/anaconda2/lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg (from protobuf->chainer)
Installing collected packages: chainer
  Running setup.py install for chainer ...     Running command /home/user/anaconda2/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_1i6Gb/chainer/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-XQvYa0-record/install-record.txt --single-version-externally-managed --compile
done
  Removing source in /tmp/pip-build-_1i6Gb/chainer
Successfully installed chainer-1.6.2.1
Cleaning up...


Hello, this is the log.
As far as I can see, it doesn't throw up any errors.

Thank you.

Kenta Oono

unread,
Feb 17, 2016, 7:32:12 PM2/17/16
to Chainer User Group, astu...@gmail.com
Hi

Thank you for sharing the information.

Hmm..., which OS do you use?
If you are installing Chainer on Mac, this discussion can be helpful (although we do not officially support MacOS).

Best
Kenta

2016年2月17日水曜日 23時36分23秒 UTC+9 astu...@gmail.com:
Hello,

astu...@gmail.com

unread,
Feb 18, 2016, 4:57:28 AM2/18/16
to Chainer User Group, astu...@gmail.com
Hi,

Sorry, I should have specified. I'm on Linux. As far as I can tell from nvcc and similar, cuda is working fine.

Thank you.

astu...@gmail.com

unread,
Feb 18, 2016, 10:38:18 AM2/18/16
to Chainer User Group, astu...@gmail.com
Compiling from source, I get more informative information:

**************************************************
*** WARNING: Cannot check CUDA version
**************************************************
Include directories: ['/usr/local/cuda-7.0/include', '/home/user/anaconda2/lib/python2.7/site-packages/numpy/core/include']
Library directories: ['/usr/local/cuda-7.0/lib64', '/usr/local/cuda-7.0/lib']

/usr/local/cuda-7.0/include is the correct directory, so it's really a bit of a mystery to me why the check cuda function is not working. 

Yuya Unno

unread,
Feb 18, 2016, 11:02:44 AM2/18/16
to astu...@gmail.com, Chainer User Group
Humm, this message appears when g++ cannot make a binary or `cuda.h` is not found.

- Do you have g++ ?
- Do you have cuda.h in /usr/local/cuda-7.0/include ?

BTW, i noticed that the latest pip cannot show the whole logs even with -vvvv option:

--
You received this message because you are subscribed to the Google Groups "Chainer User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chainer+u...@googlegroups.com.
To post to this group, send email to cha...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chainer/4402d122-d520-4555-90f0-904ba61162a1%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

astu...@gmail.com

unread,
Feb 18, 2016, 11:09:55 AM2/18/16
to Chainer User Group, astu...@gmail.com
Hi, 

Yes I have g++ and cuda.h. Indeed, when I copy and compile that bit of C code, I have no problem. Thinking it was maybe a problem with g++, I tried using a different version (4.9 instead of 4.6). This indeed removes the issue with running that bit of code to check the version, but importing cupy still returns the error about the core.

Thank you.

Yuya Unno

unread,
Feb 18, 2016, 8:05:27 PM2/18/16
to astu...@gmail.com, Chainer User Group
Did you try to install chainer from the source with gcc 4.9?
Can I check the whole log of the installation? I think it contains an error message of gcc.


astu...@gmail.com

unread,
Feb 19, 2016, 4:55:02 AM2/19/16
to Chainer User Group, astu...@gmail.com
Yes I tried installing from source. It largely works with gcc 4.8 and 4.9, but I do get a few warnings (no errors that I see). The log is below.

(venv)[user@node412 chainer]$ python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to chainer.egg-info/requires.txt
writing chainer.egg-info/PKG-INFO
writing top-level names to chainer.egg-info/top_level.txt
writing dependency_links to chainer.egg-info/dependency_links.txt
Executing cythonize
Options: {'profile': False, 'annotate': False, 'linetrace': False, 'no_cuda': False}
Include directories: ['/usr/local/cuda-7.0/include', '/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include']
Library directories: ['/usr/local/cuda-7.0/lib64', '/usr/local/cuda-7.0/lib']
creating /tmp/tmpQqPICS/tmp
creating /tmp/tmpQqPICS/tmp/tmpQqPICS
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -c /tmp/tmpQqPICS/a.cpp -o /tmp/tmpQqPICS/tmp/tmpQqPICS/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
gcc -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed /tmp/tmpQqPICS/tmp/tmpQqPICS/a.o -o /tmp/tmpQqPICS/liba.so
creating /tmp/tmpEa_8DY/tmp
creating /tmp/tmpEa_8DY/tmp/tmpEa_8DY
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmpEa_8DY/a.cpp -o /tmp/tmpEa_8DY/tmp/tmpEa_8DY/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
gcc -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed /tmp/tmpEa_8DY/tmp/tmpEa_8DY/a.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -o /tmp/tmpEa_8DY/liba.so
creating /tmp/tmp6iksuT/tmp
creating /tmp/tmp6iksuT/tmp/tmp6iksuT
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -c /tmp/tmp6iksuT/a.cpp -o /tmp/tmp6iksuT/tmp/tmp6iksuT/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
gcc -pthread /tmp/tmp6iksuT/tmp/tmp6iksuT/a.o -o /tmp/tmp6iksuT/a
Include directories: ['/usr/local/cuda-7.0/include', '/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include']
Library directories: ['/usr/local/cuda-7.0/lib64', '/usr/local/cuda-7.0/lib']
creating /tmp/tmpt3GRra/tmp
creating /tmp/tmpt3GRra/tmp/tmpt3GRra
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -c /tmp/tmpt3GRra/a.cpp -o /tmp/tmpt3GRra/tmp/tmpt3GRra/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
gcc -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed /tmp/tmpt3GRra/tmp/tmpt3GRra/a.o -o /tmp/tmpt3GRra/liba.so
creating /tmp/tmpslx3gY/tmp
creating /tmp/tmpslx3gY/tmp/tmpslx3gY
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmpslx3gY/a.cpp -o /tmp/tmpslx3gY/tmp/tmpslx3gY/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
gcc -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed /tmp/tmpslx3gY/tmp/tmpslx3gY/a.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -lcudnn -o /tmp/tmpslx3gY/liba.so
creating /tmp/tmp_uf9hc/tmp
creating /tmp/tmp_uf9hc/tmp/tmp_uf9hc
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -c /tmp/tmp_uf9hc/a.cpp -o /tmp/tmp_uf9hc/tmp/tmp_uf9hc/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
gcc -pthread /tmp/tmp_uf9hc/tmp/tmp_uf9hc/a.o -o /tmp/tmp_uf9hc/a
cython path:/home/user/anaconda2/envs/venv/lib/python2.7/site-packages
reading manifest file 'chainer.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'chainer.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
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
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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 ‘__pyx_obj_4cupy_4core_4core_ndarray* __pyx_f_4cupy_4core_4core_7ndarray__transpose(__pyx_obj_4cupy_4core_4core_ndarray*, std::vector<long int>, int)’:
cupy/core/core.cpp:8174:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   __pyx_t_7 = ((__pyx_v_axes.size() != __pyx_v_ndim) != 0);
                                        ^
cupy/core/core.cpp: In function ‘__pyx_obj_4cupy_4core_4core_ndarray* __pyx_f_4cupy_4core_4core_7ndarray_squeeze(__pyx_obj_4cupy_4core_4core_ndarray*, int, __pyx_opt_args_4cupy_4core_4core_7ndarray_squeeze*)’:
cupy/core/core.cpp:9866:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     __pyx_t_7 = ((__pyx_v_j < __pyx_v_vec_axis.size()) != 0);
                                                     ^
cupy/core/core.cpp:9872:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     __pyx_t_7 = ((__pyx_v_i == (__pyx_v_vec_axis[__pyx_v_j])) != 0);
                                                            ^
cupy/core/core.cpp: In function ‘__pyx_obj_4cupy_4core_4core_ndarray* __pyx_f_4cupy_4core_4core_7ndarray_reduced_view(__pyx_obj_4cupy_4core_4core_ndarray*, int, __pyx_opt_args_4cupy_4core_4core_7ndarray_reduced_view*)’:
cupy/core/core.cpp:22591:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   __pyx_t_6 = ((__pyx_v_ndim == __pyx_v_shape.size()) != 0);
                                                    ^
cupy/core/core.cpp: In function ‘PyObject* __pyx_f_4cupy_4core_4core__reduce_dims(PyObject*, PyObject*, PyObject*, int)’:
cupy/core/core.cpp:28361:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (__pyx_t_9 = 0; __pyx_t_9 < __pyx_t_8; __pyx_t_9+=1) {
                                     ^
cupy/core/core.cpp: In function ‘int __pyx_pf_4cupy_4core_4core_9broadcast___init__(__pyx_obj_4cupy_4core_4core_broadcast*, PyObject*)’:
cupy/core/core.cpp:50248:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (((__pyx_t_6 > __pyx_t_7) != 0)) {
                       ^
cupy/core/core.cpp:50331:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (__pyx_t_9 = 0; __pyx_t_9 < __pyx_t_8; __pyx_t_9+=1) {
                                     ^
cupy/core/core.cpp:50341:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       __pyx_t_5 = ((__pyx_v_i < (__pyx_v_shape_arr[__pyx_v_j]).size()) != 0);
                                                                     ^
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/core/core.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/core/core.so
building 'cupy.core.flags' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/core/flags.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/core/flags.so
building 'cupy.core.internal' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
cupy/core/internal.cpp: In function ‘int __pyx_f_4cupy_4core_8internal_vector_equal(std::vector<long int>&, std::vector<long int>&, int)’:
cupy/core/internal.cpp:1525:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   __pyx_t_1 = ((__pyx_v_n != __pyx_v_y.size()) != 0);
                                             ^
cupy/core/internal.cpp: In function ‘void __pyx_f_4cupy_4core_8internal_get_reduced_dims(std::vector<long int>&, std::vector<long int>&, Py_ssize_t, std::vector<long int>&, std::vector<long int>&)’:
cupy/core/internal.cpp:1977:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (__pyx_t_2 = 0; __pyx_t_2 < __pyx_t_4; __pyx_t_2+=1) {
                                   ^
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/core/internal.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -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
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/cuda/cublas.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/cuda/cublas.so
building 'cupy.cuda.curand' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/cuda/curand.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/cuda/curand.so
building 'cupy.cuda.device' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
cupy/cuda/device.cpp: In function ‘PyObject* __pyx_pw_4cupy_4cuda_6device_6Device_17cublas_handle(PyObject*, PyObject*)’:
cupy/cuda/device.cpp:5561:33: warning: ‘__pyx_v_handle’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     return PyInt_FromSize_t(ival);
                                 ^
cupy/cuda/device.cpp:2205:10: note: ‘__pyx_v_handle’ was declared here
   size_t __pyx_v_handle;
          ^
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/cuda/device.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/cuda/device.so
building 'cupy.cuda.driver' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/cuda/driver.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/cuda/driver.so
building 'cupy.cuda.memory' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/cuda/memory.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/cuda/memory.so
building 'cupy.cuda.function' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
In file included from /home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0,
                 from /home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from cupy/cuda/function.cpp:257:
/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^
In file included from /home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0,
                 from /home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from cupy/cuda/function.cpp:257:
/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1634:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
 _import_array(void)
 ^
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/cuda/function.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/cuda/function.so
building 'cupy.cuda.runtime' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/cuda/runtime.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/cuda/runtime.so
building 'cupy.util' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/util.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/util.so
building 'cupy.cuda.cudnn' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda-7.0/include -I/home/user/anaconda2/envs/venv/lib/python2.7/site-packages/numpy/core/include -I/home/user/anaconda2/envs/venv/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]
g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/cuda/cudnn.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcudnn -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/cuda/cudnn.so
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/chainer
copying build/lib.linux-x86_64-2.7/chainer/serializer.py -> build/bdist.linux-x86_64/egg/chainer
copying build/lib.linux-x86_64-2.7/chainer/flag.py -> build/bdist.linux-x86_64/egg/chainer
copying build/lib.linux-x86_64-2.7/chainer/function.py -> build/bdist.linux-x86_64/egg/chainer
copying build/lib.linux-x86_64-2.7/chainer/link.py -> build/bdist.linux-x86_64/egg/chainer
creating build/bdist.linux-x86_64/egg/chainer/links
creating build/bdist.linux-x86_64/egg/chainer/links/caffe
copying build/lib.linux-x86_64-2.7/chainer/links/caffe/caffe_function.py -> build/bdist.linux-x86_64/egg/chainer/links/caffe
copying build/lib.linux-x86_64-2.7/chainer/links/caffe/__init__.py -> build/bdist.linux-x86_64/egg/chainer/links/caffe
copying build/lib.linux-x86_64-2.7/chainer/links/caffe/caffe_pb2.py -> build/bdist.linux-x86_64/egg/chainer/links/caffe
creating build/bdist.linux-x86_64/egg/chainer/links/activation
copying build/lib.linux-x86_64-2.7/chainer/links/activation/prelu.py -> build/bdist.linux-x86_64/egg/chainer/links/activation
copying build/lib.linux-x86_64-2.7/chainer/links/activation/__init__.py -> build/bdist.linux-x86_64/egg/chainer/links/activation
copying build/lib.linux-x86_64-2.7/chainer/links/activation/maxout.py -> build/bdist.linux-x86_64/egg/chainer/links/activation
creating build/bdist.linux-x86_64/egg/chainer/links/normalization
copying build/lib.linux-x86_64-2.7/chainer/links/normalization/batch_normalization.py -> build/bdist.linux-x86_64/egg/chainer/links/normalization
copying build/lib.linux-x86_64-2.7/chainer/links/normalization/__init__.py -> build/bdist.linux-x86_64/egg/chainer/links/normalization
creating build/bdist.linux-x86_64/egg/chainer/links/loss
copying build/lib.linux-x86_64-2.7/chainer/links/loss/negative_sampling.py -> build/bdist.linux-x86_64/egg/chainer/links/loss
copying build/lib.linux-x86_64-2.7/chainer/links/loss/__init__.py -> build/bdist.linux-x86_64/egg/chainer/links/loss
copying build/lib.linux-x86_64-2.7/chainer/links/loss/hierarchical_softmax.py -> build/bdist.linux-x86_64/egg/chainer/links/loss
creating build/bdist.linux-x86_64/egg/chainer/links/model
copying build/lib.linux-x86_64-2.7/chainer/links/model/classifier.py -> build/bdist.linux-x86_64/egg/chainer/links/model
copying build/lib.linux-x86_64-2.7/chainer/links/model/__init__.py -> build/bdist.linux-x86_64/egg/chainer/links/model
copying build/lib.linux-x86_64-2.7/chainer/links/__init__.py -> build/bdist.linux-x86_64/egg/chainer/links
creating build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/deconvolution_2d.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/gru.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/lstm.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/inception.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/linear.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/bilinear.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/convolution_2d.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/embed_id.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/inceptionbn.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/parameter.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/mlp_convolution_2d.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/links/connection/__init__.py -> build/bdist.linux-x86_64/egg/chainer/links/connection
copying build/lib.linux-x86_64-2.7/chainer/optimizer.py -> build/bdist.linux-x86_64/egg/chainer
copying build/lib.linux-x86_64-2.7/chainer/function_set.py -> build/bdist.linux-x86_64/egg/chainer
creating build/bdist.linux-x86_64/egg/chainer/functions
creating build/bdist.linux-x86_64/egg/chainer/functions/caffe
copying build/lib.linux-x86_64-2.7/chainer/functions/caffe/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions/caffe
creating build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/relu.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/clipped_relu.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/lstm.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/elu.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/softmax.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/sigmoid.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/prelu.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/tanh.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/softplus.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/leaky_relu.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
copying build/lib.linux-x86_64-2.7/chainer/functions/activation/maxout.py -> build/bdist.linux-x86_64/egg/chainer/functions/activation
creating build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/reshape.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/select_item.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/broadcast.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/split_axis.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/copy.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/where.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/expand_dims.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/swapaxes.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/concat.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
copying build/lib.linux-x86_64-2.7/chainer/functions/array/transpose.py -> build/bdist.linux-x86_64/egg/chainer/functions/array
creating build/bdist.linux-x86_64/egg/chainer/functions/noise
copying build/lib.linux-x86_64-2.7/chainer/functions/noise/gaussian.py -> build/bdist.linux-x86_64/egg/chainer/functions/noise
copying build/lib.linux-x86_64-2.7/chainer/functions/noise/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions/noise
copying build/lib.linux-x86_64-2.7/chainer/functions/noise/dropout.py -> build/bdist.linux-x86_64/egg/chainer/functions/noise
creating build/bdist.linux-x86_64/egg/chainer/functions/normalization
copying build/lib.linux-x86_64-2.7/chainer/functions/normalization/local_response_normalization.py -> build/bdist.linux-x86_64/egg/chainer/functions/normalization
copying build/lib.linux-x86_64-2.7/chainer/functions/normalization/batch_normalization.py -> build/bdist.linux-x86_64/egg/chainer/functions/normalization
copying build/lib.linux-x86_64-2.7/chainer/functions/normalization/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions/normalization
creating build/bdist.linux-x86_64/egg/chainer/functions/loss
copying build/lib.linux-x86_64-2.7/chainer/functions/loss/mean_squared_error.py -> build/bdist.linux-x86_64/egg/chainer/functions/loss
copying build/lib.linux-x86_64-2.7/chainer/functions/loss/hinge.py -> build/bdist.linux-x86_64/egg/chainer/functions/loss
copying build/lib.linux-x86_64-2.7/chainer/functions/loss/softmax_cross_entropy.py -> build/bdist.linux-x86_64/egg/chainer/functions/loss
copying build/lib.linux-x86_64-2.7/chainer/functions/loss/cross_covariance.py -> build/bdist.linux-x86_64/egg/chainer/functions/loss
copying build/lib.linux-x86_64-2.7/chainer/functions/loss/sigmoid_cross_entropy.py -> build/bdist.linux-x86_64/egg/chainer/functions/loss
copying build/lib.linux-x86_64-2.7/chainer/functions/loss/negative_sampling.py -> build/bdist.linux-x86_64/egg/chainer/functions/loss
copying build/lib.linux-x86_64-2.7/chainer/functions/loss/vae.py -> build/bdist.linux-x86_64/egg/chainer/functions/loss
copying build/lib.linux-x86_64-2.7/chainer/functions/loss/contrastive.py -> build/bdist.linux-x86_64/egg/chainer/functions/loss
copying build/lib.linux-x86_64-2.7/chainer/functions/loss/ctc.py -> build/bdist.linux-x86_64/egg/chainer/functions/loss
copying build/lib.linux-x86_64-2.7/chainer/functions/loss/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions/loss
creating build/bdist.linux-x86_64/egg/chainer/functions/math
copying build/lib.linux-x86_64-2.7/chainer/functions/math/trigonometric.py -> build/bdist.linux-x86_64/egg/chainer/functions/math
copying build/lib.linux-x86_64-2.7/chainer/functions/math/minmax.py -> build/bdist.linux-x86_64/egg/chainer/functions/math
copying build/lib.linux-x86_64-2.7/chainer/functions/math/matmul.py -> build/bdist.linux-x86_64/egg/chainer/functions/math
copying build/lib.linux-x86_64-2.7/chainer/functions/math/identity.py -> build/bdist.linux-x86_64/egg/chainer/functions/math
copying build/lib.linux-x86_64-2.7/chainer/functions/math/sum.py -> build/bdist.linux-x86_64/egg/chainer/functions/math
copying build/lib.linux-x86_64-2.7/chainer/functions/math/exponential.py -> build/bdist.linux-x86_64/egg/chainer/functions/math
copying build/lib.linux-x86_64-2.7/chainer/functions/math/inv.py -> build/bdist.linux-x86_64/egg/chainer/functions/math
copying build/lib.linux-x86_64-2.7/chainer/functions/math/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions/math
copying build/lib.linux-x86_64-2.7/chainer/functions/math/basic_math.py -> build/bdist.linux-x86_64/egg/chainer/functions/math
copying build/lib.linux-x86_64-2.7/chainer/functions/math/batch_l2_norm_squared.py -> build/bdist.linux-x86_64/egg/chainer/functions/math
creating build/bdist.linux-x86_64/egg/chainer/functions/pooling
copying build/lib.linux-x86_64-2.7/chainer/functions/pooling/spatial_pyramid_pooling_2d.py -> build/bdist.linux-x86_64/egg/chainer/functions/pooling
copying build/lib.linux-x86_64-2.7/chainer/functions/pooling/average_pooling_2d.py -> build/bdist.linux-x86_64/egg/chainer/functions/pooling
copying build/lib.linux-x86_64-2.7/chainer/functions/pooling/pooling_2d.py -> build/bdist.linux-x86_64/egg/chainer/functions/pooling
copying build/lib.linux-x86_64-2.7/chainer/functions/pooling/max_pooling_2d.py -> build/bdist.linux-x86_64/egg/chainer/functions/pooling
copying build/lib.linux-x86_64-2.7/chainer/functions/pooling/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions/pooling
copying build/lib.linux-x86_64-2.7/chainer/functions/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions
creating build/bdist.linux-x86_64/egg/chainer/functions/evaluation
copying build/lib.linux-x86_64-2.7/chainer/functions/evaluation/accuracy.py -> build/bdist.linux-x86_64/egg/chainer/functions/evaluation
copying build/lib.linux-x86_64-2.7/chainer/functions/evaluation/binary_accuracy.py -> build/bdist.linux-x86_64/egg/chainer/functions/evaluation
copying build/lib.linux-x86_64-2.7/chainer/functions/evaluation/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions/evaluation
creating build/bdist.linux-x86_64/egg/chainer/functions/connection
copying build/lib.linux-x86_64-2.7/chainer/functions/connection/deconvolution_2d.py -> build/bdist.linux-x86_64/egg/chainer/functions/connection
copying build/lib.linux-x86_64-2.7/chainer/functions/connection/linear.py -> build/bdist.linux-x86_64/egg/chainer/functions/connection
copying build/lib.linux-x86_64-2.7/chainer/functions/connection/bilinear.py -> build/bdist.linux-x86_64/egg/chainer/functions/connection
copying build/lib.linux-x86_64-2.7/chainer/functions/connection/convolution_2d.py -> build/bdist.linux-x86_64/egg/chainer/functions/connection
copying build/lib.linux-x86_64-2.7/chainer/functions/connection/embed_id.py -> build/bdist.linux-x86_64/egg/chainer/functions/connection
copying build/lib.linux-x86_64-2.7/chainer/functions/connection/__init__.py -> build/bdist.linux-x86_64/egg/chainer/functions/connection
copying build/lib.linux-x86_64-2.7/chainer/variable.py -> build/bdist.linux-x86_64/egg/chainer
creating build/bdist.linux-x86_64/egg/chainer/serializers
copying build/lib.linux-x86_64-2.7/chainer/serializers/npz.py -> build/bdist.linux-x86_64/egg/chainer/serializers
copying build/lib.linux-x86_64-2.7/chainer/serializers/hdf5.py -> build/bdist.linux-x86_64/egg/chainer/serializers
copying build/lib.linux-x86_64-2.7/chainer/serializers/__init__.py -> build/bdist.linux-x86_64/egg/chainer/serializers
creating build/bdist.linux-x86_64/egg/chainer/utils
copying build/lib.linux-x86_64-2.7/chainer/utils/conv.py -> build/bdist.linux-x86_64/egg/chainer/utils
copying build/lib.linux-x86_64-2.7/chainer/utils/type_check.py -> build/bdist.linux-x86_64/egg/chainer/utils
copying build/lib.linux-x86_64-2.7/chainer/utils/walker_alias.py -> build/bdist.linux-x86_64/egg/chainer/utils
copying build/lib.linux-x86_64-2.7/chainer/utils/array.py -> build/bdist.linux-x86_64/egg/chainer/utils
copying build/lib.linux-x86_64-2.7/chainer/utils/__init__.py -> build/bdist.linux-x86_64/egg/chainer/utils
copying build/lib.linux-x86_64-2.7/chainer/gradient_check.py -> build/bdist.linux-x86_64/egg/chainer
creating build/bdist.linux-x86_64/egg/chainer/testing
copying build/lib.linux-x86_64-2.7/chainer/testing/attr.py -> build/bdist.linux-x86_64/egg/chainer/testing
copying build/lib.linux-x86_64-2.7/chainer/testing/condition.py -> build/bdist.linux-x86_64/egg/chainer/testing
copying build/lib.linux-x86_64-2.7/chainer/testing/parameterized.py -> build/bdist.linux-x86_64/egg/chainer/testing
copying build/lib.linux-x86_64-2.7/chainer/testing/__init__.py -> build/bdist.linux-x86_64/egg/chainer/testing
copying build/lib.linux-x86_64-2.7/chainer/cuda.py -> build/bdist.linux-x86_64/egg/chainer
copying build/lib.linux-x86_64-2.7/chainer/__init__.py -> build/bdist.linux-x86_64/egg/chainer
creating build/bdist.linux-x86_64/egg/chainer/optimizers
copying build/lib.linux-x86_64-2.7/chainer/optimizers/momentum_sgd.py -> build/bdist.linux-x86_64/egg/chainer/optimizers
copying build/lib.linux-x86_64-2.7/chainer/optimizers/adam.py -> build/bdist.linux-x86_64/egg/chainer/optimizers
copying build/lib.linux-x86_64-2.7/chainer/optimizers/ada_delta.py -> build/bdist.linux-x86_64/egg/chainer/optimizers
copying build/lib.linux-x86_64-2.7/chainer/optimizers/rmsprop_graves.py -> build/bdist.linux-x86_64/egg/chainer/optimizers
copying build/lib.linux-x86_64-2.7/chainer/optimizers/nesterov_ag.py -> build/bdist.linux-x86_64/egg/chainer/optimizers
copying build/lib.linux-x86_64-2.7/chainer/optimizers/sgd.py -> build/bdist.linux-x86_64/egg/chainer/optimizers
copying build/lib.linux-x86_64-2.7/chainer/optimizers/__init__.py -> build/bdist.linux-x86_64/egg/chainer/optimizers
copying build/lib.linux-x86_64-2.7/chainer/optimizers/ada_grad.py -> build/bdist.linux-x86_64/egg/chainer/optimizers
copying build/lib.linux-x86_64-2.7/chainer/optimizers/rmsprop.py -> build/bdist.linux-x86_64/egg/chainer/optimizers
copying build/lib.linux-x86_64-2.7/chainer/computational_graph.py -> build/bdist.linux-x86_64/egg/chainer
creating build/bdist.linux-x86_64/egg/cupy
creating build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/shape.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/dims.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/join.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/tiling.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/rearrange.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/kind.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/split.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/basic.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/add_remove.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/__init__.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
copying build/lib.linux-x86_64-2.7/cupy/manipulation/transpose.py -> build/bdist.linux-x86_64/egg/cupy/manipulation
creating build/bdist.linux-x86_64/egg/cupy/indexing
copying build/lib.linux-x86_64-2.7/cupy/indexing/indexing.py -> build/bdist.linux-x86_64/egg/cupy/indexing
copying build/lib.linux-x86_64-2.7/cupy/indexing/insert.py -> build/bdist.linux-x86_64/egg/cupy/indexing
copying build/lib.linux-x86_64-2.7/cupy/indexing/generate.py -> build/bdist.linux-x86_64/egg/cupy/indexing
copying build/lib.linux-x86_64-2.7/cupy/indexing/__init__.py -> build/bdist.linux-x86_64/egg/cupy/indexing
creating build/bdist.linux-x86_64/egg/cupy/core
copying build/lib.linux-x86_64-2.7/cupy/core/carray.cuh -> build/bdist.linux-x86_64/egg/cupy/core
copying build/lib.linux-x86_64-2.7/cupy/core/internal.so -> build/bdist.linux-x86_64/egg/cupy/core
copying build/lib.linux-x86_64-2.7/cupy/core/flags.so -> build/bdist.linux-x86_64/egg/cupy/core
copying build/lib.linux-x86_64-2.7/cupy/core/__init__.py -> build/bdist.linux-x86_64/egg/cupy/core
copying build/lib.linux-x86_64-2.7/cupy/core/core.so -> build/bdist.linux-x86_64/egg/cupy/core
creating build/bdist.linux-x86_64/egg/cupy/creation
copying build/lib.linux-x86_64-2.7/cupy/creation/ranges.py -> build/bdist.linux-x86_64/egg/cupy/creation
copying build/lib.linux-x86_64-2.7/cupy/creation/from_data.py -> build/bdist.linux-x86_64/egg/cupy/creation
copying build/lib.linux-x86_64-2.7/cupy/creation/basic.py -> build/bdist.linux-x86_64/egg/cupy/creation
copying build/lib.linux-x86_64-2.7/cupy/creation/__init__.py -> build/bdist.linux-x86_64/egg/cupy/creation
copying build/lib.linux-x86_64-2.7/cupy/creation/matrix.py -> build/bdist.linux-x86_64/egg/cupy/creation
creating build/bdist.linux-x86_64/egg/cupy/linalg
copying build/lib.linux-x86_64-2.7/cupy/linalg/eigenvalue.py -> build/bdist.linux-x86_64/egg/cupy/linalg
copying build/lib.linux-x86_64-2.7/cupy/linalg/norm.py -> build/bdist.linux-x86_64/egg/cupy/linalg
copying build/lib.linux-x86_64-2.7/cupy/linalg/product.py -> build/bdist.linux-x86_64/egg/cupy/linalg
copying build/lib.linux-x86_64-2.7/cupy/linalg/decomposition.py -> build/bdist.linux-x86_64/egg/cupy/linalg
copying build/lib.linux-x86_64-2.7/cupy/linalg/solve.py -> build/bdist.linux-x86_64/egg/cupy/linalg
copying build/lib.linux-x86_64-2.7/cupy/linalg/__init__.py -> build/bdist.linux-x86_64/egg/cupy/linalg
creating build/bdist.linux-x86_64/egg/cupy/statistics
copying build/lib.linux-x86_64-2.7/cupy/statistics/order.py -> build/bdist.linux-x86_64/egg/cupy/statistics
copying build/lib.linux-x86_64-2.7/cupy/statistics/histogram.py -> build/bdist.linux-x86_64/egg/cupy/statistics
copying build/lib.linux-x86_64-2.7/cupy/statistics/correlation.py -> build/bdist.linux-x86_64/egg/cupy/statistics
copying build/lib.linux-x86_64-2.7/cupy/statistics/meanvar.py -> build/bdist.linux-x86_64/egg/cupy/statistics
copying build/lib.linux-x86_64-2.7/cupy/statistics/__init__.py -> build/bdist.linux-x86_64/egg/cupy/statistics
creating build/bdist.linux-x86_64/egg/cupy/sorting
copying build/lib.linux-x86_64-2.7/cupy/sorting/sort.py -> build/bdist.linux-x86_64/egg/cupy/sorting
copying build/lib.linux-x86_64-2.7/cupy/sorting/search.py -> build/bdist.linux-x86_64/egg/cupy/sorting
copying build/lib.linux-x86_64-2.7/cupy/sorting/count.py -> build/bdist.linux-x86_64/egg/cupy/sorting
copying build/lib.linux-x86_64-2.7/cupy/sorting/__init__.py -> build/bdist.linux-x86_64/egg/cupy/sorting
creating build/bdist.linux-x86_64/egg/cupy/logic
copying build/lib.linux-x86_64-2.7/cupy/logic/content.py -> build/bdist.linux-x86_64/egg/cupy/logic
copying build/lib.linux-x86_64-2.7/cupy/logic/ops.py -> build/bdist.linux-x86_64/egg/cupy/logic
copying build/lib.linux-x86_64-2.7/cupy/logic/comparison.py -> build/bdist.linux-x86_64/egg/cupy/logic
copying build/lib.linux-x86_64-2.7/cupy/logic/type_test.py -> build/bdist.linux-x86_64/egg/cupy/logic
copying build/lib.linux-x86_64-2.7/cupy/logic/__init__.py -> build/bdist.linux-x86_64/egg/cupy/logic
copying build/lib.linux-x86_64-2.7/cupy/logic/truth.py -> build/bdist.linux-x86_64/egg/cupy/logic
creating build/bdist.linux-x86_64/egg/cupy/random
copying build/lib.linux-x86_64-2.7/cupy/random/distributions.py -> build/bdist.linux-x86_64/egg/cupy/random
copying build/lib.linux-x86_64-2.7/cupy/random/permutations.py -> build/bdist.linux-x86_64/egg/cupy/random
copying build/lib.linux-x86_64-2.7/cupy/random/sample.py -> build/bdist.linux-x86_64/egg/cupy/random
copying build/lib.linux-x86_64-2.7/cupy/random/generator.py -> build/bdist.linux-x86_64/egg/cupy/random
copying build/lib.linux-x86_64-2.7/cupy/random/__init__.py -> build/bdist.linux-x86_64/egg/cupy/random
creating build/bdist.linux-x86_64/egg/cupy/padding
copying build/lib.linux-x86_64-2.7/cupy/padding/__init__.py -> build/bdist.linux-x86_64/egg/cupy/padding
creating build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/trigonometric.py -> build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/rounding.py -> build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/sumprod.py -> build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/hyperbolic.py -> build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/ufunc.py -> build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/floating.py -> build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/special.py -> build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/explog.py -> build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/__init__.py -> build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/misc.py -> build/bdist.linux-x86_64/egg/cupy/math
copying build/lib.linux-x86_64-2.7/cupy/math/arithmetic.py -> build/bdist.linux-x86_64/egg/cupy/math
creating build/bdist.linux-x86_64/egg/cupy/binary
copying build/lib.linux-x86_64-2.7/cupy/binary/elementwise.py -> build/bdist.linux-x86_64/egg/cupy/binary
copying build/lib.linux-x86_64-2.7/cupy/binary/packing.py -> build/bdist.linux-x86_64/egg/cupy/binary
copying build/lib.linux-x86_64-2.7/cupy/binary/__init__.py -> build/bdist.linux-x86_64/egg/cupy/binary
copying build/lib.linux-x86_64-2.7/cupy/internal.py -> build/bdist.linux-x86_64/egg/cupy
creating build/bdist.linux-x86_64/egg/cupy/testing
copying build/lib.linux-x86_64-2.7/cupy/testing/hypothesis.py -> build/bdist.linux-x86_64/egg/cupy/testing
copying build/lib.linux-x86_64-2.7/cupy/testing/attr.py -> build/bdist.linux-x86_64/egg/cupy/testing
copying build/lib.linux-x86_64-2.7/cupy/testing/condition.py -> build/bdist.linux-x86_64/egg/cupy/testing
copying build/lib.linux-x86_64-2.7/cupy/testing/helper.py -> build/bdist.linux-x86_64/egg/cupy/testing
copying build/lib.linux-x86_64-2.7/cupy/testing/parameterized.py -> build/bdist.linux-x86_64/egg/cupy/testing
copying build/lib.linux-x86_64-2.7/cupy/testing/array.py -> build/bdist.linux-x86_64/egg/cupy/testing
copying build/lib.linux-x86_64-2.7/cupy/testing/__init__.py -> build/bdist.linux-x86_64/egg/cupy/testing
copying build/lib.linux-x86_64-2.7/cupy/util.so -> build/bdist.linux-x86_64/egg/cupy
copying build/lib.linux-x86_64-2.7/cupy/cudnn.py -> build/bdist.linux-x86_64/egg/cupy
creating build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/compiler.py -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/runtime.so -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/cublas.so -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/stream.py -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/function.so -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/cudnn.so -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/curand.so -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/driver.so -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/__init__.py -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/memory.so -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/cuda/device.so -> build/bdist.linux-x86_64/egg/cupy/cuda
copying build/lib.linux-x86_64-2.7/cupy/__init__.py -> build/bdist.linux-x86_64/egg/cupy
creating build/bdist.linux-x86_64/egg/cupy/io
copying build/lib.linux-x86_64-2.7/cupy/io/formatting.py -> build/bdist.linux-x86_64/egg/cupy/io
copying build/lib.linux-x86_64-2.7/cupy/io/npz.py -> build/bdist.linux-x86_64/egg/cupy/io
copying build/lib.linux-x86_64-2.7/cupy/io/rawfile.py -> build/bdist.linux-x86_64/egg/cupy/io
copying build/lib.linux-x86_64-2.7/cupy/io/text.py -> build/bdist.linux-x86_64/egg/cupy/io
copying build/lib.linux-x86_64-2.7/cupy/io/__init__.py -> build/bdist.linux-x86_64/egg/cupy/io
byte-compiling build/bdist.linux-x86_64/egg/chainer/serializer.py to serializer.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/flag.py to flag.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/function.py to function.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/link.py to link.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/caffe/caffe_function.py to caffe_function.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/caffe/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/caffe/caffe_pb2.py to caffe_pb2.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/activation/prelu.py to prelu.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/activation/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/activation/maxout.py to maxout.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/normalization/batch_normalization.py to batch_normalization.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/normalization/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/loss/negative_sampling.py to negative_sampling.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/loss/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/loss/hierarchical_softmax.py to hierarchical_softmax.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/model/classifier.py to classifier.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/model/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/deconvolution_2d.py to deconvolution_2d.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/gru.py to gru.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/lstm.py to lstm.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/inception.py to inception.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/linear.py to linear.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/bilinear.py to bilinear.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/convolution_2d.py to convolution_2d.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/embed_id.py to embed_id.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/inceptionbn.py to inceptionbn.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/parameter.py to parameter.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/mlp_convolution_2d.py to mlp_convolution_2d.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/links/connection/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/optimizer.py to optimizer.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/function_set.py to function_set.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/caffe/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/relu.py to relu.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/clipped_relu.py to clipped_relu.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/lstm.py to lstm.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/elu.py to elu.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/softmax.py to softmax.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/sigmoid.py to sigmoid.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/prelu.py to prelu.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/tanh.py to tanh.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/softplus.py to softplus.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/leaky_relu.py to leaky_relu.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/activation/maxout.py to maxout.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/reshape.py to reshape.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/select_item.py to select_item.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/broadcast.py to broadcast.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/split_axis.py to split_axis.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/copy.py to copy.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/where.py to where.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/expand_dims.py to expand_dims.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/swapaxes.py to swapaxes.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/concat.py to concat.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/array/transpose.py to transpose.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/noise/gaussian.py to gaussian.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/noise/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/noise/dropout.py to dropout.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/normalization/local_response_normalization.py to local_response_normalization.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/normalization/batch_normalization.py to batch_normalization.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/normalization/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/loss/mean_squared_error.py to mean_squared_error.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/loss/hinge.py to hinge.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/loss/softmax_cross_entropy.py to softmax_cross_entropy.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/loss/cross_covariance.py to cross_covariance.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/loss/sigmoid_cross_entropy.py to sigmoid_cross_entropy.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/loss/negative_sampling.py to negative_sampling.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/loss/vae.py to vae.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/loss/contrastive.py to contrastive.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/loss/ctc.py to ctc.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/loss/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/math/trigonometric.py to trigonometric.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/math/minmax.py to minmax.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/math/matmul.py to matmul.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/math/identity.py to identity.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/math/sum.py to sum.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/math/exponential.py to exponential.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/math/inv.py to inv.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/math/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/math/basic_math.py to basic_math.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/math/batch_l2_norm_squared.py to batch_l2_norm_squared.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/pooling/spatial_pyramid_pooling_2d.py to spatial_pyramid_pooling_2d.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/pooling/average_pooling_2d.py to average_pooling_2d.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/pooling/pooling_2d.py to pooling_2d.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/pooling/max_pooling_2d.py to max_pooling_2d.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/pooling/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/evaluation/accuracy.py to accuracy.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/evaluation/binary_accuracy.py to binary_accuracy.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/evaluation/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/connection/deconvolution_2d.py to deconvolution_2d.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/connection/linear.py to linear.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/connection/bilinear.py to bilinear.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/connection/convolution_2d.py to convolution_2d.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/connection/embed_id.py to embed_id.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/functions/connection/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/variable.py to variable.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/serializers/npz.py to npz.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/serializers/hdf5.py to hdf5.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/serializers/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/utils/conv.py to conv.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/utils/type_check.py to type_check.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/utils/walker_alias.py to walker_alias.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/utils/array.py to array.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/utils/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/gradient_check.py to gradient_check.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/testing/attr.py to attr.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/testing/condition.py to condition.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/testing/parameterized.py to parameterized.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/testing/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/cuda.py to cuda.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/optimizers/momentum_sgd.py to momentum_sgd.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/optimizers/adam.py to adam.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/optimizers/ada_delta.py to ada_delta.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/optimizers/rmsprop_graves.py to rmsprop_graves.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/optimizers/nesterov_ag.py to nesterov_ag.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/optimizers/sgd.py to sgd.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/optimizers/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/optimizers/ada_grad.py to ada_grad.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/optimizers/rmsprop.py to rmsprop.pyc
byte-compiling build/bdist.linux-x86_64/egg/chainer/computational_graph.py to computational_graph.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/shape.py to shape.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/dims.py to dims.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/join.py to join.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/tiling.py to tiling.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/rearrange.py to rearrange.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/kind.py to kind.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/split.py to split.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/basic.py to basic.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/add_remove.py to add_remove.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/manipulation/transpose.py to transpose.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/indexing/indexing.py to indexing.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/indexing/insert.py to insert.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/indexing/generate.py to generate.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/indexing/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/core/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/creation/ranges.py to ranges.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/creation/from_data.py to from_data.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/creation/basic.py to basic.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/creation/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/creation/matrix.py to matrix.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/linalg/eigenvalue.py to eigenvalue.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/linalg/norm.py to norm.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/linalg/product.py to product.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/linalg/decomposition.py to decomposition.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/linalg/solve.py to solve.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/linalg/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/statistics/order.py to order.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/statistics/histogram.py to histogram.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/statistics/correlation.py to correlation.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/statistics/meanvar.py to meanvar.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/statistics/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/sorting/sort.py to sort.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/sorting/search.py to search.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/sorting/count.py to count.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/sorting/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/logic/content.py to content.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/logic/ops.py to ops.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/logic/comparison.py to comparison.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/logic/type_test.py to type_test.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/logic/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/logic/truth.py to truth.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/random/distributions.py to distributions.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/random/permutations.py to permutations.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/random/sample.py to sample.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/random/generator.py to generator.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/random/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/padding/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/trigonometric.py to trigonometric.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/rounding.py to rounding.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/sumprod.py to sumprod.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/hyperbolic.py to hyperbolic.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/ufunc.py to ufunc.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/floating.py to floating.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/special.py to special.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/explog.py to explog.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/misc.py to misc.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/math/arithmetic.py to arithmetic.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/binary/elementwise.py to elementwise.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/binary/packing.py to packing.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/binary/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/internal.py to internal.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/testing/hypothesis.py to hypothesis.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/testing/attr.py to attr.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/testing/condition.py to condition.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/testing/helper.py to helper.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/testing/parameterized.py to parameterized.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/testing/array.py to array.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/testing/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cudnn.py to cudnn.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/compiler.py to compiler.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/stream.py to stream.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/io/formatting.py to formatting.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/io/npz.py to npz.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/io/rawfile.py to rawfile.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/io/text.py to text.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/io/__init__.py to __init__.pyc
creating stub loader for cupy/core/core.so
creating stub loader for cupy/core/flags.so
creating stub loader for cupy/core/internal.so
creating stub loader for cupy/cuda/cublas.so
creating stub loader for cupy/cuda/curand.so
creating stub loader for cupy/cuda/device.so
creating stub loader for cupy/cuda/driver.so
creating stub loader for cupy/cuda/memory.so
creating stub loader for cupy/cuda/function.so
creating stub loader for cupy/cuda/runtime.so
creating stub loader for cupy/util.so
creating stub loader for cupy/cuda/cudnn.so
byte-compiling build/bdist.linux-x86_64/egg/cupy/core/core.py to core.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/core/flags.py to flags.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/core/internal.py to internal.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/cublas.py to cublas.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/curand.py to curand.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/device.py to device.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/driver.py to driver.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/memory.py to memory.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/function.py to function.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/runtime.py to runtime.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/util.py to util.pyc
byte-compiling build/bdist.linux-x86_64/egg/cupy/cuda/cudnn.py to cudnn.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying chainer.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying chainer.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying chainer.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying chainer.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying chainer.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying chainer.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating 'dist/chainer-1.6.2.1-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing chainer-1.6.2.1-py2.7-linux-x86_64.egg
creating /home/user/anaconda2/envs/venv/lib/python2.7/site-packages/chainer-1.6.2.1-py2.7-linux-x86_64.egg
Extracting chainer-1.6.2.1-py2.7-linux-x86_64.egg to /home/user/anaconda2/envs/venv/lib/python2.7/site-packages
Adding chainer 1.6.2.1 to easy-install.pth file

Installed /home/user/anaconda2/envs/venv/lib/python2.7/site-packages/chainer-1.6.2.1-py2.7-linux-x86_64.egg
Processing dependencies for chainer==1.6.2.1
Searching for six==1.10.0
Best match: six 1.10.0
Adding six 1.10.0 to easy-install.pth file

Using /home/user/anaconda2/envs/venv/lib/python2.7/site-packages
Searching for protobuf==2.6.1
Best match: protobuf 2.6.1
Adding protobuf 2.6.1 to easy-install.pth file

Using /home/user/.local/lib/python2.7/site-packages
Searching for numpy==1.10.4
Best match: numpy 1.10.4
Adding numpy 1.10.4 to easy-install.pth file

Using /home/user/anaconda2/envs/venv/lib/python2.7/site-packages
Searching for nose==1.3.7
Best match: nose 1.3.7
Processing nose-1.3.7-py2.7.egg
nose 1.3.7 is already the active version in easy-install.pth
Installing nosetests script to /home/user/anaconda2/envs/venv/bin
Installing nosetests-2.7 script to /home/user/anaconda2/envs/venv/bin

Using /home/user/anaconda2/envs/venv/lib/python2.7/site-packages/nose-1.3.7-py2.7.egg
Searching for filelock==2.0.5
Best match: filelock 2.0.5
Processing filelock-2.0.5-py2.7.egg
filelock 2.0.5 is already the active version in easy-install.pth

Using /home/user/anaconda2/envs/venv/lib/python2.7/site-packages/filelock-2.0.5-py2.7.egg
Searching for setuptools==19.6.2
Best match: setuptools 19.6.2
Processing setuptools-19.6.2-py2.7.egg
setuptools 19.6.2 is already the active version in easy-install.pth
Installing easy_install script to /home/user/anaconda2/envs/venv/bin
Installing easy_install-2.7 script to /home/user/anaconda2/envs/venv/bin

Using /home/user/anaconda2/envs/venv/lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg
Finished processing dependencies for chainer==1.6.2.1



Thank you for the help.

Yuya Unno

unread,
Feb 20, 2016, 1:57:34 AM2/20/16
to Spencer Cappallo, Chainer User Group
This log looks good. `core` module was correctly built and installed.

here
> g++ -pthread -shared -L/home/user/anaconda2/envs/venv/lib -Wl,-rpath=/home/user/anaconda2/envs/venv/lib,--no-as-needed build/temp.linux-x86_64-2.7/cupy/core/core.o -L/usr/local/cuda-7.0/lib64 -L/usr/local/cuda-7.0/lib -L/home/user/anaconda2/envs/venv/lib -Wl,-R/usr/local/cuda-7.0/lib64 -Wl,-R/usr/local/cuda-7.0/lib -lcublas -lcuda -lcudart -lcurand -lpython2.7 -o build/lib.linux-x86_64-2.7/cupy/core/core.so

and here
copying build/lib.linux-x86_64-2.7/cupy/core/core.so -> build/bdist.linux-x86_64/egg/cupy/core

Please check if your Python correctly find Chainer built from source.
Please type this in your python interpreter:

>>> import chainer
>>> print(chainer.__path__)


Reply all
Reply to author
Forward
0 new messages