Repository: cupy/cupy

Issue:
pip install cupy fails on Ubuntu 18.04 and cuda 10.1
* Conditions
  - CuPy 5.3.0
  - Ubuntu 18.04.2 
  - CUDA 10.1
  - no cuDNN/NCCL
  - g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

This error code came out in red:
`Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-khrkl7rx/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-record-dj_vby14/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-khrkl7rx/cupy/`

Full log from zsh:
```
pip3 install cupy --user -vvvv                                          2 ↵
Created temporary directory: /tmp/pip-ephem-wheel-cache-ecy2fvm2
Created temporary directory: /tmp/pip-req-tracker-whx_ievq
Created requirements tracker '/tmp/pip-req-tracker-whx_ievq'
Created temporary directory: /tmp/pip-install-khrkl7rx
Collecting cupy
  1 location(s) to search for versions of cupy:
  * https://pypi.org/simple/cupy/
  Getting page https://pypi.org/simple/cupy/
  Looking up "https://pypi.org/simple/cupy/" in the cache
  Request header has "max_age" as 0, cache bypassed
  Starting new HTTPS connection (1): pypi.org:443
  https://pypi.org:443 "GET /simple/cupy/ HTTP/1.1" 304 0
  Analyzing links from page https://pypi.org/simple/cupy/
    Found link https://files.pythonhosted.org/packages/79/e5/c7febd2964bf5e319423045e440ef43ad3aad2dcbe347854e1ad6cc6485a/cupy-1.0.0a1.tar.gz#sha256=4d929ee339ead4709ff809ba2e2544d7f0744d2b8466c9ea7fd803a6c781ac85 (from https://pypi.org/simple/cupy/), version: 1.0.0a1
    Found link https://files.pythonhosted.org/packages/4f/ee/0209b0288d43cb277715c9fbd91cd232e5f7f07895c78e9e75a9d6ad25ec/cupy-1.0.0b1.tar.gz#sha256=6b0f88532f8c9c28f608cc27f48e3f7641b626c1cbdb175b1edc6b885c59edd1 (from https://pypi.org/simple/cupy/), version: 1.0.0b1
    Found link https://files.pythonhosted.org/packages/3d/42/662cab10a52b6dfe77cdae53fe533ccd16f01d5d4113a3b0b958b496443f/cupy-1.0.0.1.tar.gz#sha256=ba2dc6d74fa1307d09760facd7ee2cadada889e1ade519b75fd0d99b53fbbf59 (from https://pypi.org/simple/cupy/), version: 1.0.0.1
    Found link https://files.pythonhosted.org/packages/32/09/31c3c37ac0393293bcfd5404fd12512e16961cbeb48939c50fa1f395fb47/cupy-1.0.1.tar.gz#sha256=f189657a3873cc7ffba4c67632a1a41d53fa3276ce72344098991a773c0c5e05 (from https://pypi.org/simple/cupy/), version: 1.0.1
    Found link https://files.pythonhosted.org/packages/d4/0f/79b84c548e0898ff39fa8a27f2a5134a5328b4f94e96bfc09fe60f63a167/cupy-1.0.2.tar.gz#sha256=5061fece3d64eb5759519cefd5b78d4c5ac5a324d33516c24c73114a7baf0551 (from https://pypi.org/simple/cupy/), version: 1.0.2
    Found link https://files.pythonhosted.org/packages/4f/84/ff4c79b1b7120504909181f4b767be9c2542434ba1b8f2d126bace21c015/cupy-1.0.3.tar.gz#sha256=af177ea40073a2a9c0393e9614811885cc5e57ccb4c695e9cbf4d00691fd1799 (from https://pypi.org/simple/cupy/), version: 1.0.3
    Found link https://files.pythonhosted.org/packages/54/dd/540398a7e9532daac41da1cf15fd69710e77d5bf7df377d4d42851ec60c1/cupy-2.0.0a1.tar.gz#sha256=56b17be0f8e1b8dda30ad674e973739c6c8c99dd5ee2eef77dc2685b45271a7f (from https://pypi.org/simple/cupy/), version: 2.0.0a1
    Found link https://files.pythonhosted.org/packages/6e/21/7c7d94ba61e020ddf5e4204f345ded442a76543951cef7a0f8f96a69a73a/cupy-2.0.0b1.tar.gz#sha256=8b72492ee8ade7f9c9a14d42ece4a7984c3d6249ad4e64ff3789d4d411175e05 (from https://pypi.org/simple/cupy/), version: 2.0.0b1
    Found link https://files.pythonhosted.org/packages/9e/12/6a4120fdc8156a3e05816e99ce73884d02ee1d64a4d1beedd31d37144d63/cupy-2.0.0rc1.tar.gz#sha256=53732e756467762b1cf042d0e7e8c38e9b838f53e9168979c96b77575122f925 (from https://pypi.org/simple/cupy/), version: 2.0.0rc1
    Found link https://files.pythonhosted.org/packages/09/75/df5be6a1ccb8b4c5299d5ed6694fcb64123b0b6ba3ca05d5825c220578e0/cupy-2.0.0.tar.gz#sha256=6486f76f3ebeb8fcfeea4daec0b202ff16304b9db019217cfa8a5ae1f3acdb95 (from https://pypi.org/simple/cupy/), version: 2.0.0
    Found link https://files.pythonhosted.org/packages/44/f0/9f1d8fca928a1081c5c71a3313b541f6089b8109050aa490ac44038137f4/cupy-2.1.0.tar.gz#sha256=ed63c475eb46a1bfa381aa8e3ec7f4b6e41f41c97145e1ea560394952554a2b2 (from https://pypi.org/simple/cupy/), version: 2.1.0
    Found link https://files.pythonhosted.org/packages/07/a3/826820b9d08f85c9f4c651ce44357568c66ac6ad2077dee613a9c2c9a0a3/cupy-2.1.0.1.tar.gz#sha256=870a9708e801ec82b9ec5e10d2a0a27528818f04d16cea152859781991faf2b9 (from https://pypi.org/simple/cupy/), version: 2.1.0.1
    Found link https://files.pythonhosted.org/packages/b8/2a/1d00603840f2e32a989c89042cbf1630bac8f4a32aacb05873287a334fc8/cupy-2.2.0.tar.gz#sha256=19188031dd3aacbfda6ad48f1257fcdc1227817984927ae9807df7af50cc206a (from https://pypi.org/simple/cupy/), version: 2.2.0
    Found link https://files.pythonhosted.org/packages/51/ce/9c4789dd570935c5fd8c9f71aa4e0761aaaef195ef1f017e4174e7c266dc/cupy-2.3.0.tar.gz#sha256=7426f6332cb01513d2a6a687792dfa17c678ff64dd1b19b04559ddd5672c833f (from https://pypi.org/simple/cupy/), version: 2.3.0
    Found link https://files.pythonhosted.org/packages/71/bc/ab7d033eeca10516e203c456fd6c048c0b4d52bd50dae9914233ac0db2f5/cupy-2.4.0.tar.gz#sha256=96ac44dface1a73673e9c0549fc897f8fa31a7648ff9963dff799ddabd67fde2 (from https://pypi.org/simple/cupy/), version: 2.4.0
    Found link https://files.pythonhosted.org/packages/91/15/87984a670e53a43c36a2b47271c058c9c9f7d2f58094e0ac9e7b948c5d51/cupy-2.5.0.tar.gz#sha256=60e36add95b0bc15f0863e7b4a425c00111dab0985075a96ede689510a9c56be (from https://pypi.org/simple/cupy/), version: 2.5.0
    Found link https://files.pythonhosted.org/packages/0c/3f/11d7f5e742f60a62beec3177b5bd43824683794b958c73a32e6c63c12044/cupy-3.0.0a1.tar.gz#sha256=e2ceee7320d7e833bd83cb09880a8ed3e6aab619138c124204807e48c2bd4236 (from https://pypi.org/simple/cupy/), version: 3.0.0a1
    Found link https://files.pythonhosted.org/packages/ca/8a/f0691716fc46dfacadcf2fa045f51d1f3598b64fb8a92825ae73286f0f65/cupy-4.0.0b1.tar.gz#sha256=f7688fcee8a379ebdc5090c9ae1cd2d666cb46fb4b4ab05e8c90e7770b53890c (from https://pypi.org/simple/cupy/), version: 4.0.0b1
    Found link https://files.pythonhosted.org/packages/9f/24/93c73848af724b5db61c5082544e89db8a11e16a14fedc4e55497fe986f9/cupy-4.0.0b2.tar.gz#sha256=e1fa7351064bcd40b76d5a3436c156595c75cb0e3fe4f62260e5860eefe0168e (from https://pypi.org/simple/cupy/), version: 4.0.0b2
    Found link https://files.pythonhosted.org/packages/b5/0a/c800906e16c9f9049e1a4273a66aa29d32a204b7961b6e156efe3af1a9ec/cupy-4.0.0b3.tar.gz#sha256=07e6b085d5963e4ab2d96908a8272d9770a70ea61dd1d1f58354d6210826e472 (from https://pypi.org/simple/cupy/), version: 4.0.0b3
    Found link https://files.pythonhosted.org/packages/07/ea/2a4a1e4802b9082e361c806d5d107e473cfd78054766a8039d130ac59233/cupy-4.0.0b4.tar.gz#sha256=e2a9137b4043c24c1f600687f1f2618749a400f6262abc17730ad12cb5f3e54d (from https://pypi.org/simple/cupy/), version: 4.0.0b4
    Found link https://files.pythonhosted.org/packages/fe/24/e623730a7458b311d87bae9450e1cdc8ce7adf947d77fa44c990ae2f8679/cupy-4.0.0rc1.tar.gz#sha256=0b894d083332e9080cfef263bac3dbde1e71a5c9d0fa63587ddda9bbf3468092 (from https://pypi.org/simple/cupy/), version: 4.0.0rc1
    Found link https://files.pythonhosted.org/packages/38/14/ddb1a13f77a50d721814e28181ae90e0d57c3f8d4faa9a7b2e028cfcc99a/cupy-4.0.0.tar.gz#sha256=b8148e27d9d90c70f57f54cbc4fb36d35d852a2cdd5695a00be1a1077d9f1fea (from https://pypi.org/simple/cupy/), version: 4.0.0
    Found link https://files.pythonhosted.org/packages/8f/89/bba5b25c8139f483dd3e3bdafb95e84b6cb1f9babbcdd230c7231c395171/cupy-4.1.0.tar.gz#sha256=3e714fa21401ab1d278b648543fae56fbce97e389076ebf03b4189f88c2d61e0 (from https://pypi.org/simple/cupy/), version: 4.1.0
    Found link https://files.pythonhosted.org/packages/99/fe/6a0dde420e07b1b447b4c3540a4bed9747027860e897afad602866c77784/cupy-4.2.0.zip#sha256=1f2cfa896566e234b46537315f5ccb4587dd0133868ab9b7710d7799262510e7 (from https://pypi.org/simple/cupy/), version: 4.2.0
    Found link https://files.pythonhosted.org/packages/7c/6e/d8713723cce104b2c5328d49431febb9082bb8d2dee4da23ba3a81e811e2/cupy-4.3.0.tar.gz#sha256=ea818ff7f36cf6e5b3d3faef5af36a501c8bdeb78805820afa2999789ed698d5 (from https://pypi.org/simple/cupy/), version: 4.3.0
    Found link https://files.pythonhosted.org/packages/97/fa/bd8c80c34f002bc82b7a2a707073586f48bd5a6d37e7778f32c01f2c6fc3/cupy-4.4.0.tar.gz#sha256=fca0e3d3fdad4c825197ea421bed0d253224b44daf738d82af5cba856c1c0b3e (from https://pypi.org/simple/cupy/), version: 4.4.0
    Found link https://files.pythonhosted.org/packages/ff/41/ec0cf695e656de61809bd6d78e3275f3d5ad5c8b44c09de7bf72579c4dde/cupy-4.4.1.tar.gz#sha256=d46a3eea628a17b9c3f446e4b13513a1f0cc0b9930214417b41c90dcf0bb427f (from https://pypi.org/simple/cupy/), version: 4.4.1
    Found link https://files.pythonhosted.org/packages/ab/fc/7aee3fe0c2aa7e57de873f35f275b8afb434c091f9b555582418b18a238c/cupy-4.5.0.tar.gz#sha256=147e819c34b7403a2fd9a93336dd6696daa56f258a340b095ae09fd9176cefff (from https://pypi.org/simple/cupy/), version: 4.5.0
    Found link https://files.pythonhosted.org/packages/9e/16/c0c68b1f352ae80996a51d7872c0b4c36f70e54e3154afc3db73e1030ecf/cupy-5.0.0a1.tar.gz#sha256=24104a903f91feafd420bbe862c2a044b9e24319e58e0d7c28019285eb874dfe (from https://pypi.org/simple/cupy/), version: 5.0.0a1
    Found link https://files.pythonhosted.org/packages/c4/0b/0f6c52c796dac2a64aa8158ccf309bb9273f9992759239d5e8a05c577513/cupy-5.0.0b1.tar.gz#sha256=a31e58fb00e111862d8ea8538f23420baf34148456590f63443fb086adcffa0a (from https://pypi.org/simple/cupy/), version: 5.0.0b1
    Found link https://files.pythonhosted.org/packages/83/1e/f53d1134b623ecaf09bba884f37e88267f130490a6db05ce800f07be9244/cupy-5.0.0b2.zip#sha256=8b6e8a0aded3c1e28232a4a25e5a4d4d15af5402b856f871508c36840b77a061 (from https://pypi.org/simple/cupy/), version: 5.0.0b2
    Found link https://files.pythonhosted.org/packages/f6/d2/59242a91ee9bea6b8369778599c543345898dcf10ca1cd8c160b9e04fca9/cupy-5.0.0b3.tar.gz#sha256=1344c7e23cba755fbb010648d466791fe6c734a882d7e754b29c2f69044b4d4f (from https://pypi.org/simple/cupy/), version: 5.0.0b3
    Found link https://files.pythonhosted.org/packages/31/91/2c87a42e0310d8245536bdc52e7445acf376dbb3530f6c36dfe03e0860a2/cupy-5.0.0b4.tar.gz#sha256=f875afe85221411af460a3fb48b615d1c51979f6fc06c4fcffc4b60fbfe1180f (from https://pypi.org/simple/cupy/), version: 5.0.0b4
    Found link https://files.pythonhosted.org/packages/27/9d/df20be8fef15d68dd22e8703b7b96e768c6799e1040adf75265dbff069bb/cupy-5.0.0rc1.tar.gz#sha256=7b284853e00c6e991e0a059a40de28b43e2a25c68075924484fa3fb6b08b3f4f (from https://pypi.org/simple/cupy/), version: 5.0.0rc1
    Found link https://files.pythonhosted.org/packages/cc/60/74bce24d1570cd974567599862ebf15d8719504b09766a6cc1a0d10435a5/cupy-5.0.0.tar.gz#sha256=557e665d6f2e74e21987b6736d580ec919f51205623fe3d79df06b9d22b3e09d (from https://pypi.org/simple/cupy/), version: 5.0.0
    Found link https://files.pythonhosted.org/packages/1c/16/788a9e55c92a9c6b022811a30aeee9f26eef7010516d12df5a33be69484c/cupy-5.1.0.tar.gz#sha256=22cae9751f16014990978d0a3aa6a4fa72e00c88f9ef104a5e89f09b40fe446e (from https://pypi.org/simple/cupy/), version: 5.1.0
    Found link https://files.pythonhosted.org/packages/9a/5e/63ddb72e3ef1b3d65484ebf415651d36c08d36df61d8a7898cd2da7b3460/cupy-5.2.0.tar.gz#sha256=664acff0e1094f0135acca8899318d300258b704e049b1ef0c59154912da53b2 (from https://pypi.org/simple/cupy/), version: 5.2.0
    Found link https://files.pythonhosted.org/packages/c2/5d/cfb128bc2296ca2e9665962147ff56bd121738ab849ae4e1d5e6603ffd4c/cupy-5.3.0.tar.gz#sha256=af29ca0198bf480217b11805c5492adbee097db95afca22c2d0a481295d80830 (from https://pypi.org/simple/cupy/), version: 5.3.0
    Found link https://files.pythonhosted.org/packages/fa/b5/2d4af0e8e7d7318bfaa8560557efe3ed2b27b3faeafb75e94c2e44559f09/cupy-6.0.0a1.tar.gz#sha256=08c59d3aceb59b1b2978f6cd82f2346403f67c0f87ce5139a59ffab814c04620 (from https://pypi.org/simple/cupy/), version: 6.0.0a1
    Found link https://files.pythonhosted.org/packages/4f/90/1d789ea6fa64d001bb59559a6901e1e1aaf6e5cb95b12780eb27768da5f4/cupy-6.0.0b1.tar.gz#sha256=3f8f4109594549b160a3047218db00d1fa45be6f10a3a86fbe436576d01a670e (from https://pypi.org/simple/cupy/), version: 6.0.0b1
    Found link https://files.pythonhosted.org/packages/0f/d6/eb2d33a158082600ba67c455828b9b1687f279a4dc12f74d9821f50467c8/cupy-6.0.0b2.tar.gz#sha256=a7281e6a75d92b5a685fa0359d997cbad34bcdaac3b8d4f2c6648e385f9b3858 (from https://pypi.org/simple/cupy/), version: 6.0.0b2
    Found link https://files.pythonhosted.org/packages/17/2c/f984f51d679df9db1b404f42ff281ddb202e56a3773aa392aa3b12d0a822/cupy-6.0.0b3.tar.gz#sha256=372145ea55315b5d3159142af4bf4294353acdf84263cf71e8adaf49b17523bb (from https://pypi.org/simple/cupy/), version: 6.0.0b3
  Using version 5.3.0 (newest of versions: 1.0.0.1, 1.0.1, 1.0.2, 1.0.3, 2.0.0, 2.1.0, 2.1.0.1, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0, 4.4.1, 4.5.0, 5.0.0, 5.1.0, 5.2.0, 5.3.0)
  Created temporary directory: /tmp/pip-unpack-_3sxbu_z
  Looking up "https://files.pythonhosted.org/packages/c2/5d/cfb128bc2296ca2e9665962147ff56bd121738ab849ae4e1d5e6603ffd4c/cupy-5.3.0.tar.gz" in the cache
  Current age based on date: 992
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 992
  Using cached https://files.pythonhosted.org/packages/c2/5d/cfb128bc2296ca2e9665962147ff56bd121738ab849ae4e1d5e6603ffd4c/cupy-5.3.0.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/c2/5d/cfb128bc2296ca2e9665962147ff56bd121738ab849ae4e1d5e6603ffd4c/cupy-5.3.0.tar.gz#sha256=af29ca0198bf480217b11805c5492adbee097db95afca22c2d0a481295d80830 (from https://pypi.org/simple/cupy/)
  Added cupy from https://files.pythonhosted.org/packages/c2/5d/cfb128bc2296ca2e9665962147ff56bd121738ab849ae4e1d5e6603ffd4c/cupy-5.3.0.tar.gz#sha256=af29ca0198bf480217b11805c5492adbee097db95afca22c2d0a481295d80830 to build tracker '/tmp/pip-req-tracker-whx_ievq'
    Running setup.py (path:/tmp/pip-install-khrkl7rx/cupy/setup.py) egg_info for package cupy
    Running command python setup.py egg_info
    Options: {'package_name': 'cupy', 'long_description': None, 'wheel_libs': [], 'no_rpath': False, 'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}

    -------- Configuring Module: cuda --------

    -------- Configuring Module: cudnn --------
    /tmp/tmpeas2mdc4/a.cpp:1:10: fatal error: cudnn.h: Datei oder Verzeichnis nicht gefunden
     #include <cudnn.h>
              ^~~~~~~~~
    compilation terminated.
    command 'x86_64-linux-gnu-gcc' failed with exit status 1

    -------- Configuring Module: nccl --------
    /tmp/tmp6_694m7v/a.cpp:1:10: fatal error: nccl.h: Datei oder Verzeichnis nicht gefunden
     #include <nccl.h>
              ^~~~~~~~
    compilation terminated.
    command 'x86_64-linux-gnu-gcc' failed with exit status 1

    -------- Configuring Module: cusolver --------

    -------- Configuring Module: nvtx --------

    -------- Configuring Module: thrust --------

    ************************************************************
    * CuPy Configuration Summary                               *
    ************************************************************

    Build Environment:
      Include directories: ['/usr/local/cuda-10.1/include']
      Library directories: ['/usr/local/cuda-10.1/lib64']
      nvcc command       : ['/usr/local/cuda-10.1/bin/nvcc']

    Environment Variables:
      CFLAGS          : (none)
      LDFLAGS         : (none)
      LIBRARY_PATH    : (none)
      CUDA_PATH       : (none)
      NVTOOLSEXT_PATH : (none)
      NVCC            : (none)

    Modules:
      cuda      : Yes (version 10010)
      cudnn     : No
        -> Include files not found: ['cudnn.h']
        -> Check your CFLAGS environment variable.
      nccl      : No
        -> Include files not found: ['nccl.h']
        -> Check your CFLAGS environment variable.
      cusolver  : Yes
      nvtx      : Yes
      thrust    : Yes

    WARNING: Some modules could not be configured.
    CuPy will be installed without these modules.
    Please refer to the Installation Guide for details:
    https://docs-cupy.chainer.org/en/stable/install.html

    ************************************************************

    running egg_info
    creating pip-egg-info/cupy.egg-info
    writing pip-egg-info/cupy.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/cupy.egg-info/dependency_links.txt
    writing requirements to pip-egg-info/cupy.egg-info/requires.txt
    writing top-level names to pip-egg-info/cupy.egg-info/top_level.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'
    warning: no previously-included files matching '*.pyx' found under directory 'cupy'
    warning: no previously-included files matching '*.pxd' found under directory 'cupy'
    warning: no previously-included files matching '*.pxi' found under directory 'cupy'
    writing manifest file 'pip-egg-info/cupy.egg-info/SOURCES.txt'
  Source in /tmp/pip-install-khrkl7rx/cupy has version 5.3.0, which satisfies requirement cupy from https://files.pythonhosted.org/packages/c2/5d/cfb128bc2296ca2e9665962147ff56bd121738ab849ae4e1d5e6603ffd4c/cupy-5.3.0.tar.gz#sha256=af29ca0198bf480217b11805c5492adbee097db95afca22c2d0a481295d80830
  Removed cupy from https://files.pythonhosted.org/packages/c2/5d/cfb128bc2296ca2e9665962147ff56bd121738ab849ae4e1d5e6603ffd4c/cupy-5.3.0.tar.gz#sha256=af29ca0198bf480217b11805c5492adbee097db95afca22c2d0a481295d80830 from build tracker '/tmp/pip-req-tracker-whx_ievq'
Requirement already satisfied: numpy>=1.9.0 in ./.local/lib/python3.6/site-packages (from cupy) (1.16.0)
Requirement already satisfied: six>=1.9.0 in ./.local/lib/python3.6/site-packages (from cupy) (1.11.0)
Requirement already satisfied: fastrlock>=0.3 in ./.local/lib/python3.6/site-packages (from cupy) (0.4)
Building wheels for collected packages: cupy
  Created temporary directory: /tmp/pip-wheel-p9_xha4w
  Building wheel for cupy (setup.py) ...   Destination directory: /tmp/pip-wheel-p9_xha4w
  Running command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-khrkl7rx/cupy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-p9_xha4w --python-tag cp36
  Options: {'package_name': 'cupy', 'long_description': None, 'wheel_libs': [], 'no_rpath': False, 'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}
  Removing directory: cupy/_lib

  -------- Configuring Module: cuda --------

  -------- Configuring Module: cudnn --------
  /tmp/tmp6snm62yt/a.cpp:1:10: fatal error: cudnn.h: Datei oder Verzeichnis nicht gefunden
   #include <cudnn.h>
            ^~~~~~~~~
  compilation terminated.
  command 'x86_64-linux-gnu-gcc' failed with exit status 1

  -------- Configuring Module: nccl --------
  /tmp/tmpwyj9uz6n/a.cpp:1:10: fatal error: nccl.h: Datei oder Verzeichnis nicht gefunden
   #include <nccl.h>
            ^~~~~~~~
  compilation terminated.
  command 'x86_64-linux-gnu-gcc' failed with exit status 1

  -------- Configuring Module: cusolver --------

  -------- Configuring Module: nvtx --------

  -------- Configuring Module: thrust --------

  ************************************************************
  * CuPy Configuration Summary                               *
  ************************************************************

  Build Environment:
    Include directories: ['/usr/local/cuda-10.1/include']
    Library directories: ['/usr/local/cuda-10.1/lib64']
    nvcc command       : ['/usr/local/cuda-10.1/bin/nvcc']

  Environment Variables:
    CFLAGS          : (none)
    LDFLAGS         : (none)
    LIBRARY_PATH    : (none)
    CUDA_PATH       : (none)
    NVTOOLSEXT_PATH : (none)
    NVCC            : (none)

  Modules:
    cuda      : Yes (version 10010)
    cudnn     : No
      -> Include files not found: ['cudnn.h']
      -> Check your CFLAGS environment variable.
    nccl      : No
      -> Include files not found: ['nccl.h']
      -> Check your CFLAGS environment variable.
    cusolver  : Yes
    nvtx      : Yes
    thrust    : Yes

  WARNING: Some modules could not be configured.
  CuPy will be installed without these modules.
  Please refer to the Installation Guide for details:
  https://docs-cupy.chainer.org/en/stable/install.html

  ************************************************************

  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.6
  creating build/lib.linux-x86_64-3.6/cupy
  copying cupy/_version.py -> build/lib.linux-x86_64-3.6/cupy
  copying cupy/internal.py -> build/lib.linux-x86_64-3.6/cupy
  copying cupy/__init__.py -> build/lib.linux-x86_64-3.6/cupy
  copying cupy/cusparse.py -> build/lib.linux-x86_64-3.6/cupy
  creating build/lib.linux-x86_64-3.6/cupy/binary
  copying cupy/binary/elementwise.py -> build/lib.linux-x86_64-3.6/cupy/binary
  copying cupy/binary/__init__.py -> build/lib.linux-x86_64-3.6/cupy/binary
  copying cupy/binary/packing.py -> build/lib.linux-x86_64-3.6/cupy/binary
  creating build/lib.linux-x86_64-3.6/cupy/core
  copying cupy/core/fusion.py -> build/lib.linux-x86_64-3.6/cupy/core
  copying cupy/core/__init__.py -> build/lib.linux-x86_64-3.6/cupy/core
  creating build/lib.linux-x86_64-3.6/cupy/creation
  copying cupy/creation/ranges.py -> build/lib.linux-x86_64-3.6/cupy/creation
  copying cupy/creation/__init__.py -> build/lib.linux-x86_64-3.6/cupy/creation
  copying cupy/creation/matrix.py -> build/lib.linux-x86_64-3.6/cupy/creation
  copying cupy/creation/from_data.py -> build/lib.linux-x86_64-3.6/cupy/creation
  copying cupy/creation/basic.py -> build/lib.linux-x86_64-3.6/cupy/creation
  creating build/lib.linux-x86_64-3.6/cupy/cuda
  copying cupy/cuda/__init__.py -> build/lib.linux-x86_64-3.6/cupy/cuda
  copying cupy/cuda/compiler.py -> build/lib.linux-x86_64-3.6/cupy/cuda
  creating build/lib.linux-x86_64-3.6/cupy/cuda/memory_hooks
  copying cupy/cuda/memory_hooks/debug_print.py -> build/lib.linux-x86_64-3.6/cupy/cuda/memory_hooks
  copying cupy/cuda/memory_hooks/__init__.py -> build/lib.linux-x86_64-3.6/cupy/cuda/memory_hooks
  copying cupy/cuda/memory_hooks/line_profile.py -> build/lib.linux-x86_64-3.6/cupy/cuda/memory_hooks
  creating build/lib.linux-x86_64-3.6/cupy/ext
  copying cupy/ext/scatter.py -> build/lib.linux-x86_64-3.6/cupy/ext
  copying cupy/ext/__init__.py -> build/lib.linux-x86_64-3.6/cupy/ext
  creating build/lib.linux-x86_64-3.6/cupy/fft
  copying cupy/fft/fft.py -> build/lib.linux-x86_64-3.6/cupy/fft
  copying cupy/fft/__init__.py -> build/lib.linux-x86_64-3.6/cupy/fft
  creating build/lib.linux-x86_64-3.6/cupy/indexing
  copying cupy/indexing/indexing.py -> build/lib.linux-x86_64-3.6/cupy/indexing
  copying cupy/indexing/generate.py -> build/lib.linux-x86_64-3.6/cupy/indexing
  copying cupy/indexing/__init__.py -> build/lib.linux-x86_64-3.6/cupy/indexing
  copying cupy/indexing/insert.py -> build/lib.linux-x86_64-3.6/cupy/indexing
  creating build/lib.linux-x86_64-3.6/cupy/io
  copying cupy/io/rawfile.py -> build/lib.linux-x86_64-3.6/cupy/io
  copying cupy/io/text.py -> build/lib.linux-x86_64-3.6/cupy/io
  copying cupy/io/formatting.py -> build/lib.linux-x86_64-3.6/cupy/io
  copying cupy/io/npz.py -> build/lib.linux-x86_64-3.6/cupy/io
  copying cupy/io/__init__.py -> build/lib.linux-x86_64-3.6/cupy/io
  creating build/lib.linux-x86_64-3.6/cupy/linalg
  copying cupy/linalg/util.py -> build/lib.linux-x86_64-3.6/cupy/linalg
  copying cupy/linalg/einsum_opt.py -> build/lib.linux-x86_64-3.6/cupy/linalg
  copying cupy/linalg/einsum.py -> build/lib.linux-x86_64-3.6/cupy/linalg
  copying cupy/linalg/decomposition.py -> build/lib.linux-x86_64-3.6/cupy/linalg
  copying cupy/linalg/product.py -> build/lib.linux-x86_64-3.6/cupy/linalg
  copying cupy/linalg/norms.py -> build/lib.linux-x86_64-3.6/cupy/linalg
  copying cupy/linalg/eigenvalue.py -> build/lib.linux-x86_64-3.6/cupy/linalg
  copying cupy/linalg/solve.py -> build/lib.linux-x86_64-3.6/cupy/linalg
  copying cupy/linalg/__init__.py -> build/lib.linux-x86_64-3.6/cupy/linalg
  creating build/lib.linux-x86_64-3.6/cupy/logic
  copying cupy/logic/content.py -> build/lib.linux-x86_64-3.6/cupy/logic
  copying cupy/logic/ops.py -> build/lib.linux-x86_64-3.6/cupy/logic
  copying cupy/logic/type_test.py -> build/lib.linux-x86_64-3.6/cupy/logic
  copying cupy/logic/__init__.py -> build/lib.linux-x86_64-3.6/cupy/logic
  copying cupy/logic/comparison.py -> build/lib.linux-x86_64-3.6/cupy/logic
  copying cupy/logic/truth.py -> build/lib.linux-x86_64-3.6/cupy/logic
  creating build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/tiling.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/rearrange.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/kind.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/split.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/shape.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/__init__.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/add_remove.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/join.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/dims.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/basic.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  copying cupy/manipulation/transpose.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
  creating build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/sumprod.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/floating.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/arithmetic.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/misc.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/trigonometric.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/window.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/special.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/explog.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/__init__.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/ufunc.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/hyperbolic.py -> build/lib.linux-x86_64-3.6/cupy/math
  copying cupy/math/rounding.py -> build/lib.linux-x86_64-3.6/cupy/math
  creating build/lib.linux-x86_64-3.6/cupy/padding
  copying cupy/padding/__init__.py -> build/lib.linux-x86_64-3.6/cupy/padding
  copying cupy/padding/pad.py -> build/lib.linux-x86_64-3.6/cupy/padding
  creating build/lib.linux-x86_64-3.6/cupy/prof
  copying cupy/prof/__init__.py -> build/lib.linux-x86_64-3.6/cupy/prof
  copying cupy/prof/time_range.py -> build/lib.linux-x86_64-3.6/cupy/prof
  creating build/lib.linux-x86_64-3.6/cupy/random
  copying cupy/random/permutations.py -> build/lib.linux-x86_64-3.6/cupy/random
  copying cupy/random/generator.py -> build/lib.linux-x86_64-3.6/cupy/random
  copying cupy/random/sample.py -> build/lib.linux-x86_64-3.6/cupy/random
  copying cupy/random/distributions.py -> build/lib.linux-x86_64-3.6/cupy/random
  copying cupy/random/__init__.py -> build/lib.linux-x86_64-3.6/cupy/random
  copying cupy/random/_kernels.py -> build/lib.linux-x86_64-3.6/cupy/random
  creating build/lib.linux-x86_64-3.6/cupy/sorting
  copying cupy/sorting/sort.py -> build/lib.linux-x86_64-3.6/cupy/sorting
  copying cupy/sorting/count.py -> build/lib.linux-x86_64-3.6/cupy/sorting
  copying cupy/sorting/__init__.py -> build/lib.linux-x86_64-3.6/cupy/sorting
  copying cupy/sorting/search.py -> build/lib.linux-x86_64-3.6/cupy/sorting
  creating build/lib.linux-x86_64-3.6/cupy/sparse
  copying cupy/sparse/__init__.py -> build/lib.linux-x86_64-3.6/cupy/sparse
  creating build/lib.linux-x86_64-3.6/cupy/sparse/linalg
  copying cupy/sparse/linalg/__init__.py -> build/lib.linux-x86_64-3.6/cupy/sparse/linalg
  creating build/lib.linux-x86_64-3.6/cupy/statistics
  copying cupy/statistics/correlation.py -> build/lib.linux-x86_64-3.6/cupy/statistics
  copying cupy/statistics/histogram.py -> build/lib.linux-x86_64-3.6/cupy/statistics
  copying cupy/statistics/__init__.py -> build/lib.linux-x86_64-3.6/cupy/statistics
  copying cupy/statistics/meanvar.py -> build/lib.linux-x86_64-3.6/cupy/statistics
  copying cupy/statistics/order.py -> build/lib.linux-x86_64-3.6/cupy/statistics
  creating build/lib.linux-x86_64-3.6/cupy/testing
  copying cupy/testing/attr.py -> build/lib.linux-x86_64-3.6/cupy/testing
  copying cupy/testing/parameterized.py -> build/lib.linux-x86_64-3.6/cupy/testing
  copying cupy/testing/condition.py -> build/lib.linux-x86_64-3.6/cupy/testing
  copying cupy/testing/array.py -> build/lib.linux-x86_64-3.6/cupy/testing
  copying cupy/testing/random.py -> build/lib.linux-x86_64-3.6/cupy/testing
  copying cupy/testing/__init__.py -> build/lib.linux-x86_64-3.6/cupy/testing
  copying cupy/testing/hypothesis.py -> build/lib.linux-x86_64-3.6/cupy/testing
  copying cupy/testing/helper.py -> build/lib.linux-x86_64-3.6/cupy/testing
  creating build/lib.linux-x86_64-3.6/cupyx
  copying cupyx/scatter.py -> build/lib.linux-x86_64-3.6/cupyx
  copying cupyx/runtime.py -> build/lib.linux-x86_64-3.6/cupyx
  copying cupyx/__init__.py -> build/lib.linux-x86_64-3.6/cupyx
  copying cupyx/rsqrt.py -> build/lib.linux-x86_64-3.6/cupyx
  creating build/lib.linux-x86_64-3.6/cupyx/scipy
  copying cupyx/scipy/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy
  creating build/lib.linux-x86_64-3.6/cupyx/scipy/ndimage
  copying cupyx/scipy/ndimage/interpolation.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/ndimage
  copying cupyx/scipy/ndimage/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/ndimage
  creating build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/data.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/util.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/csr.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/coo.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/sputils.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/construct.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/csc.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/dia.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/compressed.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/base.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
  creating build/lib.linux-x86_64-3.6/cupyx/scipy/sparse/linalg
  copying cupyx/scipy/sparse/linalg/solve.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse/linalg
  copying cupyx/scipy/sparse/linalg/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse/linalg
  creating build/lib.linux-x86_64-3.6/cupyx/scipy/special
  copying cupyx/scipy/special/zeta.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
  copying cupyx/scipy/special/gammaln.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
  copying cupyx/scipy/special/statistics.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
  copying cupyx/scipy/special/bessel.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
  copying cupyx/scipy/special/erf.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
  copying cupyx/scipy/special/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
  copying cupyx/scipy/special/polygamma.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
  copying cupyx/scipy/special/digamma.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
  copying cupyx/scipy/special/gamma.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
  creating build/lib.linux-x86_64-3.6/cupyx/scipy/linalg
  copying cupyx/scipy/linalg/solve_triangular.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/linalg
  copying cupyx/scipy/linalg/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/linalg
  creating build/lib.linux-x86_64-3.6/cupyx/linalg
  copying cupyx/linalg/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/linalg
  creating build/lib.linux-x86_64-3.6/cupyx/linalg/sparse
  copying cupyx/linalg/sparse/solve.py -> build/lib.linux-x86_64-3.6/cupyx/linalg/sparse
  copying cupyx/linalg/sparse/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/linalg/sparse
  creating build/lib.linux-x86_64-3.6/cupy/core/include
  creating build/lib.linux-x86_64-3.6/cupy/core/include/cupy
  creating build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/arithmetic.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/catrig.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/catrigf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/ccosh.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/ccoshf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/cexp.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/cexpf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/clog.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/clogf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/complex.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/complex_inl.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/cpow.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/cproj.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/csinh.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/csinhf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/csqrt.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/csqrtf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/ctanh.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/ctanhf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/math_private.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/carray.cuh -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy
  copying cupy/core/include/cupy/complex.cuh -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy
  copying cupy/core/include/cupy/atomics.cuh -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy
  creating build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda
  creating build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-10.0
  copying cupy/core/include/cupy/_cuda/cuda-10.0/cuda_fp16.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-10.0
  creating build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-9.2
  copying cupy/core/include/cupy/_cuda/cuda-9.2/cuda_fp16.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-9.2
  copying cupy/core/include/cupy/_cuda/cuda-10.0/cuda_fp16.hpp -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-10.0
  copying cupy/core/include/cupy/_cuda/cuda-9.2/cuda_fp16.hpp -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-9.2
  copying cupy/cuda/cupy_thrust.cu -> build/lib.linux-x86_64-3.6/cupy/cuda
  running build_ext

  -------- Configuring Module: cuda --------
  creating /tmp/tmpqqybmci5/tmp
  creating /tmp/tmpqqybmci5/tmp/tmpqqybmci5
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmpqqybmci5/a.cpp -o /tmp/tmpqqybmci5/tmp/tmpqqybmci5/a.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmpqqybmci5/tmp/tmpqqybmci5/a.o -o /tmp/tmpqqybmci5/liba.so
  creating /tmp/tmp8787rseh/tmp
  creating /tmp/tmp8787rseh/tmp/tmp8787rseh
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -c /tmp/tmp8787rseh/a.cpp -o /tmp/tmp8787rseh/tmp/tmp8787rseh/a.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmp8787rseh/tmp/tmp8787rseh/a.o -L/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o /tmp/tmp8787rseh/liba.so
  creating /tmp/tmpvr1mjf97/tmp
  creating /tmp/tmpvr1mjf97/tmp/tmpvr1mjf97
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/cuda-10.1/include -c /tmp/tmpvr1mjf97/a.cpp -o /tmp/tmpvr1mjf97/tmp/tmpvr1mjf97/a.o
  x86_64-linux-gnu-g++ -pthread /tmp/tmpvr1mjf97/tmp/tmpvr1mjf97/a.o -o /tmp/tmpvr1mjf97/a

  -------- Configuring Module: cudnn --------
  creating /tmp/tmpp9pb14ko/tmp
  creating /tmp/tmpp9pb14ko/tmp/tmpp9pb14ko
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmpp9pb14ko/a.cpp -o /tmp/tmpp9pb14ko/tmp/tmpp9pb14ko/a.o
  /tmp/tmpp9pb14ko/a.cpp:1:10: fatal error: cudnn.h: Datei oder Verzeichnis nicht gefunden
   #include <cudnn.h>
            ^~~~~~~~~
  compilation terminated.
  command 'x86_64-linux-gnu-gcc' failed with exit status 1

  -------- Configuring Module: nccl --------
  creating /tmp/tmpzp3qkvy1/tmp
  creating /tmp/tmpzp3qkvy1/tmp/tmpzp3qkvy1
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmpzp3qkvy1/a.cpp -o /tmp/tmpzp3qkvy1/tmp/tmpzp3qkvy1/a.o
  /tmp/tmpzp3qkvy1/a.cpp:1:10: fatal error: nccl.h: Datei oder Verzeichnis nicht gefunden
   #include <nccl.h>
            ^~~~~~~~
  compilation terminated.
  command 'x86_64-linux-gnu-gcc' failed with exit status 1

  -------- Configuring Module: cusolver --------
  creating /tmp/tmph4v0bmfj/tmp
  creating /tmp/tmph4v0bmfj/tmp/tmph4v0bmfj
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmph4v0bmfj/a.cpp -o /tmp/tmph4v0bmfj/tmp/tmph4v0bmfj/a.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmph4v0bmfj/tmp/tmph4v0bmfj/a.o -o /tmp/tmph4v0bmfj/liba.so
  creating /tmp/tmp61s1p_el/tmp
  creating /tmp/tmp61s1p_el/tmp/tmp61s1p_el
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -c /tmp/tmp61s1p_el/a.cpp -o /tmp/tmp61s1p_el/tmp/tmp61s1p_el/a.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmp61s1p_el/tmp/tmp61s1p_el/a.o -L/usr/local/cuda-10.1/lib64 -lcusolver -o /tmp/tmp61s1p_el/liba.so
  creating /tmp/tmp46sv8oyb/tmp
  creating /tmp/tmp46sv8oyb/tmp/tmp46sv8oyb
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/cuda-10.1/include -c /tmp/tmp46sv8oyb/a.cpp -o /tmp/tmp46sv8oyb/tmp/tmp46sv8oyb/a.o
  x86_64-linux-gnu-g++ -pthread /tmp/tmp46sv8oyb/tmp/tmp46sv8oyb/a.o -o /tmp/tmp46sv8oyb/a

  -------- Configuring Module: nvtx --------
  creating /tmp/tmppdf3frke/tmp
  creating /tmp/tmppdf3frke/tmp/tmppdf3frke
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmppdf3frke/a.cpp -o /tmp/tmppdf3frke/tmp/tmppdf3frke/a.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmppdf3frke/tmp/tmppdf3frke/a.o -o /tmp/tmppdf3frke/liba.so
  creating /tmp/tmp7wz68t_r/tmp
  creating /tmp/tmp7wz68t_r/tmp/tmp7wz68t_r
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -c /tmp/tmp7wz68t_r/a.cpp -o /tmp/tmp7wz68t_r/tmp/tmp7wz68t_r/a.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmp7wz68t_r/tmp/tmp7wz68t_r/a.o -L/usr/local/cuda-10.1/lib64 -lnvToolsExt -o /tmp/tmp7wz68t_r/liba.so

  -------- Configuring Module: thrust --------
  creating /tmp/tmpfy2xb0va/tmp
  creating /tmp/tmpfy2xb0va/tmp/tmpfy2xb0va
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmpfy2xb0va/a.cpp -o /tmp/tmpfy2xb0va/tmp/tmpfy2xb0va/a.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmpfy2xb0va/tmp/tmpfy2xb0va/a.o -o /tmp/tmpfy2xb0va/liba.so
  creating /tmp/tmponegcapd/tmp
  creating /tmp/tmponegcapd/tmp/tmponegcapd
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -c /tmp/tmponegcapd/a.cpp -o /tmp/tmponegcapd/tmp/tmponegcapd/a.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmponegcapd/tmp/tmponegcapd/a.o -L/usr/local/cuda-10.1/lib64 -lcudart -o /tmp/tmponegcapd/liba.so
  creating /tmp/tmp4k3rju36/tmp
  creating /tmp/tmp4k3rju36/tmp/tmp4k3rju36
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/cuda-10.1/include -c /tmp/tmp4k3rju36/a.cpp -o /tmp/tmp4k3rju36/tmp/tmp4k3rju36/a.o
  x86_64-linux-gnu-g++ -pthread /tmp/tmp4k3rju36/tmp/tmp4k3rju36/a.o -o /tmp/tmp4k3rju36/a

  ************************************************************
  * CuPy Configuration Summary                               *
  ************************************************************

  Build Environment:
    Include directories: ['/usr/local/cuda-10.1/include']
    Library directories: ['/usr/local/cuda-10.1/lib64']
    nvcc command       : ['/usr/local/cuda-10.1/bin/nvcc']

  Environment Variables:
    CFLAGS          : (none)
    LDFLAGS         : (none)
    LIBRARY_PATH    : (none)
    CUDA_PATH       : (none)
    NVTOOLSEXT_PATH : (none)
    NVCC            : (none)

  Modules:
    cuda      : Yes (version 10010)
    cudnn     : No
      -> Include files not found: ['cudnn.h']
      -> Check your CFLAGS environment variable.
    nccl      : No
      -> Include files not found: ['nccl.h']
      -> Check your CFLAGS environment variable.
    cusolver  : Yes
    nvtx      : Yes
    thrust    : Yes

  WARNING: Some modules could not be configured.
  CuPy will be installed without these modules.
  Please refer to the Installation Guide for details:
  https://docs-cupy.chainer.org/en/stable/install.html

  ************************************************************

  NOTICE: Skipping cythonize as cupy/core/_dtype.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/core/_kernel.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/core/_scalar.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/core/core.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/core/dlpack.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/core/flags.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/core/internal.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/core/raw.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/cublas.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/cufft.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/curand.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/cusparse.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/device.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/driver.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/memory.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/memory_hook.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/nvrtc.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/pinned_memory.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/profiler.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/function.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/stream.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/runtime.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/util.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/cusolver.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/nvtx.pyx does not exist.
  NOTICE: Skipping cythonize as cupy/cuda/thrust.pyx does not exist.
  building 'cupy.core._dtype' extension
  creating build/temp.linux-x86_64-3.6
  creating build/temp.linux-x86_64-3.6/cupy
  creating build/temp.linux-x86_64-3.6/cupy/core
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/_dtype.cpp -o build/temp.linux-x86_64-3.6/cupy/core/_dtype.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/_dtype.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/_dtype.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.core._kernel' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/_kernel.cpp -o build/temp.linux-x86_64-3.6/cupy/core/_kernel.o
  cupy/core/_kernel.cpp: In function ‘PyObject* __pyx_f_4cupy_4core_7_kernel__reduce_dims(PyObject*, PyObject*, PyObject*, int)’:
  cupy/core/_kernel.cpp:5940:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     __pyx_t_2 = ((__pyx_v_axes.size() == __pyx_v_ndim) != 0);
                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  cupy/core/_kernel.cpp: In function ‘PyObject* __pyx_pf_4cupy_4core_7_kernel_25simple_reduction_function_2__call__(PyObject*, PyObject*, __pyx_obj_4cupy_4core_4core_ndarray*, PyObject*, PyObject*, __pyx_obj_4cupy_4core_4core_ndarray*, int)’:
  cupy/core/_kernel.cpp:23032:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (((__pyx_t_9 > __pyx_t_10) != 0)) {
           ~~~~~~~~~~^~~~~~~~~~~~
  cupy/core/_kernel.cpp: In function ‘PyObject* __pyx_pf_4cupy_4core_7_kernel_15ReductionKernel_2__call__(PyObject*, PyObject*, PyObject*, PyObject*)’:
  cupy/core/_kernel.cpp:26706:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (((__pyx_t_14 > __pyx_t_15) != 0)) {
           ~~~~~~~~~~~^~~~~~~~~~~~
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/_kernel.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/_kernel.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.core._scalar' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/_scalar.cpp -o build/temp.linux-x86_64-3.6/cupy/core/_scalar.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/_scalar.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/_scalar.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.core.core' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/core.cpp -o build/temp.linux-x86_64-3.6/cupy/core/core.o
  cupy/core/core.cpp: In function ‘PyObject* __pyx_f_4cupy_4core_4core_7ndarray_nonzero(__pyx_obj_4cupy_4core_4core_ndarray*, int)’:
  cupy/core/core.cpp:20658:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (((__pyx_t_9 > __pyx_t_10) != 0)) {
           ~~~~~~~~~~^~~~~~~~~~~~
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/core.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/core.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.core.dlpack' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/dlpack.cpp -o build/temp.linux-x86_64-3.6/cupy/core/dlpack.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/dlpack.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/dlpack.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.core.flags' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/flags.cpp -o build/temp.linux-x86_64-3.6/cupy/core/flags.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/flags.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/flags.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.core.internal' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/internal.cpp -o build/temp.linux-x86_64-3.6/cupy/core/internal.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/internal.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/internal.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.core.raw' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/raw.cpp -o build/temp.linux-x86_64-3.6/cupy/core/raw.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/raw.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/raw.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.cublas' extension
  creating build/temp.linux-x86_64-3.6/cupy/cuda
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/cublas.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/cublas.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/cublas.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/cublas.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.cufft' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/cufft.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/cufft.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/cufft.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/cufft.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.curand' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/curand.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/curand.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/curand.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/curand.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.cusparse' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/cusparse.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/cusparse.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/cusparse.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/cusparse.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.device' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/device.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/device.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/device.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/device.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.driver' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/driver.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/driver.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/driver.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/driver.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.memory' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/memory.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/memory.o
  cupy/cuda/memory.cpp: In function ‘int __pyx_f_4cupy_4cuda_6memory__remove_from_free_list(PyObject*, std::vector<int>*, std::vector<signed char>*, __pyx_obj_4cupy_4cuda_6memory__Chunk*)’:
  cupy/cuda/memory.cpp:14055:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     __pyx_t_1 = ((__pyx_v_index == __pyx_v_a_index->size()) != 0);
                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /usr/include/sched.h:29:0,
                   from /usr/include/pthread.h:23,
                   from /usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:35,
                   from /usr/include/x86_64-linux-gnu/c++/7/bits/gthr.h:148,
                   from /usr/include/c++/7/ext/atomicity.h:35,
                   from /usr/include/c++/7/bits/ios_base.h:39,
                   from /usr/include/c++/7/ios:42,
                   from cupy/cuda/memory.cpp:621:
  cupy/cuda/memory.cpp: In function ‘int __Pyx_modinit_type_init_code()’:
  cupy/cuda/memory.cpp:28438:168: warning: offsetof within non-standard-layout type ‘__pyx_obj_4cupy_4cuda_6memory_SingleDeviceMemoryPool’ is undefined [-Winvalid-offsetof]
     if (__pyx_type_4cupy_4cuda_6memory_SingleDeviceMemoryPool.tp_weaklistoffset == 0) __pyx_type_4cupy_4cuda_6memory_SingleDeviceMemoryPool.tp_weaklistoffset = offsetof(struct __pyx_obj_4cupy_4cuda_6memory_SingleDeviceMemoryPool, __weakref__);
                                                                                                                                                                          ^
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/memory.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/memory.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.memory_hook' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/memory_hook.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/memory_hook.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/memory_hook.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/memory_hook.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.nvrtc' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/nvrtc.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/nvrtc.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/nvrtc.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/nvrtc.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.pinned_memory' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/pinned_memory.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/pinned_memory.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/pinned_memory.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/pinned_memory.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.profiler' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/profiler.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/profiler.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/profiler.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/profiler.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.function' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/function.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/function.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/function.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/function.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.stream' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/stream.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/stream.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/stream.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/stream.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.runtime' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/runtime.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/runtime.o
  cupy/cuda/runtime.cpp: In function ‘__pyx_obj_4cupy_4cuda_7runtime_PointerAttributes* __pyx_f_4cupy_4cuda_7runtime_pointerGetAttributes(size_t, int)’:
  cupy/cuda/runtime.cpp:6720:50: warning: ‘cudaPointerAttributes::isManaged’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_attrs.isManaged); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                    ^~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:627:
  /usr/local/cuda-10.1/include/driver_types.h:1341:27: note: declared here
       __CUDA_DEPRECATED int isManaged;
                             ^~~~~~~~~
  cupy/cuda/runtime.cpp:6720:50: warning: ‘cudaPointerAttributes::isManaged’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_attrs.isManaged); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                    ^~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:627:
  /usr/local/cuda-10.1/include/driver_types.h:1341:27: note: declared here
       __CUDA_DEPRECATED int isManaged;
                             ^~~~~~~~~
  cupy/cuda/runtime.cpp:6720:50: warning: ‘cudaPointerAttributes::isManaged’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_attrs.isManaged); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                    ^~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:627:
  /usr/local/cuda-10.1/include/driver_types.h:1341:27: note: declared here
       __CUDA_DEPRECATED int isManaged;
                             ^~~~~~~~~
  cupy/cuda/runtime.cpp:6722:50: warning: ‘cudaPointerAttributes::memoryType’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_attrs.memoryType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                    ^~~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:627:
  /usr/local/cuda-10.1/include/driver_types.h:1302:43: note: declared here
       __CUDA_DEPRECATED enum cudaMemoryType memoryType;
                                             ^~~~~~~~~~
  cupy/cuda/runtime.cpp:6722:50: warning: ‘cudaPointerAttributes::memoryType’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_attrs.memoryType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                    ^~~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:627:
  /usr/local/cuda-10.1/include/driver_types.h:1302:43: note: declared here
       __CUDA_DEPRECATED enum cudaMemoryType memoryType;
                                             ^~~~~~~~~~
  cupy/cuda/runtime.cpp:6722:50: warning: ‘cudaPointerAttributes::memoryType’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_attrs.memoryType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                    ^~~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:627:
  /usr/local/cuda-10.1/include/driver_types.h:1302:43: note: declared here
       __CUDA_DEPRECATED enum cudaMemoryType memoryType;
                                             ^~~~~~~~~~
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/runtime.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/runtime.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.util' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/util.cpp -o build/temp.linux-x86_64-3.6/cupy/util.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/util.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/util.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.cusolver' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/cusolver.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/cusolver.o -fopenmp
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/cusolver.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcusolver -o build/lib.linux-x86_64-3.6/cupy/cuda/cusolver.cpython-36m-x86_64-linux-gnu.so -fopenmp
  building 'cupy.cuda.nvtx' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/nvtx.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/nvtx.o
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/nvtx.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lnvToolsExt -o build/lib.linux-x86_64-3.6/cupy/cuda/nvtx.cpython-36m-x86_64-linux-gnu.so
  building 'cupy.cuda.thrust' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/thrust.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/thrust.o
  NVCC options: ['--generate-code=arch=compute_30,code=compute_30', '--generate-code=arch=compute_50,code=compute_50', '--generate-code=arch=compute_60,code=sm_60', '--generate-code=arch=compute_61,code=sm_61', '--generate-code=arch=compute_70,code=sm_70', '--generate-code=arch=compute_70,code=compute_70', '-O2', '--compiler-options="-fPIC"']
  /usr/local/cuda-10.1/bin/nvcc -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/cupy_thrust.cu -o build/temp.linux-x86_64-3.6/cupy/cuda/cupy_thrust.o --generate-code=arch=compute_30,code=compute_30 --generate-code=arch=compute_50,code=compute_50 --generate-code=arch=compute_60,code=sm_60 --generate-code=arch=compute_61,code=sm_61 --generate-code=arch=compute_70,code=sm_70 --generate-code=arch=compute_70,code=compute_70 -O2 --compiler-options="-fPIC"
  /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
  /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.h:5033:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.h:5054:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
  /usr/include/c++/7/bits/basic_string.h:6679:95:   required from here
  /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’ without object
         __p->_M_set_sharable();
         ~~~~~~~~~^~
  /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
  /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.h:5033:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.h:5054:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
  /usr/include/c++/7/bits/basic_string.h:6684:95:   required from here
  /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’ without object
  error: command '/usr/local/cuda-10.1/bin/nvcc' failed with exit status 1
error
  Failed building wheel for cupy
  Running setup.py clean for cupy
  Running command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-khrkl7rx/cupy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all
  Options: {'package_name': 'cupy', 'long_description': None, 'wheel_libs': [], 'no_rpath': False, 'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}
  Removing directory: cupy/_lib

  -------- Configuring Module: cuda --------

  -------- Configuring Module: cudnn --------
  /tmp/tmpqlyq4o6k/a.cpp:1:10: fatal error: cudnn.h: Datei oder Verzeichnis nicht gefunden
   #include <cudnn.h>
            ^~~~~~~~~
  compilation terminated.
  command 'x86_64-linux-gnu-gcc' failed with exit status 1

  -------- Configuring Module: nccl --------
  /tmp/tmp2r3tvezv/a.cpp:1:10: fatal error: nccl.h: Datei oder Verzeichnis nicht gefunden
   #include <nccl.h>
            ^~~~~~~~
  compilation terminated.
  command 'x86_64-linux-gnu-gcc' failed with exit status 1

  -------- Configuring Module: cusolver --------

  -------- Configuring Module: nvtx --------

  -------- Configuring Module: thrust --------

  ************************************************************
  * CuPy Configuration Summary                               *
  ************************************************************

  Build Environment:
    Include directories: ['/usr/local/cuda-10.1/include']
    Library directories: ['/usr/local/cuda-10.1/lib64']
    nvcc command       : ['/usr/local/cuda-10.1/bin/nvcc']

  Environment Variables:
    CFLAGS          : (none)
    LDFLAGS         : (none)
    LIBRARY_PATH    : (none)
    CUDA_PATH       : (none)
    NVTOOLSEXT_PATH : (none)
    NVCC            : (none)

  Modules:
    cuda      : Yes (version 10010)
    cudnn     : No
      -> Include files not found: ['cudnn.h']
      -> Check your CFLAGS environment variable.
    nccl      : No
      -> Include files not found: ['nccl.h']
      -> Check your CFLAGS environment variable.
    cusolver  : Yes
    nvtx      : Yes
    thrust    : Yes

  WARNING: Some modules could not be configured.
  CuPy will be installed without these modules.
  Please refer to the Installation Guide for details:
  https://docs-cupy.chainer.org/en/stable/install.html

  ************************************************************

  running clean
  removing 'build/temp.linux-x86_64-3.6' (and everything under it)
  removing 'build/lib.linux-x86_64-3.6' (and everything under it)
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-3.6' does not exist -- can't clean it
  removing 'build'
Failed to build cupy
Installing collected packages: cupy
  Created temporary directory: /tmp/pip-record-dj_vby14
  Running setup.py install for cupy ...     Running command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-khrkl7rx/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-record-dj_vby14/install-record.txt --single-version-externally-managed --compile --user --prefix=
    Options: {'package_name': 'cupy', 'long_description': None, 'wheel_libs': [], 'no_rpath': False, 'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}
    Removing directory: cupy/_lib

    -------- Configuring Module: cuda --------

    -------- Configuring Module: cudnn --------
    /tmp/tmpb29lnin7/a.cpp:1:10: fatal error: cudnn.h: Datei oder Verzeichnis nicht gefunden
     #include <cudnn.h>
              ^~~~~~~~~
    compilation terminated.
    command 'x86_64-linux-gnu-gcc' failed with exit status 1

    -------- Configuring Module: nccl --------
    /tmp/tmpexqfpd79/a.cpp:1:10: fatal error: nccl.h: Datei oder Verzeichnis nicht gefunden
     #include <nccl.h>
              ^~~~~~~~
    compilation terminated.
    command 'x86_64-linux-gnu-gcc' failed with exit status 1

    -------- Configuring Module: cusolver --------

    -------- Configuring Module: nvtx --------

    -------- Configuring Module: thrust --------

    ************************************************************
    * CuPy Configuration Summary                               *
    ************************************************************

    Build Environment:
      Include directories: ['/usr/local/cuda-10.1/include']
      Library directories: ['/usr/local/cuda-10.1/lib64']
      nvcc command       : ['/usr/local/cuda-10.1/bin/nvcc']

    Environment Variables:
      CFLAGS          : (none)
      LDFLAGS         : (none)
      LIBRARY_PATH    : (none)
      CUDA_PATH       : (none)
      NVTOOLSEXT_PATH : (none)
      NVCC            : (none)

    Modules:
      cuda      : Yes (version 10010)
      cudnn     : No
        -> Include files not found: ['cudnn.h']
        -> Check your CFLAGS environment variable.
      nccl      : No
        -> Include files not found: ['nccl.h']
        -> Check your CFLAGS environment variable.
      cusolver  : Yes
      nvtx      : Yes
      thrust    : Yes

    WARNING: Some modules could not be configured.
    CuPy will be installed without these modules.
    Please refer to the Installation Guide for details:
    https://docs-cupy.chainer.org/en/stable/install.html

    ************************************************************

    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    creating build/lib.linux-x86_64-3.6/cupy
    copying cupy/_version.py -> build/lib.linux-x86_64-3.6/cupy
    copying cupy/internal.py -> build/lib.linux-x86_64-3.6/cupy
    copying cupy/__init__.py -> build/lib.linux-x86_64-3.6/cupy
    copying cupy/cusparse.py -> build/lib.linux-x86_64-3.6/cupy
    creating build/lib.linux-x86_64-3.6/cupy/binary
    copying cupy/binary/elementwise.py -> build/lib.linux-x86_64-3.6/cupy/binary
    copying cupy/binary/__init__.py -> build/lib.linux-x86_64-3.6/cupy/binary
    copying cupy/binary/packing.py -> build/lib.linux-x86_64-3.6/cupy/binary
    creating build/lib.linux-x86_64-3.6/cupy/core
    copying cupy/core/fusion.py -> build/lib.linux-x86_64-3.6/cupy/core
    copying cupy/core/__init__.py -> build/lib.linux-x86_64-3.6/cupy/core
    creating build/lib.linux-x86_64-3.6/cupy/creation
    copying cupy/creation/ranges.py -> build/lib.linux-x86_64-3.6/cupy/creation
    copying cupy/creation/__init__.py -> build/lib.linux-x86_64-3.6/cupy/creation
    copying cupy/creation/matrix.py -> build/lib.linux-x86_64-3.6/cupy/creation
    copying cupy/creation/from_data.py -> build/lib.linux-x86_64-3.6/cupy/creation
    copying cupy/creation/basic.py -> build/lib.linux-x86_64-3.6/cupy/creation
    creating build/lib.linux-x86_64-3.6/cupy/cuda
    copying cupy/cuda/__init__.py -> build/lib.linux-x86_64-3.6/cupy/cuda
    copying cupy/cuda/compiler.py -> build/lib.linux-x86_64-3.6/cupy/cuda
    creating build/lib.linux-x86_64-3.6/cupy/cuda/memory_hooks
    copying cupy/cuda/memory_hooks/debug_print.py -> build/lib.linux-x86_64-3.6/cupy/cuda/memory_hooks
    copying cupy/cuda/memory_hooks/__init__.py -> build/lib.linux-x86_64-3.6/cupy/cuda/memory_hooks
    copying cupy/cuda/memory_hooks/line_profile.py -> build/lib.linux-x86_64-3.6/cupy/cuda/memory_hooks
    creating build/lib.linux-x86_64-3.6/cupy/ext
    copying cupy/ext/scatter.py -> build/lib.linux-x86_64-3.6/cupy/ext
    copying cupy/ext/__init__.py -> build/lib.linux-x86_64-3.6/cupy/ext
    creating build/lib.linux-x86_64-3.6/cupy/fft
    copying cupy/fft/fft.py -> build/lib.linux-x86_64-3.6/cupy/fft
    copying cupy/fft/__init__.py -> build/lib.linux-x86_64-3.6/cupy/fft
    creating build/lib.linux-x86_64-3.6/cupy/indexing
    copying cupy/indexing/indexing.py -> build/lib.linux-x86_64-3.6/cupy/indexing
    copying cupy/indexing/generate.py -> build/lib.linux-x86_64-3.6/cupy/indexing
    copying cupy/indexing/__init__.py -> build/lib.linux-x86_64-3.6/cupy/indexing
    copying cupy/indexing/insert.py -> build/lib.linux-x86_64-3.6/cupy/indexing
    creating build/lib.linux-x86_64-3.6/cupy/io
    copying cupy/io/rawfile.py -> build/lib.linux-x86_64-3.6/cupy/io
    copying cupy/io/text.py -> build/lib.linux-x86_64-3.6/cupy/io
    copying cupy/io/formatting.py -> build/lib.linux-x86_64-3.6/cupy/io
    copying cupy/io/npz.py -> build/lib.linux-x86_64-3.6/cupy/io
    copying cupy/io/__init__.py -> build/lib.linux-x86_64-3.6/cupy/io
    creating build/lib.linux-x86_64-3.6/cupy/linalg
    copying cupy/linalg/util.py -> build/lib.linux-x86_64-3.6/cupy/linalg
    copying cupy/linalg/einsum_opt.py -> build/lib.linux-x86_64-3.6/cupy/linalg
    copying cupy/linalg/einsum.py -> build/lib.linux-x86_64-3.6/cupy/linalg
    copying cupy/linalg/decomposition.py -> build/lib.linux-x86_64-3.6/cupy/linalg
    copying cupy/linalg/product.py -> build/lib.linux-x86_64-3.6/cupy/linalg
    copying cupy/linalg/norms.py -> build/lib.linux-x86_64-3.6/cupy/linalg
    copying cupy/linalg/eigenvalue.py -> build/lib.linux-x86_64-3.6/cupy/linalg
    copying cupy/linalg/solve.py -> build/lib.linux-x86_64-3.6/cupy/linalg
    copying cupy/linalg/__init__.py -> build/lib.linux-x86_64-3.6/cupy/linalg
    creating build/lib.linux-x86_64-3.6/cupy/logic
    copying cupy/logic/content.py -> build/lib.linux-x86_64-3.6/cupy/logic
    copying cupy/logic/ops.py -> build/lib.linux-x86_64-3.6/cupy/logic
    copying cupy/logic/type_test.py -> build/lib.linux-x86_64-3.6/cupy/logic
    copying cupy/logic/__init__.py -> build/lib.linux-x86_64-3.6/cupy/logic
    copying cupy/logic/comparison.py -> build/lib.linux-x86_64-3.6/cupy/logic
    copying cupy/logic/truth.py -> build/lib.linux-x86_64-3.6/cupy/logic
    creating build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/tiling.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/rearrange.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/kind.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/split.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/shape.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/__init__.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/add_remove.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/join.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/dims.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/basic.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    copying cupy/manipulation/transpose.py -> build/lib.linux-x86_64-3.6/cupy/manipulation
    creating build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/sumprod.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/floating.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/arithmetic.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/misc.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/trigonometric.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/window.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/special.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/explog.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/__init__.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/ufunc.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/hyperbolic.py -> build/lib.linux-x86_64-3.6/cupy/math
    copying cupy/math/rounding.py -> build/lib.linux-x86_64-3.6/cupy/math
    creating build/lib.linux-x86_64-3.6/cupy/padding
    copying cupy/padding/__init__.py -> build/lib.linux-x86_64-3.6/cupy/padding
    copying cupy/padding/pad.py -> build/lib.linux-x86_64-3.6/cupy/padding
    creating build/lib.linux-x86_64-3.6/cupy/prof
    copying cupy/prof/__init__.py -> build/lib.linux-x86_64-3.6/cupy/prof
    copying cupy/prof/time_range.py -> build/lib.linux-x86_64-3.6/cupy/prof
    creating build/lib.linux-x86_64-3.6/cupy/random
    copying cupy/random/permutations.py -> build/lib.linux-x86_64-3.6/cupy/random
    copying cupy/random/generator.py -> build/lib.linux-x86_64-3.6/cupy/random
    copying cupy/random/sample.py -> build/lib.linux-x86_64-3.6/cupy/random
    copying cupy/random/distributions.py -> build/lib.linux-x86_64-3.6/cupy/random
    copying cupy/random/__init__.py -> build/lib.linux-x86_64-3.6/cupy/random
    copying cupy/random/_kernels.py -> build/lib.linux-x86_64-3.6/cupy/random
    creating build/lib.linux-x86_64-3.6/cupy/sorting
    copying cupy/sorting/sort.py -> build/lib.linux-x86_64-3.6/cupy/sorting
    copying cupy/sorting/count.py -> build/lib.linux-x86_64-3.6/cupy/sorting
    copying cupy/sorting/__init__.py -> build/lib.linux-x86_64-3.6/cupy/sorting
    copying cupy/sorting/search.py -> build/lib.linux-x86_64-3.6/cupy/sorting
    creating build/lib.linux-x86_64-3.6/cupy/sparse
    copying cupy/sparse/__init__.py -> build/lib.linux-x86_64-3.6/cupy/sparse
    creating build/lib.linux-x86_64-3.6/cupy/sparse/linalg
    copying cupy/sparse/linalg/__init__.py -> build/lib.linux-x86_64-3.6/cupy/sparse/linalg
    creating build/lib.linux-x86_64-3.6/cupy/statistics
    copying cupy/statistics/correlation.py -> build/lib.linux-x86_64-3.6/cupy/statistics
    copying cupy/statistics/histogram.py -> build/lib.linux-x86_64-3.6/cupy/statistics
    copying cupy/statistics/__init__.py -> build/lib.linux-x86_64-3.6/cupy/statistics
    copying cupy/statistics/meanvar.py -> build/lib.linux-x86_64-3.6/cupy/statistics
    copying cupy/statistics/order.py -> build/lib.linux-x86_64-3.6/cupy/statistics
    creating build/lib.linux-x86_64-3.6/cupy/testing
    copying cupy/testing/attr.py -> build/lib.linux-x86_64-3.6/cupy/testing
    copying cupy/testing/parameterized.py -> build/lib.linux-x86_64-3.6/cupy/testing
    copying cupy/testing/condition.py -> build/lib.linux-x86_64-3.6/cupy/testing
    copying cupy/testing/array.py -> build/lib.linux-x86_64-3.6/cupy/testing
    copying cupy/testing/random.py -> build/lib.linux-x86_64-3.6/cupy/testing
    copying cupy/testing/__init__.py -> build/lib.linux-x86_64-3.6/cupy/testing
    copying cupy/testing/hypothesis.py -> build/lib.linux-x86_64-3.6/cupy/testing
    copying cupy/testing/helper.py -> build/lib.linux-x86_64-3.6/cupy/testing
    creating build/lib.linux-x86_64-3.6/cupyx
    copying cupyx/scatter.py -> build/lib.linux-x86_64-3.6/cupyx
    copying cupyx/runtime.py -> build/lib.linux-x86_64-3.6/cupyx
    copying cupyx/__init__.py -> build/lib.linux-x86_64-3.6/cupyx
    copying cupyx/rsqrt.py -> build/lib.linux-x86_64-3.6/cupyx
    creating build/lib.linux-x86_64-3.6/cupyx/scipy
    copying cupyx/scipy/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy
    creating build/lib.linux-x86_64-3.6/cupyx/scipy/ndimage
    copying cupyx/scipy/ndimage/interpolation.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/ndimage
    copying cupyx/scipy/ndimage/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/ndimage
    creating build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/data.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/util.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/csr.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/coo.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/sputils.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/construct.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/csc.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/dia.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/compressed.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    copying cupyx/scipy/sparse/base.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse
    creating build/lib.linux-x86_64-3.6/cupyx/scipy/sparse/linalg
    copying cupyx/scipy/sparse/linalg/solve.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse/linalg
    copying cupyx/scipy/sparse/linalg/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/sparse/linalg
    creating build/lib.linux-x86_64-3.6/cupyx/scipy/special
    copying cupyx/scipy/special/zeta.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
    copying cupyx/scipy/special/gammaln.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
    copying cupyx/scipy/special/statistics.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
    copying cupyx/scipy/special/bessel.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
    copying cupyx/scipy/special/erf.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
    copying cupyx/scipy/special/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
    copying cupyx/scipy/special/polygamma.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
    copying cupyx/scipy/special/digamma.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
    copying cupyx/scipy/special/gamma.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/special
    creating build/lib.linux-x86_64-3.6/cupyx/scipy/linalg
    copying cupyx/scipy/linalg/solve_triangular.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/linalg
    copying cupyx/scipy/linalg/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/scipy/linalg
    creating build/lib.linux-x86_64-3.6/cupyx/linalg
    copying cupyx/linalg/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/linalg
    creating build/lib.linux-x86_64-3.6/cupyx/linalg/sparse
    copying cupyx/linalg/sparse/solve.py -> build/lib.linux-x86_64-3.6/cupyx/linalg/sparse
    copying cupyx/linalg/sparse/__init__.py -> build/lib.linux-x86_64-3.6/cupyx/linalg/sparse
    creating build/lib.linux-x86_64-3.6/cupy/core/include
    creating build/lib.linux-x86_64-3.6/cupy/core/include/cupy
    creating build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/arithmetic.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/catrig.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/catrigf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/ccosh.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/ccoshf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/cexp.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/cexpf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/clog.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/clogf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/complex.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/complex_inl.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/cpow.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/cproj.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/csinh.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/csinhf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/csqrt.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/csqrtf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/ctanh.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/ctanhf.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/complex/math_private.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/complex
    copying cupy/core/include/cupy/carray.cuh -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy
    copying cupy/core/include/cupy/complex.cuh -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy
    copying cupy/core/include/cupy/atomics.cuh -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy
    creating build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda
    creating build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-10.0
    copying cupy/core/include/cupy/_cuda/cuda-10.0/cuda_fp16.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-10.0
    creating build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-9.2
    copying cupy/core/include/cupy/_cuda/cuda-9.2/cuda_fp16.h -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-9.2
    copying cupy/core/include/cupy/_cuda/cuda-10.0/cuda_fp16.hpp -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-10.0
    copying cupy/core/include/cupy/_cuda/cuda-9.2/cuda_fp16.hpp -> build/lib.linux-x86_64-3.6/cupy/core/include/cupy/_cuda/cuda-9.2
    copying cupy/cuda/cupy_thrust.cu -> build/lib.linux-x86_64-3.6/cupy/cuda
    running build_ext

    -------- Configuring Module: cuda --------
    creating /tmp/tmpfgw0ip5b/tmp
    creating /tmp/tmpfgw0ip5b/tmp/tmpfgw0ip5b
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmpfgw0ip5b/a.cpp -o /tmp/tmpfgw0ip5b/tmp/tmpfgw0ip5b/a.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmpfgw0ip5b/tmp/tmpfgw0ip5b/a.o -o /tmp/tmpfgw0ip5b/liba.so
    creating /tmp/tmpa6xj0xuv/tmp
    creating /tmp/tmpa6xj0xuv/tmp/tmpa6xj0xuv
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -c /tmp/tmpa6xj0xuv/a.cpp -o /tmp/tmpa6xj0xuv/tmp/tmpa6xj0xuv/a.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmpa6xj0xuv/tmp/tmpa6xj0xuv/a.o -L/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o /tmp/tmpa6xj0xuv/liba.so
    creating /tmp/tmplg8p8iyn/tmp
    creating /tmp/tmplg8p8iyn/tmp/tmplg8p8iyn
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/cuda-10.1/include -c /tmp/tmplg8p8iyn/a.cpp -o /tmp/tmplg8p8iyn/tmp/tmplg8p8iyn/a.o
    x86_64-linux-gnu-g++ -pthread /tmp/tmplg8p8iyn/tmp/tmplg8p8iyn/a.o -o /tmp/tmplg8p8iyn/a

    -------- Configuring Module: cudnn --------
    creating /tmp/tmp5j5vdcl7/tmp
    creating /tmp/tmp5j5vdcl7/tmp/tmp5j5vdcl7
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmp5j5vdcl7/a.cpp -o /tmp/tmp5j5vdcl7/tmp/tmp5j5vdcl7/a.o
    /tmp/tmp5j5vdcl7/a.cpp:1:10: fatal error: cudnn.h: Datei oder Verzeichnis nicht gefunden
     #include <cudnn.h>
              ^~~~~~~~~
    compilation terminated.
    command 'x86_64-linux-gnu-gcc' failed with exit status 1

    -------- Configuring Module: nccl --------
    creating /tmp/tmps4doq158/tmp
    creating /tmp/tmps4doq158/tmp/tmps4doq158
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmps4doq158/a.cpp -o /tmp/tmps4doq158/tmp/tmps4doq158/a.o
    /tmp/tmps4doq158/a.cpp:1:10: fatal error: nccl.h: Datei oder Verzeichnis nicht gefunden
     #include <nccl.h>
              ^~~~~~~~
    compilation terminated.
    command 'x86_64-linux-gnu-gcc' failed with exit status 1

    -------- Configuring Module: cusolver --------
    creating /tmp/tmp5o7lm4mz/tmp
    creating /tmp/tmp5o7lm4mz/tmp/tmp5o7lm4mz
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmp5o7lm4mz/a.cpp -o /tmp/tmp5o7lm4mz/tmp/tmp5o7lm4mz/a.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmp5o7lm4mz/tmp/tmp5o7lm4mz/a.o -o /tmp/tmp5o7lm4mz/liba.so
    creating /tmp/tmp3_piolnz/tmp
    creating /tmp/tmp3_piolnz/tmp/tmp3_piolnz
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -c /tmp/tmp3_piolnz/a.cpp -o /tmp/tmp3_piolnz/tmp/tmp3_piolnz/a.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmp3_piolnz/tmp/tmp3_piolnz/a.o -L/usr/local/cuda-10.1/lib64 -lcusolver -o /tmp/tmp3_piolnz/liba.so
    creating /tmp/tmpayrbuirv/tmp
    creating /tmp/tmpayrbuirv/tmp/tmpayrbuirv
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/cuda-10.1/include -c /tmp/tmpayrbuirv/a.cpp -o /tmp/tmpayrbuirv/tmp/tmpayrbuirv/a.o
    x86_64-linux-gnu-g++ -pthread /tmp/tmpayrbuirv/tmp/tmpayrbuirv/a.o -o /tmp/tmpayrbuirv/a

    -------- Configuring Module: nvtx --------
    creating /tmp/tmp2i9s5zao/tmp
    creating /tmp/tmp2i9s5zao/tmp/tmp2i9s5zao
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmp2i9s5zao/a.cpp -o /tmp/tmp2i9s5zao/tmp/tmp2i9s5zao/a.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmp2i9s5zao/tmp/tmp2i9s5zao/a.o -o /tmp/tmp2i9s5zao/liba.so
    creating /tmp/tmpt774wu5c/tmp
    creating /tmp/tmpt774wu5c/tmp/tmpt774wu5c
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -c /tmp/tmpt774wu5c/a.cpp -o /tmp/tmpt774wu5c/tmp/tmpt774wu5c/a.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmpt774wu5c/tmp/tmpt774wu5c/a.o -L/usr/local/cuda-10.1/lib64 -lnvToolsExt -o /tmp/tmpt774wu5c/liba.so

    -------- Configuring Module: thrust --------
    creating /tmp/tmp6y0j9db6/tmp
    creating /tmp/tmp6y0j9db6/tmp/tmp6y0j9db6
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -c /tmp/tmp6y0j9db6/a.cpp -o /tmp/tmp6y0j9db6/tmp/tmp6y0j9db6/a.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmp6y0j9db6/tmp/tmp6y0j9db6/a.o -o /tmp/tmp6y0j9db6/liba.so
    creating /tmp/tmpidls7hs7/tmp
    creating /tmp/tmpidls7hs7/tmp/tmpidls7hs7
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -c /tmp/tmpidls7hs7/a.cpp -o /tmp/tmpidls7hs7/tmp/tmpidls7hs7/a.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/tmpidls7hs7/tmp/tmpidls7hs7/a.o -L/usr/local/cuda-10.1/lib64 -lcudart -o /tmp/tmpidls7hs7/liba.so
    creating /tmp/tmpiv3luijn/tmp
    creating /tmp/tmpiv3luijn/tmp/tmpiv3luijn
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/cuda-10.1/include -c /tmp/tmpiv3luijn/a.cpp -o /tmp/tmpiv3luijn/tmp/tmpiv3luijn/a.o
    x86_64-linux-gnu-g++ -pthread /tmp/tmpiv3luijn/tmp/tmpiv3luijn/a.o -o /tmp/tmpiv3luijn/a

    ************************************************************
    * CuPy Configuration Summary                               *
    ************************************************************

    Build Environment:
      Include directories: ['/usr/local/cuda-10.1/include']
      Library directories: ['/usr/local/cuda-10.1/lib64']
      nvcc command       : ['/usr/local/cuda-10.1/bin/nvcc']

    Environment Variables:
      CFLAGS          : (none)
      LDFLAGS         : (none)
      LIBRARY_PATH    : (none)
      CUDA_PATH       : (none)
      NVTOOLSEXT_PATH : (none)
      NVCC            : (none)

    Modules:
      cuda      : Yes (version 10010)
      cudnn     : No
        -> Include files not found: ['cudnn.h']
        -> Check your CFLAGS environment variable.
      nccl      : No
        -> Include files not found: ['nccl.h']
        -> Check your CFLAGS environment variable.
      cusolver  : Yes
      nvtx      : Yes
      thrust    : Yes

    WARNING: Some modules could not be configured.
    CuPy will be installed without these modules.
    Please refer to the Installation Guide for details:
    https://docs-cupy.chainer.org/en/stable/install.html

    ************************************************************

    NOTICE: Skipping cythonize as cupy/core/_dtype.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/core/_kernel.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/core/_scalar.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/core/core.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/core/dlpack.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/core/flags.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/core/internal.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/core/raw.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/cublas.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/cufft.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/curand.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/cusparse.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/device.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/driver.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/memory.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/memory_hook.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/nvrtc.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/pinned_memory.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/profiler.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/function.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/stream.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/runtime.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/util.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/cusolver.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/nvtx.pyx does not exist.
    NOTICE: Skipping cythonize as cupy/cuda/thrust.pyx does not exist.
    building 'cupy.core._dtype' extension
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/cupy
    creating build/temp.linux-x86_64-3.6/cupy/core
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/_dtype.cpp -o build/temp.linux-x86_64-3.6/cupy/core/_dtype.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/_dtype.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/_dtype.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.core._kernel' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/_kernel.cpp -o build/temp.linux-x86_64-3.6/cupy/core/_kernel.o
    cupy/core/_kernel.cpp: In function ‘PyObject* __pyx_f_4cupy_4core_7_kernel__reduce_dims(PyObject*, PyObject*, PyObject*, int)’:
    cupy/core/_kernel.cpp:5940:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       __pyx_t_2 = ((__pyx_v_axes.size() == __pyx_v_ndim) != 0);
                     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
    cupy/core/_kernel.cpp: In function ‘PyObject* __pyx_pf_4cupy_4core_7_kernel_25simple_reduction_function_2__call__(PyObject*, PyObject*, __pyx_obj_4cupy_4core_4core_ndarray*, PyObject*, PyObject*, __pyx_obj_4cupy_4core_4core_ndarray*, int)’:
    cupy/core/_kernel.cpp:23032:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (((__pyx_t_9 > __pyx_t_10) != 0)) {
             ~~~~~~~~~~^~~~~~~~~~~~
    cupy/core/_kernel.cpp: In function ‘PyObject* __pyx_pf_4cupy_4core_7_kernel_15ReductionKernel_2__call__(PyObject*, PyObject*, PyObject*, PyObject*)’:
    cupy/core/_kernel.cpp:26706:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (((__pyx_t_14 > __pyx_t_15) != 0)) {
             ~~~~~~~~~~~^~~~~~~~~~~~
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/_kernel.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/_kernel.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.core._scalar' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/_scalar.cpp -o build/temp.linux-x86_64-3.6/cupy/core/_scalar.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/_scalar.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/_scalar.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.core.core' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/core.cpp -o build/temp.linux-x86_64-3.6/cupy/core/core.o
    cupy/core/core.cpp: In function ‘PyObject* __pyx_f_4cupy_4core_4core_7ndarray_nonzero(__pyx_obj_4cupy_4core_4core_ndarray*, int)’:
    cupy/core/core.cpp:20658:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (((__pyx_t_9 > __pyx_t_10) != 0)) {
             ~~~~~~~~~~^~~~~~~~~~~~
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/core.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/core.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.core.dlpack' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/dlpack.cpp -o build/temp.linux-x86_64-3.6/cupy/core/dlpack.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/dlpack.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/dlpack.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.core.flags' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/flags.cpp -o build/temp.linux-x86_64-3.6/cupy/core/flags.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/flags.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/flags.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.core.internal' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/internal.cpp -o build/temp.linux-x86_64-3.6/cupy/core/internal.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/internal.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/internal.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.core.raw' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/core/raw.cpp -o build/temp.linux-x86_64-3.6/cupy/core/raw.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/core/raw.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/core/raw.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.cublas' extension
    creating build/temp.linux-x86_64-3.6/cupy/cuda
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/cublas.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/cublas.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/cublas.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/cublas.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.cufft' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/cufft.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/cufft.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/cufft.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/cufft.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.curand' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/curand.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/curand.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/curand.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/curand.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.cusparse' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/cusparse.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/cusparse.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/cusparse.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/cusparse.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.device' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/device.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/device.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/device.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/device.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.driver' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/driver.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/driver.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/driver.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/driver.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.memory' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/memory.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/memory.o
    cupy/cuda/memory.cpp: In function ‘int __pyx_f_4cupy_4cuda_6memory__remove_from_free_list(PyObject*, std::vector<int>*, std::vector<signed char>*, __pyx_obj_4cupy_4cuda_6memory__Chunk*)’:
    cupy/cuda/memory.cpp:14055:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       __pyx_t_1 = ((__pyx_v_index == __pyx_v_a_index->size()) != 0);
                     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/sched.h:29:0,
                     from /usr/include/pthread.h:23,
                     from /usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h:35,
                     from /usr/include/x86_64-linux-gnu/c++/7/bits/gthr.h:148,
                     from /usr/include/c++/7/ext/atomicity.h:35,
                     from /usr/include/c++/7/bits/ios_base.h:39,
                     from /usr/include/c++/7/ios:42,
                     from cupy/cuda/memory.cpp:621:
    cupy/cuda/memory.cpp: In function ‘int __Pyx_modinit_type_init_code()’:
    cupy/cuda/memory.cpp:28438:168: warning: offsetof within non-standard-layout type ‘__pyx_obj_4cupy_4cuda_6memory_SingleDeviceMemoryPool’ is undefined [-Winvalid-offsetof]
       if (__pyx_type_4cupy_4cuda_6memory_SingleDeviceMemoryPool.tp_weaklistoffset == 0) __pyx_type_4cupy_4cuda_6memory_SingleDeviceMemoryPool.tp_weaklistoffset = offsetof(struct __pyx_obj_4cupy_4cuda_6memory_SingleDeviceMemoryPool, __weakref__);
                                                                                                                                                                            ^
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/memory.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/memory.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.memory_hook' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/memory_hook.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/memory_hook.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/memory_hook.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/memory_hook.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.nvrtc' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/nvrtc.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/nvrtc.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/nvrtc.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/nvrtc.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.pinned_memory' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/pinned_memory.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/pinned_memory.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/pinned_memory.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/pinned_memory.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.profiler' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/profiler.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/profiler.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/profiler.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/profiler.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.function' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/function.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/function.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/function.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/function.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.stream' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/stream.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/stream.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/stream.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/stream.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.runtime' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/runtime.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/runtime.o
    cupy/cuda/runtime.cpp: In function ‘__pyx_obj_4cupy_4cuda_7runtime_PointerAttributes* __pyx_f_4cupy_4cuda_7runtime_pointerGetAttributes(size_t, int)’:
    cupy/cuda/runtime.cpp:6720:50: warning: ‘cudaPointerAttributes::isManaged’ is deprecated [-Wdeprecated-declarations]
       __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_attrs.isManaged); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                      ^~~~~~~~~
    In file included from /usr/include/cublas_api.h:72:0,
                     from /usr/include/cublas_v2.h:65,
                     from cupy/cuda/cupy_cuda.h:13,
                     from cupy/cuda/runtime.cpp:627:
    /usr/local/cuda-10.1/include/driver_types.h:1341:27: note: declared here
         __CUDA_DEPRECATED int isManaged;
                               ^~~~~~~~~
    cupy/cuda/runtime.cpp:6720:50: warning: ‘cudaPointerAttributes::isManaged’ is deprecated [-Wdeprecated-declarations]
       __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_attrs.isManaged); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                      ^~~~~~~~~
    In file included from /usr/include/cublas_api.h:72:0,
                     from /usr/include/cublas_v2.h:65,
                     from cupy/cuda/cupy_cuda.h:13,
                     from cupy/cuda/runtime.cpp:627:
    /usr/local/cuda-10.1/include/driver_types.h:1341:27: note: declared here
         __CUDA_DEPRECATED int isManaged;
                               ^~~~~~~~~
    cupy/cuda/runtime.cpp:6720:50: warning: ‘cudaPointerAttributes::isManaged’ is deprecated [-Wdeprecated-declarations]
       __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_attrs.isManaged); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                      ^~~~~~~~~
    In file included from /usr/include/cublas_api.h:72:0,
                     from /usr/include/cublas_v2.h:65,
                     from cupy/cuda/cupy_cuda.h:13,
                     from cupy/cuda/runtime.cpp:627:
    /usr/local/cuda-10.1/include/driver_types.h:1341:27: note: declared here
         __CUDA_DEPRECATED int isManaged;
                               ^~~~~~~~~
    cupy/cuda/runtime.cpp:6722:50: warning: ‘cudaPointerAttributes::memoryType’ is deprecated [-Wdeprecated-declarations]
       __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_attrs.memoryType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                      ^~~~~~~~~~
    In file included from /usr/include/cublas_api.h:72:0,
                     from /usr/include/cublas_v2.h:65,
                     from cupy/cuda/cupy_cuda.h:13,
                     from cupy/cuda/runtime.cpp:627:
    /usr/local/cuda-10.1/include/driver_types.h:1302:43: note: declared here
         __CUDA_DEPRECATED enum cudaMemoryType memoryType;
                                               ^~~~~~~~~~
    cupy/cuda/runtime.cpp:6722:50: warning: ‘cudaPointerAttributes::memoryType’ is deprecated [-Wdeprecated-declarations]
       __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_attrs.memoryType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                      ^~~~~~~~~~
    In file included from /usr/include/cublas_api.h:72:0,
                     from /usr/include/cublas_v2.h:65,
                     from cupy/cuda/cupy_cuda.h:13,
                     from cupy/cuda/runtime.cpp:627:
    /usr/local/cuda-10.1/include/driver_types.h:1302:43: note: declared here
         __CUDA_DEPRECATED enum cudaMemoryType memoryType;
                                               ^~~~~~~~~~
    cupy/cuda/runtime.cpp:6722:50: warning: ‘cudaPointerAttributes::memoryType’ is deprecated [-Wdeprecated-declarations]
       __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_attrs.memoryType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 316, __pyx_L1_error)
                                                      ^~~~~~~~~~
    In file included from /usr/include/cublas_api.h:72:0,
                     from /usr/include/cublas_v2.h:65,
                     from cupy/cuda/cupy_cuda.h:13,
                     from cupy/cuda/runtime.cpp:627:
    /usr/local/cuda-10.1/include/driver_types.h:1302:43: note: declared here
         __CUDA_DEPRECATED enum cudaMemoryType memoryType;
                                               ^~~~~~~~~~
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/runtime.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/cuda/runtime.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.util' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/util.cpp -o build/temp.linux-x86_64-3.6/cupy/util.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/util.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.6/cupy/util.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.cusolver' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/cusolver.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/cusolver.o -fopenmp
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/cusolver.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lcusolver -o build/lib.linux-x86_64-3.6/cupy/cuda/cusolver.cpython-36m-x86_64-linux-gnu.so -fopenmp
    building 'cupy.cuda.nvtx' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/nvtx.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/nvtx.o
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/cupy/cuda/nvtx.o -L/usr/local/cuda-10.1/lib64 -Wl,--enable-new-dtags,-R/usr/local/cuda-10.1/lib64 -lnvToolsExt -o build/lib.linux-x86_64-3.6/cupy/cuda/nvtx.cpython-36m-x86_64-linux-gnu.so
    building 'cupy.cuda.thrust' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/thrust.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/thrust.o
    NVCC options: ['--generate-code=arch=compute_30,code=compute_30', '--generate-code=arch=compute_50,code=compute_50', '--generate-code=arch=compute_60,code=sm_60', '--generate-code=arch=compute_61,code=sm_61', '--generate-code=arch=compute_70,code=sm_70', '--generate-code=arch=compute_70,code=compute_70', '-O2', '--compiler-options="-fPIC"']
    /usr/local/cuda-10.1/bin/nvcc -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/usr/include/python3.6m -c cupy/cuda/cupy_thrust.cu -o build/temp.linux-x86_64-3.6/cupy/cuda/cupy_thrust.o --generate-code=arch=compute_30,code=compute_30 --generate-code=arch=compute_50,code=compute_50 --generate-code=arch=compute_60,code=sm_60 --generate-code=arch=compute_61,code=sm_61 --generate-code=arch=compute_70,code=sm_70 --generate-code=arch=compute_70,code=compute_70 -O2 --compiler-options="-fPIC"
    /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
    /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/include/c++/7/bits/basic_string.h:5033:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/include/c++/7/bits/basic_string.h:5054:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
    /usr/include/c++/7/bits/basic_string.h:6679:95:   required from here
    /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’ without object
           __p->_M_set_sharable();
           ~~~~~~~~~^~
    /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
    /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/include/c++/7/bits/basic_string.h:5033:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/include/c++/7/bits/basic_string.h:5054:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
    /usr/include/c++/7/bits/basic_string.h:6684:95:   required from here
    /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’ without object
    error: command '/usr/local/cuda-10.1/bin/nvcc' failed with exit status 1
error
Cleaning up...
  Removing source in /tmp/pip-install-khrkl7rx/cupy
Removed build tracker '/tmp/pip-req-tracker-whx_ievq'
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-khrkl7rx/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-record-dj_vby14/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-khrkl7rx/cupy/
Exception information:
Traceback (most recent call last):
  File "/home/julian/.local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 179, in main
    status = self.run(options, args)
  File "/home/julian/.local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 393, in run
    use_user_site=options.use_user_site,
  File "/home/julian/.local/lib/python3.6/site-packages/pip/_internal/req/__init__.py", line 57, in install_given_reqs
    **kwargs
  File "/home/julian/.local/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 945, in install
    spinner=spinner,
  File "/home/julian/.local/lib/python3.6/site-packages/pip/_internal/utils/misc.py", line 761, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip._internal.exceptions.InstallationError: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-khrkl7rx/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-record-dj_vby14/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-khrkl7rx/cupy/
```



Discussion:
Could you give more information about your environment?

i.e., could you try `g++ --version`?
Should be the most recent version: g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
I also updated the original post.
Even,I get the same error as in Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-jz4mbeq4/cupy/

The error log as:
Collecting cupy
  Downloading https://files.pythonhosted.org/packages/c2/5d/cfb128bc2296ca2e9665962147ff56bd121738ab849ae4e1d5e6603ffd4c/cupy-5.3.0.tar.gz (2.5MB)
    100% |████████████████████████████████| 2.5MB 712kB/s 
    Complete output from command python setup.py egg_info:
    Options: {'package_name': 'cupy', 'long_description': None, 'wheel_libs': [], 'no_rpath': False, 'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}
    **************************************************
    *** WARNING: nvcc not in path.
    *** WARNING: Please set path to nvcc.
    **************************************************
    
    -------- Configuring Module: cuda --------
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    /home/chad7/anaconda3/compiler_compat/ld: unrecognised emulation mode: elf_x86_64
    Supported emulations: elf_i386 elf_iamcu
    collect2: error: ld returned 1 exit status
    Cannot build a stub file.
    Original error: command 'g++' failed with exit status 1
    
    ************************************************************
    * CuPy Configuration Summary                               *
    ************************************************************
    
    Build Environment:
      Include directories: ['/usr/local/cuda/include']
      Library directories: ['/usr/local/cuda/lib64']
      nvcc command       : ['/usr/local/cuda/bin/nvcc']
    
    Environment Variables:
      CFLAGS          : (none)
      LDFLAGS         : (none)
      LIBRARY_PATH    : (none)
      CUDA_PATH       : (none)
      NVTOOLSEXT_PATH : (none)
      NVCC            : (none)
    
    Modules:
      cuda      : No
        -> Include files not found: ['cublas_v2.h', 'cuda.h', 'cuda_profiler_api.h', 'cuda_runtime.h', 'cufft.h', 'curand.h', 'cusparse.h', 'nvrtc.h']
        -> Check your CFLAGS environment variable.
    
    ERROR: CUDA could not be found on your system.
    Please refer to the Installation Guide for details:
    https://docs-cupy.chainer.org/en/stable/install.html
    
    ************************************************************
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-jz4mbeq4/cupy/setup.py", line 120, in <module>
        ext_modules = cupy_setup_build.get_ext_modules()
      File "/tmp/pip-install-jz4mbeq4/cupy/cupy_setup_build.py", line 588, in get_ext_modules
        extensions = make_extensions(arg_options, compiler, use_cython)
      File "/tmp/pip-install-jz4mbeq4/cupy/cupy_setup_build.py", line 384, in make_extensions
        raise Exception('Your CUDA environment is invalid. '
    Exception: Your CUDA environment is invalid. Please check above error log.

I reproduced @JulianWgs's case on Ubuntu18.10 and CUDA 10.1 with GCC 8.2.
Can you try it on Ubuntu18.04LTS ?
I'll try it with Ubuntu18.04LTS.
I did reproduce the case on Ubuntu18.04LTS and CUDA 10.1 with GCC 7.3 as well.
May be the same problem:
https://devtalk.nvidia.com/default/topic/1048037/linux/cuda-10-1-nvidia-you-re-now-quot-fixing-quot-gcc-bugs-that-gcc-doesn-t-even-have/
I'm having the same issue:
Ubuntu 18.10
Cuda 10.1
gcc 8.2

Is there a solution for it?
It seems cupy doesn't support CUDA=10.1
Please see here.
https://docs-cupy.chainer.org/en/stable/install.html?highlight=install#requirements

I would like to use cupy with CUDA=10.1
the linked page shows cuda 10.1 as an option, so does the installation where it says there is a wheel ...
pip install cupy-cuda101

Can you create a wheel on cuda 10.1 please?  

here is what I get
```
❯ CUDA_PATH=/usr/local/cuda-10.1 pip install cupy

Collecting cupy
  Using cached https://files.pythonhosted.org/packages/cd/d6/532e5da87f3b513cd0b98bcbf9a58fb6758598039944c42cb93d13b71a5f/cupy-5.4.0.tar.gz
Requirement already satisfied: numpy>=1.9.0 in /home/fredguth/anaconda3/envs/fastai/lib/python3.7/site-packages (from cupy) (1.15.4)
Requirement already satisfied: six>=1.9.0 in /home/fredguth/anaconda3/envs/fastai/lib/python3.7/site-packages (from cupy) (1.11.0)
Requirement already satisfied: fastrlock>=0.3 in /home/fredguth/anaconda3/envs/fastai/lib/python3.7/site-packages (from cupy) (0.4)
Building wheels for collected packages: cupy
  Building wheel for cupy (setup.py) ... error
  Complete output from command /home/fredguth/anaconda3/envs/fastai/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-pkbvl0gu/cupy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-folqyndh --python-tag cp37:
  Options: {'package_name': 'cupy', 'long_description': None, 'wheel_libs': [], 'no_rpath': False, 'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}
  Removing directory: cupy/_lib
  
  -------- Configuring Module: cuda --------
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  
  -------- Configuring Module: cudnn --------
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  /tmp/tmpviohubld/a.cpp:1:10: fatal error: cudnn.h: No such file or directory
   #include <cudnn.h>
            ^~~~~~~~~
  compilation terminated.
  command 'gcc' failed with exit status 1
  
  -------- Configuring Module: nccl --------
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  /tmp/tmp7k1ytduz/a.cpp:1:10: fatal error: nccl.h: No such file or directory
   #include <nccl.h>
            ^~~~~~~~
  compilation terminated.
  command 'gcc' failed with exit status 1
  
  -------- Configuring Module: cusolver --------
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  
  -------- Configuring Module: nvtx --------
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  
  -------- Configuring Module: thrust --------
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  
  ************************************************************
  * CuPy Configuration Summary                               *
  ************************************************************
  
  Build Environment:
    Include directories: ['/usr/local/cuda-10.1/include']
    Library directories: ['/usr/local/cuda-10.1/lib64']
    nvcc command       : ['/usr/local/cuda-10.1/bin/nvcc']
  
  Environment Variables:
    CFLAGS          : (none)
    LDFLAGS         : (none)
    LIBRARY_PATH    : (none)
    CUDA_PATH       : /usr/local/cuda-10.1
    NVTOOLSEXT_PATH : (none)
    NVCC            : (none)
  
  Modules:
    cuda      : Yes (version 10010)
    cudnn     : No
      -> Include files not found: ['cudnn.h']
      -> Check your CFLAGS environment variable.
    nccl      : No
      -> Include files not found: ['nccl.h']
      -> Check your CFLAGS environment variable.
    cusolver  : Yes
    nvtx      : Yes
    thrust    : Yes
  
  WARNING: Some modules could not be configured.
  CuPy will be installed without these modules.
  Please refer to the Installation Guide for details:
  https://docs-cupy.chainer.org/en/stable/install.html
  
  ************************************************************
  
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/cupy
  copying cupy/cusparse.py -> build/lib.linux-x86_64-3.7/cupy
  copying cupy/__init__.py -> build/lib.linux-x86_64-3.7/cupy
  copying cupy/internal.py -> build/lib.linux-x86_64-3.7/cupy
  copying cupy/_version.py -> build/lib.linux-x86_64-3.7/cupy
  creating build/lib.linux-x86_64-3.7/cupy/binary
  copying cupy/binary/__init__.py -> build/lib.linux-x86_64-3.7/cupy/binary
  copying cupy/binary/elementwise.py -> build/lib.linux-x86_64-3.7/cupy/binary
  copying cupy/binary/packing.py -> build/lib.linux-x86_64-3.7/cupy/binary
  creating build/lib.linux-x86_64-3.7/cupy/core
  copying cupy/core/__init__.py -> build/lib.linux-x86_64-3.7/cupy/core
  copying cupy/core/fusion.py -> build/lib.linux-x86_64-3.7/cupy/core
  creating build/lib.linux-x86_64-3.7/cupy/creation
  copying cupy/creation/ranges.py -> build/lib.linux-x86_64-3.7/cupy/creation
  copying cupy/creation/__init__.py -> build/lib.linux-x86_64-3.7/cupy/creation
  copying cupy/creation/from_data.py -> build/lib.linux-x86_64-3.7/cupy/creation
  copying cupy/creation/matrix.py -> build/lib.linux-x86_64-3.7/cupy/creation
  copying cupy/creation/basic.py -> build/lib.linux-x86_64-3.7/cupy/creation
  creating build/lib.linux-x86_64-3.7/cupy/cuda
  copying cupy/cuda/compiler.py -> build/lib.linux-x86_64-3.7/cupy/cuda
  copying cupy/cuda/__init__.py -> build/lib.linux-x86_64-3.7/cupy/cuda
  creating build/lib.linux-x86_64-3.7/cupy/cuda/memory_hooks
  copying cupy/cuda/memory_hooks/line_profile.py -> build/lib.linux-x86_64-3.7/cupy/cuda/memory_hooks
  copying cupy/cuda/memory_hooks/__init__.py -> build/lib.linux-x86_64-3.7/cupy/cuda/memory_hooks
  copying cupy/cuda/memory_hooks/debug_print.py -> build/lib.linux-x86_64-3.7/cupy/cuda/memory_hooks
  creating build/lib.linux-x86_64-3.7/cupy/ext
  copying cupy/ext/scatter.py -> build/lib.linux-x86_64-3.7/cupy/ext
  copying cupy/ext/__init__.py -> build/lib.linux-x86_64-3.7/cupy/ext
  creating build/lib.linux-x86_64-3.7/cupy/fft
  copying cupy/fft/fft.py -> build/lib.linux-x86_64-3.7/cupy/fft
  copying cupy/fft/__init__.py -> build/lib.linux-x86_64-3.7/cupy/fft
  creating build/lib.linux-x86_64-3.7/cupy/indexing
  copying cupy/indexing/insert.py -> build/lib.linux-x86_64-3.7/cupy/indexing
  copying cupy/indexing/__init__.py -> build/lib.linux-x86_64-3.7/cupy/indexing
  copying cupy/indexing/generate.py -> build/lib.linux-x86_64-3.7/cupy/indexing
  copying cupy/indexing/indexing.py -> build/lib.linux-x86_64-3.7/cupy/indexing
  creating build/lib.linux-x86_64-3.7/cupy/io
  copying cupy/io/rawfile.py -> build/lib.linux-x86_64-3.7/cupy/io
  copying cupy/io/__init__.py -> build/lib.linux-x86_64-3.7/cupy/io
  copying cupy/io/text.py -> build/lib.linux-x86_64-3.7/cupy/io
  copying cupy/io/formatting.py -> build/lib.linux-x86_64-3.7/cupy/io
  copying cupy/io/npz.py -> build/lib.linux-x86_64-3.7/cupy/io
  creating build/lib.linux-x86_64-3.7/cupy/linalg
  copying cupy/linalg/eigenvalue.py -> build/lib.linux-x86_64-3.7/cupy/linalg
  copying cupy/linalg/util.py -> build/lib.linux-x86_64-3.7/cupy/linalg
  copying cupy/linalg/__init__.py -> build/lib.linux-x86_64-3.7/cupy/linalg
  copying cupy/linalg/solve.py -> build/lib.linux-x86_64-3.7/cupy/linalg
  copying cupy/linalg/einsum.py -> build/lib.linux-x86_64-3.7/cupy/linalg
  copying cupy/linalg/einsum_opt.py -> build/lib.linux-x86_64-3.7/cupy/linalg
  copying cupy/linalg/norms.py -> build/lib.linux-x86_64-3.7/cupy/linalg
  copying cupy/linalg/product.py -> build/lib.linux-x86_64-3.7/cupy/linalg
  copying cupy/linalg/decomposition.py -> build/lib.linux-x86_64-3.7/cupy/linalg
  creating build/lib.linux-x86_64-3.7/cupy/logic
  copying cupy/logic/ops.py -> build/lib.linux-x86_64-3.7/cupy/logic
  copying cupy/logic/type_test.py -> build/lib.linux-x86_64-3.7/cupy/logic
  copying cupy/logic/__init__.py -> build/lib.linux-x86_64-3.7/cupy/logic
  copying cupy/logic/content.py -> build/lib.linux-x86_64-3.7/cupy/logic
  copying cupy/logic/truth.py -> build/lib.linux-x86_64-3.7/cupy/logic
  copying cupy/logic/comparison.py -> build/lib.linux-x86_64-3.7/cupy/logic
  creating build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/transpose.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/tiling.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/add_remove.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/kind.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/__init__.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/shape.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/dims.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/join.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/split.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/basic.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  copying cupy/manipulation/rearrange.py -> build/lib.linux-x86_64-3.7/cupy/manipulation
  creating build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/window.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/special.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/misc.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/arithmetic.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/__init__.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/explog.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/sumprod.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/hyperbolic.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/trigonometric.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/ufunc.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/rounding.py -> build/lib.linux-x86_64-3.7/cupy/math
  copying cupy/math/floating.py -> build/lib.linux-x86_64-3.7/cupy/math
  creating build/lib.linux-x86_64-3.7/cupy/padding
  copying cupy/padding/__init__.py -> build/lib.linux-x86_64-3.7/cupy/padding
  copying cupy/padding/pad.py -> build/lib.linux-x86_64-3.7/cupy/padding
  creating build/lib.linux-x86_64-3.7/cupy/prof
  copying cupy/prof/__init__.py -> build/lib.linux-x86_64-3.7/cupy/prof
  copying cupy/prof/time_range.py -> build/lib.linux-x86_64-3.7/cupy/prof
  creating build/lib.linux-x86_64-3.7/cupy/random
  copying cupy/random/permutations.py -> build/lib.linux-x86_64-3.7/cupy/random
  copying cupy/random/generator.py -> build/lib.linux-x86_64-3.7/cupy/random
  copying cupy/random/__init__.py -> build/lib.linux-x86_64-3.7/cupy/random
  copying cupy/random/_kernels.py -> build/lib.linux-x86_64-3.7/cupy/random
  copying cupy/random/distributions.py -> build/lib.linux-x86_64-3.7/cupy/random
  copying cupy/random/sample.py -> build/lib.linux-x86_64-3.7/cupy/random
  creating build/lib.linux-x86_64-3.7/cupy/sorting
  copying cupy/sorting/sort.py -> build/lib.linux-x86_64-3.7/cupy/sorting
  copying cupy/sorting/__init__.py -> build/lib.linux-x86_64-3.7/cupy/sorting
  copying cupy/sorting/count.py -> build/lib.linux-x86_64-3.7/cupy/sorting
  copying cupy/sorting/search.py -> build/lib.linux-x86_64-3.7/cupy/sorting
  creating build/lib.linux-x86_64-3.7/cupy/sparse
  copying cupy/sparse/__init__.py -> build/lib.linux-x86_64-3.7/cupy/sparse
  creating build/lib.linux-x86_64-3.7/cupy/sparse/linalg
  copying cupy/sparse/linalg/__init__.py -> build/lib.linux-x86_64-3.7/cupy/sparse/linalg
  creating build/lib.linux-x86_64-3.7/cupy/statistics
  copying cupy/statistics/order.py -> build/lib.linux-x86_64-3.7/cupy/statistics
  copying cupy/statistics/__init__.py -> build/lib.linux-x86_64-3.7/cupy/statistics
  copying cupy/statistics/correlation.py -> build/lib.linux-x86_64-3.7/cupy/statistics
  copying cupy/statistics/meanvar.py -> build/lib.linux-x86_64-3.7/cupy/statistics
  copying cupy/statistics/histogram.py -> build/lib.linux-x86_64-3.7/cupy/statistics
  creating build/lib.linux-x86_64-3.7/cupy/testing
  copying cupy/testing/random.py -> build/lib.linux-x86_64-3.7/cupy/testing
  copying cupy/testing/__init__.py -> build/lib.linux-x86_64-3.7/cupy/testing
  copying cupy/testing/attr.py -> build/lib.linux-x86_64-3.7/cupy/testing
  copying cupy/testing/condition.py -> build/lib.linux-x86_64-3.7/cupy/testing
  copying cupy/testing/parameterized.py -> build/lib.linux-x86_64-3.7/cupy/testing
  copying cupy/testing/hypothesis.py -> build/lib.linux-x86_64-3.7/cupy/testing
  copying cupy/testing/helper.py -> build/lib.linux-x86_64-3.7/cupy/testing
  copying cupy/testing/array.py -> build/lib.linux-x86_64-3.7/cupy/testing
  creating build/lib.linux-x86_64-3.7/cupyx
  copying cupyx/scatter.py -> build/lib.linux-x86_64-3.7/cupyx
  copying cupyx/__init__.py -> build/lib.linux-x86_64-3.7/cupyx
  copying cupyx/rsqrt.py -> build/lib.linux-x86_64-3.7/cupyx
  copying cupyx/runtime.py -> build/lib.linux-x86_64-3.7/cupyx
  creating build/lib.linux-x86_64-3.7/cupyx/scipy
  copying cupyx/scipy/__init__.py -> build/lib.linux-x86_64-3.7/cupyx/scipy
  creating build/lib.linux-x86_64-3.7/cupyx/scipy/ndimage
  copying cupyx/scipy/ndimage/interpolation.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/ndimage
  copying cupyx/scipy/ndimage/__init__.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/ndimage
  creating build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/construct.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/compressed.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/data.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/util.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/dia.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/__init__.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/base.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/csc.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/coo.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/sputils.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  copying cupyx/scipy/sparse/csr.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse
  creating build/lib.linux-x86_64-3.7/cupyx/scipy/sparse/linalg
  copying cupyx/scipy/sparse/linalg/__init__.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse/linalg
  copying cupyx/scipy/sparse/linalg/solve.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/sparse/linalg
  creating build/lib.linux-x86_64-3.7/cupyx/scipy/special
  copying cupyx/scipy/special/statistics.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/special
  copying cupyx/scipy/special/polygamma.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/special
  copying cupyx/scipy/special/bessel.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/special
  copying cupyx/scipy/special/__init__.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/special
  copying cupyx/scipy/special/gamma.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/special
  copying cupyx/scipy/special/zeta.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/special
  copying cupyx/scipy/special/erf.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/special
  copying cupyx/scipy/special/gammaln.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/special
  copying cupyx/scipy/special/digamma.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/special
  creating build/lib.linux-x86_64-3.7/cupyx/scipy/linalg
  copying cupyx/scipy/linalg/__init__.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/linalg
  copying cupyx/scipy/linalg/solve_triangular.py -> build/lib.linux-x86_64-3.7/cupyx/scipy/linalg
  creating build/lib.linux-x86_64-3.7/cupyx/linalg
  copying cupyx/linalg/__init__.py -> build/lib.linux-x86_64-3.7/cupyx/linalg
  creating build/lib.linux-x86_64-3.7/cupyx/linalg/sparse
  copying cupyx/linalg/sparse/__init__.py -> build/lib.linux-x86_64-3.7/cupyx/linalg/sparse
  copying cupyx/linalg/sparse/solve.py -> build/lib.linux-x86_64-3.7/cupyx/linalg/sparse
  creating build/lib.linux-x86_64-3.7/cupy/core/include
  creating build/lib.linux-x86_64-3.7/cupy/core/include/cupy
  creating build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/arithmetic.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/catrig.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/catrigf.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/ccosh.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/ccoshf.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/cexp.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/cexpf.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/clog.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/clogf.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/complex.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/complex_inl.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/cpow.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/cproj.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/csinh.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/csinhf.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/csqrt.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/csqrtf.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/ctanh.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/ctanhf.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/complex/math_private.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/complex
  copying cupy/core/include/cupy/carray.cuh -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy
  copying cupy/core/include/cupy/complex.cuh -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy
  copying cupy/core/include/cupy/atomics.cuh -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy
  creating build/lib.linux-x86_64-3.7/cupy/core/include/cupy/_cuda
  creating build/lib.linux-x86_64-3.7/cupy/core/include/cupy/_cuda/cuda-10.1
  copying cupy/core/include/cupy/_cuda/cuda-10.1/cuda_fp16.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/_cuda/cuda-10.1
  creating build/lib.linux-x86_64-3.7/cupy/core/include/cupy/_cuda/cuda-9.2
  copying cupy/core/include/cupy/_cuda/cuda-9.2/cuda_fp16.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/_cuda/cuda-9.2
  creating build/lib.linux-x86_64-3.7/cupy/core/include/cupy/_cuda/cuda-10.0
  copying cupy/core/include/cupy/_cuda/cuda-10.0/cuda_fp16.h -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/_cuda/cuda-10.0
  copying cupy/core/include/cupy/_cuda/cuda-10.1/cuda_fp16.hpp -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/_cuda/cuda-10.1
  copying cupy/core/include/cupy/_cuda/cuda-9.2/cuda_fp16.hpp -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/_cuda/cuda-9.2
  copying cupy/core/include/cupy/_cuda/cuda-10.0/cuda_fp16.hpp -> build/lib.linux-x86_64-3.7/cupy/core/include/cupy/_cuda/cuda-10.0
  copying cupy/cuda/cupy_thrust.cu -> build/lib.linux-x86_64-3.7/cupy/cuda
  running build_ext
  building 'cupy.core._dtype' extension
  creating build/temp.linux-x86_64-3.7
  creating build/temp.linux-x86_64-3.7/cupy
  creating build/temp.linux-x86_64-3.7/cupy/core
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/core/_dtype.cpp -o build/temp.linux-x86_64-3.7/cupy/core/_dtype.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/core/_dtype.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/core/_dtype.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.core._kernel' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/core/_kernel.cpp -o build/temp.linux-x86_64-3.7/cupy/core/_kernel.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cupy/core/_kernel.cpp: In function ‘PyObject* __pyx_f_4cupy_4core_7_kernel__reduce_dims(PyObject*, PyObject*, PyObject*, int)’:
  cupy/core/_kernel.cpp:6039:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     __pyx_t_2 = ((__pyx_v_axes.size() == __pyx_v_ndim) != 0);
                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  cupy/core/_kernel.cpp: In function ‘PyObject* __pyx_pf_4cupy_4core_7_kernel_25simple_reduction_function_2__call__(PyObject*, PyObject*, __pyx_obj_4cupy_4core_4core_ndarray*, PyObject*, PyObject*, __pyx_obj_4cupy_4core_4core_ndarray*, int)’:
  cupy/core/_kernel.cpp:22780:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (((__pyx_t_9 > __pyx_t_10) != 0)) {
           ~~~~~~~~~~^~~~~~~~~~~~
  cupy/core/_kernel.cpp: In function ‘PyObject* __pyx_pf_4cupy_4core_7_kernel_15ReductionKernel_2__call__(PyObject*, PyObject*, PyObject*, PyObject*)’:
  cupy/core/_kernel.cpp:26413:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (((__pyx_t_15 > __pyx_t_16) != 0)) {
           ~~~~~~~~~~~^~~~~~~~~~~~
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/core/_kernel.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/core/_kernel.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.core._scalar' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/core/_scalar.cpp -o build/temp.linux-x86_64-3.7/cupy/core/_scalar.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/core/_scalar.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/core/_scalar.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.core.core' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/core/core.cpp -o build/temp.linux-x86_64-3.7/cupy/core/core.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cupy/core/core.cpp: In function ‘PyObject* __pyx_f_4cupy_4core_4core_7ndarray_nonzero(__pyx_obj_4cupy_4core_4core_ndarray*, int)’:
  cupy/core/core.cpp:20634:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (((__pyx_t_9 > __pyx_t_10) != 0)) {
           ~~~~~~~~~~^~~~~~~~~~~~
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/core/core.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/core/core.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.core.dlpack' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/core/dlpack.cpp -o build/temp.linux-x86_64-3.7/cupy/core/dlpack.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/core/dlpack.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/core/dlpack.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.core.flags' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/core/flags.cpp -o build/temp.linux-x86_64-3.7/cupy/core/flags.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/core/flags.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/core/flags.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.core.internal' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/core/internal.cpp -o build/temp.linux-x86_64-3.7/cupy/core/internal.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/core/internal.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/core/internal.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.core.raw' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/core/raw.cpp -o build/temp.linux-x86_64-3.7/cupy/core/raw.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/core/raw.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/core/raw.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.cublas' extension
  creating build/temp.linux-x86_64-3.7/cupy/cuda
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/cublas.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/cublas.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/cublas.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/cublas.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.cufft' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/cufft.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/cufft.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/cufft.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/cufft.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.curand' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/curand.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/curand.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/curand.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/curand.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.cusparse' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/cusparse.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/cusparse.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/cusparse.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/cusparse.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.device' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/device.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/device.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/device.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/device.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.driver' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/driver.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/driver.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/driver.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/driver.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.memory' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/memory.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/memory.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cupy/cuda/memory.cpp: In function ‘int __pyx_f_4cupy_4cuda_6memory__remove_from_free_list(PyObject*, std::vector<int>*, std::vector<signed char>*, __pyx_obj_4cupy_4cuda_6memory__Chunk*)’:
  cupy/cuda/memory.cpp:14163:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     __pyx_t_1 = ((__pyx_v_index == __pyx_v_a_index->size()) != 0);
                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /usr/include/locale.h:28:0,
                   from /usr/include/c++/7/clocale:42,
                   from /usr/include/x86_64-linux-gnu/c++/7/bits/c++locale.h:41,
                   from /usr/include/c++/7/bits/localefwd.h:40,
                   from /usr/include/c++/7/ios:41,
                   from cupy/cuda/memory.cpp:647:
  cupy/cuda/memory.cpp: In function ‘int __Pyx_modinit_type_init_code()’:
  cupy/cuda/memory.cpp:28420:168: warning: offsetof within non-standard-layout type ‘__pyx_obj_4cupy_4cuda_6memory_SingleDeviceMemoryPool’ is undefined [-Winvalid-offsetof]
     if (__pyx_type_4cupy_4cuda_6memory_SingleDeviceMemoryPool.tp_weaklistoffset == 0) __pyx_type_4cupy_4cuda_6memory_SingleDeviceMemoryPool.tp_weaklistoffset = offsetof(struct __pyx_obj_4cupy_4cuda_6memory_SingleDeviceMemoryPool, __weakref__);
                                                                                                                                                                          ^
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/memory.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/memory.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.memory_hook' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/memory_hook.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/memory_hook.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cupy/cuda/memory_hook.cpp: In function ‘int __pyx_f_4cupy_4cuda_11memory_hook__has_memory_hooks(int)’:
  cupy/cuda/memory_hook.cpp:1497:88: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
     __pyx_r = (PyThread_get_key_value(__pyx_v_4cupy_4cuda_11memory_hook__memory_hook_flag) != ((void *)0));
                                                                                          ^
  In file included from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pystate.h:11:0,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/traceback.h:8,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/Python.h:100,
                   from cupy/cuda/memory_hook.cpp:46:
  /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pythread.h:98:20: note: declared here
   PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7);
                      ^~~~~~~~~~~~~~~~~~~~~~
  cupy/cuda/memory_hook.cpp: In function ‘PyObject* __pyx_f_4cupy_4cuda_11memory_hook_get_memory_hooks(int)’:
  cupy/cuda/memory_hook.cpp:1604:99: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
       (void)(PyThread_set_key_value(__pyx_v_4cupy_4cuda_11memory_hook__memory_hook_flag, ((void *)1)));
                                                                                                     ^
  In file included from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pystate.h:11:0,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/traceback.h:8,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/Python.h:100,
                   from cupy/cuda/memory_hook.cpp:46:
  /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pythread.h:97:17: note: declared here
   PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7);
                   ^~~~~~~~~~~~~~~~~~~~~~
  cupy/cuda/memory_hook.cpp: In function ‘int __pyx_pymod_exec_memory_hook(PyObject*)’:
  cupy/cuda/memory_hook.cpp:3006:77: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
     __pyx_v_4cupy_4cuda_11memory_hook__memory_hook_flag = PyThread_create_key();
                                                                               ^
  In file included from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pystate.h:11:0,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/traceback.h:8,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/Python.h:100,
                   from cupy/cuda/memory_hook.cpp:46:
  /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pythread.h:95:17: note: declared here
   PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7);
                   ^~~~~~~~~~~~~~~~~~~
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/memory_hook.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/memory_hook.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.nvrtc' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/nvrtc.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/nvrtc.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/nvrtc.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/nvrtc.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.pinned_memory' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/pinned_memory.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/pinned_memory.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/pinned_memory.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/pinned_memory.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.profiler' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/profiler.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/profiler.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/profiler.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/profiler.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.function' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/function.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/function.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/function.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/function.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.stream' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/stream.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/stream.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cupy/cuda/stream.cpp: In function ‘size_t __pyx_f_4cupy_4cuda_6stream_get_current_stream_ptr()’:
  cupy/cuda/stream.cpp:1746:92: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
     __pyx_r = ((size_t)PyThread_get_key_value(__pyx_v_4cupy_4cuda_6stream__current_stream_key));
                                                                                              ^
  In file included from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pystate.h:11:0,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/traceback.h:8,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/Python.h:100,
                   from cupy/cuda/stream.cpp:46:
  /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pythread.h:98:20: note: declared here
   PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7);
                      ^~~~~~~~~~~~~~~~~~~~~~
  cupy/cuda/stream.cpp: In function ‘PyObject* __pyx_f_4cupy_4cuda_6stream__set_current_stream(PyObject*, int)’:
  cupy/cuda/stream.cpp:2020:76: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
     PyThread_delete_key_value(__pyx_v_4cupy_4cuda_6stream__current_stream_key);
                                                                              ^
  In file included from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pystate.h:11:0,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/traceback.h:8,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/Python.h:100,
                   from cupy/cuda/stream.cpp:46:
  /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pythread.h:99:18: note: declared here
   PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
  cupy/cuda/stream.cpp:2029:110: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
     (void)(PyThread_set_key_value(__pyx_v_4cupy_4cuda_6stream__current_stream_key, ((void *)__pyx_v_stream_ptr)));
                                                                                                                ^
  In file included from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pystate.h:11:0,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/traceback.h:8,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/Python.h:100,
                   from cupy/cuda/stream.cpp:46:
  /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pythread.h:97:17: note: declared here
   PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7);
                   ^~~~~~~~~~~~~~~~~~~~~~
  cupy/cuda/stream.cpp: In function ‘int __pyx_pymod_exec_stream(PyObject*)’:
  cupy/cuda/stream.cpp:5970:73: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
     __pyx_v_4cupy_4cuda_6stream__current_stream_key = PyThread_create_key();
                                                                           ^
  In file included from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pystate.h:11:0,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/traceback.h:8,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/Python.h:100,
                   from cupy/cuda/stream.cpp:46:
  /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pythread.h:95:17: note: declared here
   PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7);
                   ^~~~~~~~~~~~~~~~~~~
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/stream.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/stream.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.runtime' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/runtime.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/runtime.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  cupy/cuda/runtime.cpp: In function ‘__pyx_obj_4cupy_4cuda_7runtime_PointerAttributes* __pyx_f_4cupy_4cuda_7runtime_pointerGetAttributes(size_t, int)’:
  cupy/cuda/runtime.cpp:6749:50: warning: ‘cudaPointerAttributes::isManaged’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_attrs.isManaged); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 324, __pyx_L1_error)
                                                    ^~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/../cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:650:
  /usr/local/cuda-10.1/include/driver_types.h:1341:27: note: declared here
       __CUDA_DEPRECATED int isManaged;
                             ^~~~~~~~~
  cupy/cuda/runtime.cpp:6749:50: warning: ‘cudaPointerAttributes::isManaged’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_attrs.isManaged); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 324, __pyx_L1_error)
                                                    ^~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/../cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:650:
  /usr/local/cuda-10.1/include/driver_types.h:1341:27: note: declared here
       __CUDA_DEPRECATED int isManaged;
                             ^~~~~~~~~
  cupy/cuda/runtime.cpp:6749:50: warning: ‘cudaPointerAttributes::isManaged’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_attrs.isManaged); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 324, __pyx_L1_error)
                                                    ^~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/../cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:650:
  /usr/local/cuda-10.1/include/driver_types.h:1341:27: note: declared here
       __CUDA_DEPRECATED int isManaged;
                             ^~~~~~~~~
  cupy/cuda/runtime.cpp:6751:50: warning: ‘cudaPointerAttributes::memoryType’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_attrs.memoryType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 324, __pyx_L1_error)
                                                    ^~~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/../cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:650:
  /usr/local/cuda-10.1/include/driver_types.h:1302:43: note: declared here
       __CUDA_DEPRECATED enum cudaMemoryType memoryType;
                                             ^~~~~~~~~~
  cupy/cuda/runtime.cpp:6751:50: warning: ‘cudaPointerAttributes::memoryType’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_attrs.memoryType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 324, __pyx_L1_error)
                                                    ^~~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/../cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:650:
  /usr/local/cuda-10.1/include/driver_types.h:1302:43: note: declared here
       __CUDA_DEPRECATED enum cudaMemoryType memoryType;
                                             ^~~~~~~~~~
  cupy/cuda/runtime.cpp:6751:50: warning: ‘cudaPointerAttributes::memoryType’ is deprecated [-Wdeprecated-declarations]
     __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_attrs.memoryType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 324, __pyx_L1_error)
                                                    ^~~~~~~~~~
  In file included from /usr/include/cublas_api.h:72:0,
                   from /usr/include/cublas_v2.h:65,
                   from cupy/cuda/../cuda/cupy_cuda.h:13,
                   from cupy/cuda/runtime.cpp:650:
  /usr/local/cuda-10.1/include/driver_types.h:1302:43: note: declared here
       __CUDA_DEPRECATED enum cudaMemoryType memoryType;
                                             ^~~~~~~~~~
  cupy/cuda/runtime.cpp: In function ‘PyObject* __pyx_f_4cupy_4cuda_7runtime__ensure_context()’:
  cupy/cuda/runtime.cpp:8939:101: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
     __pyx_v_status = ((size_t)PyThread_get_key_value(__pyx_v_4cupy_4cuda_7runtime__context_initialized));
                                                                                                       ^
  In file included from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pystate.h:11:0,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/traceback.h:8,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/Python.h:100,
                   from cupy/cuda/runtime.cpp:49:
  /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pythread.h:98:20: note: declared here
   PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7);
                      ^~~~~~~~~~~~~~~~~~~~~~
  cupy/cuda/runtime.cpp:8966:97: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
       (void)(PyThread_set_key_value(__pyx_v_4cupy_4cuda_7runtime__context_initialized, ((void *)1)));
                                                                                                   ^
  In file included from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pystate.h:11:0,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/traceback.h:8,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/Python.h:100,
                   from cupy/cuda/runtime.cpp:49:
  /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pythread.h:97:17: note: declared here
   PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7);
                   ^~~~~~~~~~~~~~~~~~~~~~
  cupy/cuda/runtime.cpp: In function ‘int __pyx_pymod_exec_runtime(PyObject*)’:
  cupy/cuda/runtime.cpp:10219:75: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
     __pyx_v_4cupy_4cuda_7runtime__context_initialized = PyThread_create_key();
                                                                             ^
  In file included from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pystate.h:11:0,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/traceback.h:8,
                   from /home/fredguth/anaconda3/envs/fastai/include/python3.7m/Python.h:100,
                   from cupy/cuda/runtime.cpp:49:
  /home/fredguth/anaconda3/envs/fastai/include/python3.7m/pythread.h:95:17: note: declared here
   PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7);
                   ^~~~~~~~~~~~~~~~~~~
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/runtime.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/cuda/runtime.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.util' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/util.cpp -o build/temp.linux-x86_64-3.7/cupy/util.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/util.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o build/lib.linux-x86_64-3.7/cupy/util.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.cusolver' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/cusolver.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/cusolver.o -fopenmp
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/cusolver.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lcusolver -o build/lib.linux-x86_64-3.7/cupy/cuda/cusolver.cpython-37m-x86_64-linux-gnu.so -fopenmp
  building 'cupy.cuda.nvtx' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/nvtx.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/nvtx.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  g++ -pthread -shared -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -L/home/fredguth/anaconda3/envs/fastai/lib -Wl,-rpath=/home/fredguth/anaconda3/envs/fastai/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/cupy/cuda/nvtx.o -L/usr/local/cuda-10.1/lib64 -Wl,-R/usr/local/cuda-10.1/lib64 -lnvToolsExt -o build/lib.linux-x86_64-3.7/cupy/cuda/nvtx.cpython-37m-x86_64-linux-gnu.so
  building 'cupy.cuda.thrust' extension
  gcc -pthread -B /home/fredguth/anaconda3/envs/fastai/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/thrust.cpp -o build/temp.linux-x86_64-3.7/cupy/cuda/thrust.o
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  NVCC options: ['--generate-code=arch=compute_30,code=compute_30', '--generate-code=arch=compute_50,code=compute_50', '--generate-code=arch=compute_60,code=sm_60', '--generate-code=arch=compute_61,code=sm_61', '--generate-code=arch=compute_70,code=sm_70', '--generate-code=arch=compute_75,code=sm_75', '--generate-code=arch=compute_70,code=compute_70', '-O2', '--compiler-options="-fPIC"']
  /usr/local/cuda-10.1/bin/nvcc -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/usr/local/cuda-10.1/include -I/home/fredguth/anaconda3/envs/fastai/include/python3.7m -c cupy/cuda/cupy_thrust.cu -o build/temp.linux-x86_64-3.7/cupy/cuda/cupy_thrust.o --generate-code=arch=compute_30,code=compute_30 --generate-code=arch=compute_50,code=compute_50 --generate-code=arch=compute_60,code=sm_60 --generate-code=arch=compute_61,code=sm_61 --generate-code=arch=compute_70,code=sm_70 --generate-code=arch=compute_75,code=sm_75 --generate-code=arch=compute_70,code=compute_70 -O2 --compiler-options="-fPIC"
  /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
  /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.h:5033:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.h:5054:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
  /usr/include/c++/7/bits/basic_string.h:6679:95:   required from here
  /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’ without object
         __p->_M_set_sharable();
         ~~~~~~~~~^~
  /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
  /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.h:5033:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.h:5054:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
  /usr/include/c++/7/bits/basic_string.h:6684:95:   required from here
  /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’ without object
  error: command '/usr/local/cuda-10.1/bin/nvcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for cupy

It seems cupy started to support cuda 10.1.
Please try to below command.
I could install !! 

```
pip install cupy-cuda101
```
Worked for me.
The exactly same error happened on my machine. I tried with `cupy=6.0.0rc1` on pip, v6.0.0rc1 tarbell and the current master (83aec55).

When I removed `_GLIBCXX_USE_CXX11_ABI` override, CuPy is built fine, though I don't understand why this fix works.

 I'm using Gentoo Linux. Glibc version is 2.28. I tried with GCC 8.4.0 and GCC 7.3.0, and the result is the same.

```patch
diff --git a/cupy_setup_build.py b/cupy_setup_build.py
index b8cfca4a4..fe37c9204 100644
--- a/cupy_setup_build.py
+++ b/cupy_setup_build.py
@@ -364,11 +364,6 @@ def make_extensions(options, compiler, use_cython):
     use_wheel_libs_rpath = (
         0 < len(options['wheel_libs']) and not PLATFORM_WIN32)
 
-    # This is a workaround for Anaconda.
-    # Anaconda installs libstdc++ from GCC 4.8 and it is not compatible
-    # with GCC 5's new ABI.
-    settings['define_macros'].append(('_GLIBCXX_USE_CXX11_ABI', '0'))
-
     # In the environment with CUDA 7.5 on Ubuntu 16.04, gcc5.3 does not
     # automatically deal with memcpy because string.h header file has
     # been changed. This is a workaround for that environment.
```

@takagi Could you try the patch on Ubuntu 18.10? If it works, I'd like to send a PR. The workaround is added in 2016 at the commit 0ee10bd . Anaconda already has updated GCC (ContinuumIO/anaconda-issues#5191), so I suppose it can be removed.
Error

```
    building 'cupy.cuda.thrust' extension
    x86_64-pc-linux-gnu-g++ -pthread -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/opt/cuda/include -I/usr/include/python3.6m -c cupy/cuda/thrust.cpp -o build/temp.linux-x86_64-3.6/cupy/cuda/thrust.o                                                                                                            
    NVCC options: ['--generate-code=arch=compute_30,code=compute_30', '--generate-code=arch=compute_50,code=compute_50', '--generate-code=arch=compute_60,code=sm_60', '--generate-code=arch=compute_61,code=sm_61', '--generate-code=arch=compute_70,code=sm_70', '--generate-code=arch=compute_75,code=sm_75', '--generate-code=arch=compute_70,code=compute_70', '-O2', '--compiler-options="-fPIC"']
    /opt/cuda/bin/nvcc -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 -I/opt/cuda/include -I/usr/include/python3.6m -c cupy/cuda/cupy_thrust.cu -o build/temp.linux-x86_64-3.6/cupy/cuda/cupy_thrust.o --generate-code=arch=compute_30,code=compute_30 --generate-code=arch=compute_50,code=compute_50 --generate-code=arch=compute_60,code=sm_60 --generate-code=arch=compute_61,code=sm_61 --generate-code=arch=compute_70,code=sm_70 --generate-code=arch=compute_75,code=sm_75 --generate-code=arch=compute_70,code=compute_70 -O2 --compiler-options="-fPIC"                                                                                         
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:                                                                                                                   
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:5052:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:5073:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:6725:95:   required from here
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.tcc:1067:1: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’ without object      
           __p->_M_set_sharable();
     ^     ~~~~~~~~~
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:                                                                                                                   
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:5052:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:5073:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.h:6730:95:   required from here
    /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/basic_string.tcc:1067:1: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’ without object      
    error: command '/opt/cuda/bin/nvcc' failed with exit status 1
```
I can verify that removing `_GLIBCXX_USE_CXX11_ABI` override fixed the issue as stated by @grafi-tt .
I built cupy 6.0.0rc1 on Archlinux with CUDA 10.1, gcc 8.2.1.

Resolving patch:
diff --git a/cupy_setup_build.py b/cupy_setup_build.py
--- a/cupy_setup_build.py
+++ b/cupy_setup_build.py
@@ -364,11 +364,6 @@ def make_extensions(options, compiler, use_cython):
     use_wheel_libs_rpath = (
         0 < len(options['wheel_libs']) and not PLATFORM_WIN32)
 
-    # This is a workaround for Anaconda.
-    # Anaconda installs libstdc++ from GCC 4.8 and it is not compatible
-    # with GCC 5's new ABI.
-    settings['define_macros'].append(('_GLIBCXX_USE_CXX11_ABI', '0'))
-
     # In the environment with CUDA 7.5 on Ubuntu 16.04, gcc5.3 does not
     # automatically deal with memcpy because string.h header file has
     # been changed. This is a workaround for that environment.


Test patch: