Repository: cupy/cupy

Issue:
Is NVTX necessary for install cupy?
I tried to install cupy on Windows 10 and the output shows: 
(sorry for the long log but I'm not sure why the installation failed)
```
Processing c:\users\jacob zhong\downloads\cupy-4.0.0.tar.gz
Requirement already satisfied: numpy>=1.9.0 in c:\program files\anaconda3\lib\site-packages (from cupy==4.0.0) (1.13.3)
Requirement already satisfied: six>=1.9.0 in c:\program files\anaconda3\lib\site-packages (from cupy==4.0.0) (1.11.0)
Requirement already satisfied: fastrlock>=0.3 in c:\program files\anaconda3\lib\site-packages (from cupy==4.0.0) (0.3)
Building wheels for collected packages: cupy
  Running setup.py bdist_wheel for cupy ... error
  Complete output from command "c:\program files\anaconda3\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\JACOBZ~1\\AppData\\Local\\Temp\\pip-req-build-x2z1rj_n\\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 C:\Users\JACOBZ~1\AppData\Local\Temp\pip-wheel-d0n5sk3w --python-tag cp36:
  **************************************************
  *** WARNING: Cannot find nvToolsExt. nvtx was disabled.
  **************************************************
  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 --------
  a.cpp
  正在生成代码
  已完成代码的生成
  a.cpp
  正在生成代码
  已完成代码的生成
  a.cpp
  正在生成代码
  已完成代码的生成

  -------- Configuring Module: cudnn --------
  a.cpp
  C:\Users\JACOBZ~1\AppData\Local\Temp\tmplia5m2q4\a.cpp(1): fatal error C1083: 无法打开包括文件: “cudnn.h”: No such file or directory
  command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2

  -------- Configuring Module: nccl --------
  a.cpp
  C:\Users\JACOBZ~1\AppData\Local\Temp\tmp1omhe7xo\a.cpp(1): fatal error C1083: 无法打开包括文件: “nccl.h”: No such file or directory
  command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2

  -------- Configuring Module: cusolver --------
  a.cpp
  正在生成代码
  已完成代码的生成
  a.cpp
  正在生成代码
  已完成代码的生成
  a.cpp
  正在生成代码
  已完成代码的生成

  -------- Configuring Module: thrust --------
  a.cpp
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include\thrust/system/detail/error_category.inl(102): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\string.h(181): note: 参见“strerror”的声明
  正在生成代码
  已完成代码的生成
  a.cpp
  正在生成代码
  已完成代码的生成
  a.cpp
  正在生成代码
  已完成代码的生成

  ************************************************************
  * CuPy Configuration Summary                               *
  ************************************************************

  Build Environment:
    Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\include']
    Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\lib\\x64']
    nvcc command       : ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\bin/nvcc.exe']

  Environment Variables:
    CFLAGS          : (none)
    LDFLAGS         : (none)
    LIBRARY_PATH    : (none)
    CUDA_PATH       : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1
    NVCC            : (none)

  Modules:
    cuda      : Yes (version 9010)
    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
    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.win-amd64-3.6
  creating build\lib.win-amd64-3.6\cupy
  copying cupy\cusparse.py -> build\lib.win-amd64-3.6\cupy
  copying cupy\internal.py -> build\lib.win-amd64-3.6\cupy
  copying cupy\_version.py -> build\lib.win-amd64-3.6\cupy
  copying cupy\__init__.py -> build\lib.win-amd64-3.6\cupy
  creating build\lib.win-amd64-3.6\cupy\binary
  copying cupy\binary\elementwise.py -> build\lib.win-amd64-3.6\cupy\binary
  copying cupy\binary\packing.py -> build\lib.win-amd64-3.6\cupy\binary
  copying cupy\binary\__init__.py -> build\lib.win-amd64-3.6\cupy\binary
  creating build\lib.win-amd64-3.6\cupy\core
  copying cupy\core\fusion.py -> build\lib.win-amd64-3.6\cupy\core
  copying cupy\core\__init__.py -> build\lib.win-amd64-3.6\cupy\core
  creating build\lib.win-amd64-3.6\cupy\creation
  copying cupy\creation\basic.py -> build\lib.win-amd64-3.6\cupy\creation
  copying cupy\creation\from_data.py -> build\lib.win-amd64-3.6\cupy\creation
  copying cupy\creation\matrix.py -> build\lib.win-amd64-3.6\cupy\creation
  copying cupy\creation\ranges.py -> build\lib.win-amd64-3.6\cupy\creation
  copying cupy\creation\__init__.py -> build\lib.win-amd64-3.6\cupy\creation
  creating build\lib.win-amd64-3.6\cupy\cuda
  copying cupy\cuda\compiler.py -> build\lib.win-amd64-3.6\cupy\cuda
  copying cupy\cuda\__init__.py -> build\lib.win-amd64-3.6\cupy\cuda
  creating build\lib.win-amd64-3.6\cupy\cuda\memory_hooks
  copying cupy\cuda\memory_hooks\debug_print.py -> build\lib.win-amd64-3.6\cupy\cuda\memory_hooks
  copying cupy\cuda\memory_hooks\line_profile.py -> build\lib.win-amd64-3.6\cupy\cuda\memory_hooks
  copying cupy\cuda\memory_hooks\__init__.py -> build\lib.win-amd64-3.6\cupy\cuda\memory_hooks
  creating build\lib.win-amd64-3.6\cupy\ext
  copying cupy\ext\scatter.py -> build\lib.win-amd64-3.6\cupy\ext
  copying cupy\ext\__init__.py -> build\lib.win-amd64-3.6\cupy\ext
  creating build\lib.win-amd64-3.6\cupy\fft
  copying cupy\fft\fft.py -> build\lib.win-amd64-3.6\cupy\fft
  copying cupy\fft\__init__.py -> build\lib.win-amd64-3.6\cupy\fft
  creating build\lib.win-amd64-3.6\cupy\indexing
  copying cupy\indexing\generate.py -> build\lib.win-amd64-3.6\cupy\indexing
  copying cupy\indexing\indexing.py -> build\lib.win-amd64-3.6\cupy\indexing
  copying cupy\indexing\insert.py -> build\lib.win-amd64-3.6\cupy\indexing
  copying cupy\indexing\__init__.py -> build\lib.win-amd64-3.6\cupy\indexing
  creating build\lib.win-amd64-3.6\cupy\io
  copying cupy\io\formatting.py -> build\lib.win-amd64-3.6\cupy\io
  copying cupy\io\npz.py -> build\lib.win-amd64-3.6\cupy\io
  copying cupy\io\rawfile.py -> build\lib.win-amd64-3.6\cupy\io
  copying cupy\io\text.py -> build\lib.win-amd64-3.6\cupy\io
  copying cupy\io\__init__.py -> build\lib.win-amd64-3.6\cupy\io
  creating build\lib.win-amd64-3.6\cupy\linalg
  copying cupy\linalg\decomposition.py -> build\lib.win-amd64-3.6\cupy\linalg
  copying cupy\linalg\eigenvalue.py -> build\lib.win-amd64-3.6\cupy\linalg
  copying cupy\linalg\einsum.py -> build\lib.win-amd64-3.6\cupy\linalg
  copying cupy\linalg\norms.py -> build\lib.win-amd64-3.6\cupy\linalg
  copying cupy\linalg\product.py -> build\lib.win-amd64-3.6\cupy\linalg
  copying cupy\linalg\solve.py -> build\lib.win-amd64-3.6\cupy\linalg
  copying cupy\linalg\util.py -> build\lib.win-amd64-3.6\cupy\linalg
  copying cupy\linalg\__init__.py -> build\lib.win-amd64-3.6\cupy\linalg
  creating build\lib.win-amd64-3.6\cupy\logic
  copying cupy\logic\comparison.py -> build\lib.win-amd64-3.6\cupy\logic
  copying cupy\logic\content.py -> build\lib.win-amd64-3.6\cupy\logic
  copying cupy\logic\ops.py -> build\lib.win-amd64-3.6\cupy\logic
  copying cupy\logic\truth.py -> build\lib.win-amd64-3.6\cupy\logic
  copying cupy\logic\type_test.py -> build\lib.win-amd64-3.6\cupy\logic
  copying cupy\logic\__init__.py -> build\lib.win-amd64-3.6\cupy\logic
  creating build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\add_remove.py -> build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\basic.py -> build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\dims.py -> build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\join.py -> build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\kind.py -> build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\rearrange.py -> build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\shape.py -> build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\split.py -> build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\tiling.py -> build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\transpose.py -> build\lib.win-amd64-3.6\cupy\manipulation
  copying cupy\manipulation\__init__.py -> build\lib.win-amd64-3.6\cupy\manipulation
  creating build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\arithmetic.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\explog.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\floating.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\hyperbolic.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\misc.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\rounding.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\special.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\sumprod.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\trigonometric.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\ufunc.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\window.py -> build\lib.win-amd64-3.6\cupy\math
  copying cupy\math\__init__.py -> build\lib.win-amd64-3.6\cupy\math
  creating build\lib.win-amd64-3.6\cupy\padding
  copying cupy\padding\pad.py -> build\lib.win-amd64-3.6\cupy\padding
  copying cupy\padding\__init__.py -> build\lib.win-amd64-3.6\cupy\padding
  creating build\lib.win-amd64-3.6\cupy\prof
  copying cupy\prof\time_range.py -> build\lib.win-amd64-3.6\cupy\prof
  copying cupy\prof\__init__.py -> build\lib.win-amd64-3.6\cupy\prof
  creating build\lib.win-amd64-3.6\cupy\random
  copying cupy\random\distributions.py -> build\lib.win-amd64-3.6\cupy\random
  copying cupy\random\generator.py -> build\lib.win-amd64-3.6\cupy\random
  copying cupy\random\permutations.py -> build\lib.win-amd64-3.6\cupy\random
  copying cupy\random\sample.py -> build\lib.win-amd64-3.6\cupy\random
  copying cupy\random\__init__.py -> build\lib.win-amd64-3.6\cupy\random
  creating build\lib.win-amd64-3.6\cupy\sorting
  copying cupy\sorting\count.py -> build\lib.win-amd64-3.6\cupy\sorting
  copying cupy\sorting\search.py -> build\lib.win-amd64-3.6\cupy\sorting
  copying cupy\sorting\sort.py -> build\lib.win-amd64-3.6\cupy\sorting
  copying cupy\sorting\__init__.py -> build\lib.win-amd64-3.6\cupy\sorting
  creating build\lib.win-amd64-3.6\cupy\sparse
  copying cupy\sparse\base.py -> build\lib.win-amd64-3.6\cupy\sparse
  copying cupy\sparse\compressed.py -> build\lib.win-amd64-3.6\cupy\sparse
  copying cupy\sparse\construct.py -> build\lib.win-amd64-3.6\cupy\sparse
  copying cupy\sparse\coo.py -> build\lib.win-amd64-3.6\cupy\sparse
  copying cupy\sparse\csc.py -> build\lib.win-amd64-3.6\cupy\sparse
  copying cupy\sparse\csr.py -> build\lib.win-amd64-3.6\cupy\sparse
  copying cupy\sparse\data.py -> build\lib.win-amd64-3.6\cupy\sparse
  copying cupy\sparse\dia.py -> build\lib.win-amd64-3.6\cupy\sparse
  copying cupy\sparse\util.py -> build\lib.win-amd64-3.6\cupy\sparse
  copying cupy\sparse\__init__.py -> build\lib.win-amd64-3.6\cupy\sparse
  creating build\lib.win-amd64-3.6\cupy\sparse\linalg
  copying cupy\sparse\linalg\solve.py -> build\lib.win-amd64-3.6\cupy\sparse\linalg
  copying cupy\sparse\linalg\__init__.py -> build\lib.win-amd64-3.6\cupy\sparse\linalg
  creating build\lib.win-amd64-3.6\cupy\statistics
  copying cupy\statistics\correlation.py -> build\lib.win-amd64-3.6\cupy\statistics
  copying cupy\statistics\histogram.py -> build\lib.win-amd64-3.6\cupy\statistics
  copying cupy\statistics\meanvar.py -> build\lib.win-amd64-3.6\cupy\statistics
  copying cupy\statistics\order.py -> build\lib.win-amd64-3.6\cupy\statistics
  copying cupy\statistics\__init__.py -> build\lib.win-amd64-3.6\cupy\statistics
  creating build\lib.win-amd64-3.6\cupy\testing
  copying cupy\testing\array.py -> build\lib.win-amd64-3.6\cupy\testing
  copying cupy\testing\attr.py -> build\lib.win-amd64-3.6\cupy\testing
  copying cupy\testing\condition.py -> build\lib.win-amd64-3.6\cupy\testing
  copying cupy\testing\helper.py -> build\lib.win-amd64-3.6\cupy\testing
  copying cupy\testing\hypothesis.py -> build\lib.win-amd64-3.6\cupy\testing
  copying cupy\testing\parameterized.py -> build\lib.win-amd64-3.6\cupy\testing
  copying cupy\testing\random.py -> build\lib.win-amd64-3.6\cupy\testing
  copying cupy\testing\__init__.py -> build\lib.win-amd64-3.6\cupy\testing
  creating build\lib.win-amd64-3.6\cupyx
  copying cupyx\rsqrt.py -> build\lib.win-amd64-3.6\cupyx
  copying cupyx\runtime.py -> build\lib.win-amd64-3.6\cupyx
  copying cupyx\scatter.py -> build\lib.win-amd64-3.6\cupyx
  copying cupyx\__init__.py -> build\lib.win-amd64-3.6\cupyx
  creating build\lib.win-amd64-3.6\cupy\core\include
  creating build\lib.win-amd64-3.6\cupy\core\include\cupy
  creating build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\arithmetic.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\catrig.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\catrigf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\ccosh.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\ccoshf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\cexp.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\cexpf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\clog.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\clogf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\complex.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\complex_inl.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\cpow.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\cproj.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\csinh.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\csinhf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\csqrt.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\csqrtf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\ctanh.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\ctanhf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\complex\math_private.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
  copying cupy\core\include\cupy\carray.cuh -> build\lib.win-amd64-3.6\cupy\core\include\cupy
  copying cupy\core\include\cupy\complex.cuh -> build\lib.win-amd64-3.6\cupy\core\include\cupy
  copying cupy\core\include\cupy\atomics.cuh -> build\lib.win-amd64-3.6\cupy\core\include\cupy
  copying cupy\cuda\cupy_thrust.cu -> build\lib.win-amd64-3.6\cupy\cuda
  running build_ext

  -------- Configuring Module: cuda --------
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\a.obj
  a.cpp
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmputeftxxh\a.dll /MANIFEST
  正在生成代码
  已完成代码的生成
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\a.obj
  a.cpp
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" cublas.lib cuda.lib cudart.lib cufft.lib curand.lib cusparse.lib nvrtc.lib C:\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmp_l3022n2\a.dll /MANIFEST
  正在生成代码
  已完成代码的生成
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\a.obj
  a.cpp
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmpq0kypw9s\a.exe /MANIFEST
  正在生成代码
  已完成代码的生成

  -------- Configuring Module: cudnn --------
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf\a.obj
  a.cpp
  C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr93j8fmf\a.cpp(1): fatal error C1083: 无法打开包括文件: “cudnn.h”: No such file or directory
  command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2

  -------- Configuring Module: nccl --------
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_\a.obj
  a.cpp
  C:\Users\JACOBZ~1\AppData\Local\Temp\tmp1zzw7nf_\a.cpp(1): fatal error C1083: 无法打开包括文件: “nccl.h”: No such file or directory
  command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2

  -------- Configuring Module: cusolver --------
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\a.obj
  a.cpp
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmps98oqx1u\a.dll /MANIFEST
  正在生成代码
  已完成代码的生成
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\a.obj
  a.cpp
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" cusolver.lib C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkuu983df\a.dll /MANIFEST
  正在生成代码
  已完成代码的生成
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\a.obj
  a.cpp
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmpvj6ytz2c\a.exe /MANIFEST
  正在生成代码
  已完成代码的生成

  -------- Configuring Module: thrust --------
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\a.obj
  a.cpp
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include\thrust/system/detail/error_category.inl(102): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
  C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\string.h(181): note: 参见“strerror”的声明
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmplzuu94sk\a.dll /MANIFEST
  正在生成代码
  已完成代码的生成
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\a.obj
  a.cpp
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" cudart.lib C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmpr8fjt0kf\a.dll /MANIFEST
  正在生成代码
  已完成代码的生成
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\Users
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\Users\JACOBZ~1
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\Users\JACOBZ~1\AppData
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\Users\JACOBZ~1\AppData\Local
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\Users\JACOBZ~1\AppData\Local\Temp
  creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\a.obj
  a.cpp
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmpswl248ky\a.exe /MANIFEST
  正在生成代码
  已完成代码的生成

  ************************************************************
  * CuPy Configuration Summary                               *
  ************************************************************

  Build Environment:
    Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\include']
    Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\lib\\x64']
    nvcc command       : ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\bin/nvcc.exe']

  Environment Variables:
    CFLAGS          : (none)
    LDFLAGS         : (none)
    LIBRARY_PATH    : (none)
    CUDA_PATH       : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1
    NVCC            : (none)

  Modules:
    cuda      : Yes (version 9010)
    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
    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

  ************************************************************

  Compiling cupy\core\core.pyx because it changed.
  Compiling cupy\core\flags.pyx because it changed.
  Compiling cupy\core\internal.pyx because it changed.
  Compiling cupy\cuda\cublas.pyx because it changed.
  Compiling cupy\cuda\cufft.pyx because it changed.
  Compiling cupy\cuda\curand.pyx because it changed.
  Compiling cupy\cuda\cusparse.pyx because it changed.
  Compiling cupy\cuda\device.pyx because it changed.
  Compiling cupy\cuda\driver.pyx because it changed.
  Compiling cupy\cuda\memory.pyx because it changed.
  Compiling cupy\cuda\memory_hook.pyx because it changed.
  Compiling cupy\cuda\nvrtc.pyx because it changed.
  Compiling cupy\cuda\pinned_memory.pyx because it changed.
  Compiling cupy\cuda\profiler.pyx because it changed.
  Compiling cupy\cuda\function.pyx because it changed.
  Compiling cupy\cuda\stream.pyx because it changed.
  Compiling cupy\cuda\runtime.pyx because it changed.
  Compiling cupy\util.pyx because it changed.
  Compiling cupy\cuda\cusolver.pyx because it changed.
  Compiling cupy\cuda\thrust.pyx because it changed.
  [ 1/20] Cythonizing cupy\core\core.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\core\core.pyx
  [ 2/20] Cythonizing cupy\core\flags.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\core\flags.pyx
  [ 3/20] Cythonizing cupy\core\internal.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\core\internal.pyx
  [ 4/20] Cythonizing cupy\cuda\cublas.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\cublas.pyx
  [ 5/20] Cythonizing cupy\cuda\cufft.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\cufft.pyx
  [ 6/20] Cythonizing cupy\cuda\curand.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\curand.pyx
  [ 7/20] Cythonizing cupy\cuda\cusolver.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\cusolver.pyx
  [ 8/20] Cythonizing cupy\cuda\cusparse.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\cusparse.pyx
  [ 9/20] Cythonizing cupy\cuda\device.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\device.pyx
  [10/20] Cythonizing cupy\cuda\driver.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\driver.pyx
  [11/20] Cythonizing cupy\cuda\function.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\function.pyx
  [12/20] Cythonizing cupy\cuda\memory.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\memory.pyx
  [13/20] Cythonizing cupy\cuda\memory_hook.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\memory_hook.pyx
  [14/20] Cythonizing cupy\cuda\nvrtc.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\nvrtc.pyx
  [15/20] Cythonizing cupy\cuda\pinned_memory.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\pinned_memory.pyx
  [16/20] Cythonizing cupy\cuda\profiler.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\profiler.pyx
  [17/20] Cythonizing cupy\cuda\runtime.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\runtime.pyx
  [18/20] Cythonizing cupy\cuda\stream.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\stream.pyx
  [19/20] Cythonizing cupy\cuda\thrust.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\cuda\thrust.pyx
  [20/20] Cythonizing cupy\util.pyx
  Compiling C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\cupy\util.pyx
  building 'cupy.core.core' extension
  creating build\temp.win-amd64-3.6
  creating build\temp.win-amd64-3.6\Release
  creating build\temp.win-amd64-3.6\Release\cupy
  creating build\temp.win-amd64-3.6\Release\cupy\core
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-Ic:\program files\anaconda3\include" "-Ic:\program files\anaconda3\include" /Tpcupy\core\core.cpp /Fobuild\temp.win-amd64-3.6\Release\cupy\core\core.obj
  core.cpp
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xlocale(341): warning C4530: 使用了 C++ 异常处理程序，但未启用展开语义。请指定 /EHsc
  cupy\core\core.cpp(32890): warning C4244: “参数”: 从“Py_ssize_t”转换到“int”，可能丢失数据
  cupy\core\core.cpp(37773): warning C4267: “=”: 从“size_t”转换到“int”，可能丢失数据
  cupy\core\core.cpp(75225): warning C4267: “=”: 从“size_t”转换到“int”，可能丢失数据
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\limits(210): warning C4577: 在未指定异常处理模式的情况下使用了 "noexcept"；不一定会在异常时 终止。指定 /EHsc
  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', '-Xcompiler', '/MD']
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:c:\program files\anaconda3\libs" "/LIBPATH:c:\program files\anaconda3\PCbuild\amd64" cublas.lib cuda.lib cudart.lib cufft.lib curand.lib cusparse.lib nvrtc.lib python36.lib /EXPORT:PyInit_core build\temp.win-amd64-3.6\Release\cupy\core\core.obj /OUT:build\lib.win-amd64-3.6\cupy\core\core.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\cupy\core\core.cp36-win_amd64.lib /MANIFESTFILE:build\temp.win-amd64-3.6\Release\cupy\core\core.cp36-win_amd64.pyd.manifest
  core.obj : warning LNK4197: 多次指定导出“PyInit_core”；使用第一个规范
    正在创建库 build\temp.win-amd64-3.6\Release\cupy\core\core.cp36-win_amd64.lib 和对象 build\temp.win-amd64-3.6\Release\cupy\core\core.cp36-win_amd64.exp
  building 'cupy.core.flags' extension
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-Ic:\program files\anaconda3\include" "-Ic:\program files\anaconda3\include" /Tpcupy\core\flags.cpp /Fobuild\temp.win-amd64-3.6\Release\cupy\core\flags.obj
  flags.cpp
  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', '-Xcompiler', '/MD']
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:c:\program files\anaconda3\libs" "/LIBPATH:c:\program files\anaconda3\PCbuild\amd64" cublas.lib cuda.lib cudart.lib cufft.lib curand.lib cusparse.lib nvrtc.lib python36.lib /EXPORT:PyInit_flags build\temp.win-amd64-3.6\Release\cupy\core\flags.obj /OUT:build\lib.win-amd64-3.6\cupy\core\flags.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\cupy\core\flags.cp36-win_amd64.lib /MANIFESTFILE:build\temp.win-amd64-3.6\Release\cupy\core\flags.cp36-win_amd64.pyd.manifest
  flags.obj : warning LNK4197: 多次指定导出“PyInit_flags”；使用第一个规范
    正在创建库 build\temp.win-amd64-3.6\Release\cupy\core\flags.cp36-win_amd64.lib 和对象 build\temp.win-amd64-3.6\Release\cupy\core\flags.cp36-win_amd64.exp
  building 'cupy.core.internal' extension
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-Ic:\program files\anaconda3\include" "-Ic:\program files\anaconda3\include" /Tpcupy\core\internal.cpp /Fobuild\temp.win-amd64-3.6\Release\cupy\core\internal.obj
  internal.cpp
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xlocale(341): warning C4530: 使用了 C++ 异常处理程序，但未启用展开语义。请指定 /EHsc
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\limits(210): warning C4577: 在未指定异常处理模式的情况下使用了 "noexcept"；不一定会在异常时 终止。指定 /EHsc
  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', '-Xcompiler', '/MD']
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:c:\program files\anaconda3\libs" "/LIBPATH:c:\program files\anaconda3\PCbuild\amd64" cublas.lib cuda.lib cudart.lib cufft.lib curand.lib cusparse.lib nvrtc.lib python36.lib /EXPORT:PyInit_internal build\temp.win-amd64-3.6\Release\cupy\core\internal.obj /OUT:build\lib.win-amd64-3.6\cupy\core\internal.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\cupy\core\internal.cp36-win_amd64.lib /MANIFESTFILE:build\temp.win-amd64-3.6\Release\cupy\core\internal.cp36-win_amd64.pyd.manifest
  internal.obj : warning LNK4197: 多次指定导出“PyInit_internal”；使用第一个规范
    正在创建库 build\temp.win-amd64-3.6\Release\cupy\core\internal.cp36-win_amd64.lib 和对象 build\temp.win-amd64-3.6\Release\cupy\core\internal.cp36-win_amd64.exp
  building 'cupy.cuda.cublas' extension
  creating build\temp.win-amd64-3.6\Release\cupy\cuda
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-Ic:\program files\anaconda3\include" "-Ic:\program files\anaconda3\include" /Tpcupy\cuda\cublas.cpp /Fobuild\temp.win-amd64-3.6\Release\cupy\cuda\cublas.obj
  cublas.cpp
  c:\users\jacob zhong\appdata\local\temp\pip-req-build-x2z1rj_n\cupy\cuda\cupy_cuda.h(28): fatal error C1083: 无法打开包括文件: “nvToolsExt.h”: No such file or directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2

  ----------------------------------------
  Failed building wheel for cupy
  Running setup.py clean for cupy
Failed to build cupy
Installing collected packages: cupy
  Running setup.py install for cupy ... error
    Complete output from command "c:\program files\anaconda3\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\JACOBZ~1\\AppData\\Local\\Temp\\pip-req-build-x2z1rj_n\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\JACOBZ~1\AppData\Local\Temp\pip-record-3mjykret\install-record.txt --single-version-externally-managed --compile:
    **************************************************
    *** WARNING: Cannot find nvToolsExt. nvtx was disabled.
    **************************************************
    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 --------
    a.cpp
    正在生成代码
    已完成代码的生成
    a.cpp
    正在生成代码
    已完成代码的生成
    a.cpp
    正在生成代码
    已完成代码的生成

    -------- Configuring Module: cudnn --------
    a.cpp
    C:\Users\JACOBZ~1\AppData\Local\Temp\tmp47bt3g7m\a.cpp(1): fatal error C1083: 无法打开包括文件: “cudnn.h”: No such file or directory
    command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2

    -------- Configuring Module: nccl --------
    a.cpp
    C:\Users\JACOBZ~1\AppData\Local\Temp\tmprbjuauzf\a.cpp(1): fatal error C1083: 无法打开包括文件: “nccl.h”: No such file or directory
    command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2

    -------- Configuring Module: cusolver --------
    a.cpp
    正在生成代码
    已完成代码的生成
    a.cpp
    正在生成代码
    已完成代码的生成
    a.cpp
    正在生成代码
    已完成代码的生成

    -------- Configuring Module: thrust --------
    a.cpp
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include\thrust/system/detail/error_category.inl(102): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\string.h(181): note: 参见“strerror”的声明
    正在生成代码
    已完成代码的生成
    a.cpp
    正在生成代码
    已完成代码的生成
    a.cpp
    正在生成代码
    已完成代码的生成

    ************************************************************
    * CuPy Configuration Summary                               *
    ************************************************************

    Build Environment:
      Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\include']
      Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\lib\\x64']
      nvcc command       : ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\bin/nvcc.exe']

    Environment Variables:
      CFLAGS          : (none)
      LDFLAGS         : (none)
      LIBRARY_PATH    : (none)
      CUDA_PATH       : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1
      NVCC            : (none)

    Modules:
      cuda      : Yes (version 9010)
      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
      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.win-amd64-3.6
    creating build\lib.win-amd64-3.6\cupy
    copying cupy\cusparse.py -> build\lib.win-amd64-3.6\cupy
    copying cupy\internal.py -> build\lib.win-amd64-3.6\cupy
    copying cupy\_version.py -> build\lib.win-amd64-3.6\cupy
    copying cupy\__init__.py -> build\lib.win-amd64-3.6\cupy
    creating build\lib.win-amd64-3.6\cupy\binary
    copying cupy\binary\elementwise.py -> build\lib.win-amd64-3.6\cupy\binary
    copying cupy\binary\packing.py -> build\lib.win-amd64-3.6\cupy\binary
    copying cupy\binary\__init__.py -> build\lib.win-amd64-3.6\cupy\binary
    creating build\lib.win-amd64-3.6\cupy\core
    copying cupy\core\fusion.py -> build\lib.win-amd64-3.6\cupy\core
    copying cupy\core\__init__.py -> build\lib.win-amd64-3.6\cupy\core
    creating build\lib.win-amd64-3.6\cupy\creation
    copying cupy\creation\basic.py -> build\lib.win-amd64-3.6\cupy\creation
    copying cupy\creation\from_data.py -> build\lib.win-amd64-3.6\cupy\creation
    copying cupy\creation\matrix.py -> build\lib.win-amd64-3.6\cupy\creation
    copying cupy\creation\ranges.py -> build\lib.win-amd64-3.6\cupy\creation
    copying cupy\creation\__init__.py -> build\lib.win-amd64-3.6\cupy\creation
    creating build\lib.win-amd64-3.6\cupy\cuda
    copying cupy\cuda\compiler.py -> build\lib.win-amd64-3.6\cupy\cuda
    copying cupy\cuda\__init__.py -> build\lib.win-amd64-3.6\cupy\cuda
    creating build\lib.win-amd64-3.6\cupy\cuda\memory_hooks
    copying cupy\cuda\memory_hooks\debug_print.py -> build\lib.win-amd64-3.6\cupy\cuda\memory_hooks
    copying cupy\cuda\memory_hooks\line_profile.py -> build\lib.win-amd64-3.6\cupy\cuda\memory_hooks
    copying cupy\cuda\memory_hooks\__init__.py -> build\lib.win-amd64-3.6\cupy\cuda\memory_hooks
    creating build\lib.win-amd64-3.6\cupy\ext
    copying cupy\ext\scatter.py -> build\lib.win-amd64-3.6\cupy\ext
    copying cupy\ext\__init__.py -> build\lib.win-amd64-3.6\cupy\ext
    creating build\lib.win-amd64-3.6\cupy\fft
    copying cupy\fft\fft.py -> build\lib.win-amd64-3.6\cupy\fft
    copying cupy\fft\__init__.py -> build\lib.win-amd64-3.6\cupy\fft
    creating build\lib.win-amd64-3.6\cupy\indexing
    copying cupy\indexing\generate.py -> build\lib.win-amd64-3.6\cupy\indexing
    copying cupy\indexing\indexing.py -> build\lib.win-amd64-3.6\cupy\indexing
    copying cupy\indexing\insert.py -> build\lib.win-amd64-3.6\cupy\indexing
    copying cupy\indexing\__init__.py -> build\lib.win-amd64-3.6\cupy\indexing
    creating build\lib.win-amd64-3.6\cupy\io
    copying cupy\io\formatting.py -> build\lib.win-amd64-3.6\cupy\io
    copying cupy\io\npz.py -> build\lib.win-amd64-3.6\cupy\io
    copying cupy\io\rawfile.py -> build\lib.win-amd64-3.6\cupy\io
    copying cupy\io\text.py -> build\lib.win-amd64-3.6\cupy\io
    copying cupy\io\__init__.py -> build\lib.win-amd64-3.6\cupy\io
    creating build\lib.win-amd64-3.6\cupy\linalg
    copying cupy\linalg\decomposition.py -> build\lib.win-amd64-3.6\cupy\linalg
    copying cupy\linalg\eigenvalue.py -> build\lib.win-amd64-3.6\cupy\linalg
    copying cupy\linalg\einsum.py -> build\lib.win-amd64-3.6\cupy\linalg
    copying cupy\linalg\norms.py -> build\lib.win-amd64-3.6\cupy\linalg
    copying cupy\linalg\product.py -> build\lib.win-amd64-3.6\cupy\linalg
    copying cupy\linalg\solve.py -> build\lib.win-amd64-3.6\cupy\linalg
    copying cupy\linalg\util.py -> build\lib.win-amd64-3.6\cupy\linalg
    copying cupy\linalg\__init__.py -> build\lib.win-amd64-3.6\cupy\linalg
    creating build\lib.win-amd64-3.6\cupy\logic
    copying cupy\logic\comparison.py -> build\lib.win-amd64-3.6\cupy\logic
    copying cupy\logic\content.py -> build\lib.win-amd64-3.6\cupy\logic
    copying cupy\logic\ops.py -> build\lib.win-amd64-3.6\cupy\logic
    copying cupy\logic\truth.py -> build\lib.win-amd64-3.6\cupy\logic
    copying cupy\logic\type_test.py -> build\lib.win-amd64-3.6\cupy\logic
    copying cupy\logic\__init__.py -> build\lib.win-amd64-3.6\cupy\logic
    creating build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\add_remove.py -> build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\basic.py -> build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\dims.py -> build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\join.py -> build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\kind.py -> build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\rearrange.py -> build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\shape.py -> build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\split.py -> build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\tiling.py -> build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\transpose.py -> build\lib.win-amd64-3.6\cupy\manipulation
    copying cupy\manipulation\__init__.py -> build\lib.win-amd64-3.6\cupy\manipulation
    creating build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\arithmetic.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\explog.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\floating.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\hyperbolic.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\misc.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\rounding.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\special.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\sumprod.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\trigonometric.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\ufunc.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\window.py -> build\lib.win-amd64-3.6\cupy\math
    copying cupy\math\__init__.py -> build\lib.win-amd64-3.6\cupy\math
    creating build\lib.win-amd64-3.6\cupy\padding
    copying cupy\padding\pad.py -> build\lib.win-amd64-3.6\cupy\padding
    copying cupy\padding\__init__.py -> build\lib.win-amd64-3.6\cupy\padding
    creating build\lib.win-amd64-3.6\cupy\prof
    copying cupy\prof\time_range.py -> build\lib.win-amd64-3.6\cupy\prof
    copying cupy\prof\__init__.py -> build\lib.win-amd64-3.6\cupy\prof
    creating build\lib.win-amd64-3.6\cupy\random
    copying cupy\random\distributions.py -> build\lib.win-amd64-3.6\cupy\random
    copying cupy\random\generator.py -> build\lib.win-amd64-3.6\cupy\random
    copying cupy\random\permutations.py -> build\lib.win-amd64-3.6\cupy\random
    copying cupy\random\sample.py -> build\lib.win-amd64-3.6\cupy\random
    copying cupy\random\__init__.py -> build\lib.win-amd64-3.6\cupy\random
    creating build\lib.win-amd64-3.6\cupy\sorting
    copying cupy\sorting\count.py -> build\lib.win-amd64-3.6\cupy\sorting
    copying cupy\sorting\search.py -> build\lib.win-amd64-3.6\cupy\sorting
    copying cupy\sorting\sort.py -> build\lib.win-amd64-3.6\cupy\sorting
    copying cupy\sorting\__init__.py -> build\lib.win-amd64-3.6\cupy\sorting
    creating build\lib.win-amd64-3.6\cupy\sparse
    copying cupy\sparse\base.py -> build\lib.win-amd64-3.6\cupy\sparse
    copying cupy\sparse\compressed.py -> build\lib.win-amd64-3.6\cupy\sparse
    copying cupy\sparse\construct.py -> build\lib.win-amd64-3.6\cupy\sparse
    copying cupy\sparse\coo.py -> build\lib.win-amd64-3.6\cupy\sparse
    copying cupy\sparse\csc.py -> build\lib.win-amd64-3.6\cupy\sparse
    copying cupy\sparse\csr.py -> build\lib.win-amd64-3.6\cupy\sparse
    copying cupy\sparse\data.py -> build\lib.win-amd64-3.6\cupy\sparse
    copying cupy\sparse\dia.py -> build\lib.win-amd64-3.6\cupy\sparse
    copying cupy\sparse\util.py -> build\lib.win-amd64-3.6\cupy\sparse
    copying cupy\sparse\__init__.py -> build\lib.win-amd64-3.6\cupy\sparse
    creating build\lib.win-amd64-3.6\cupy\sparse\linalg
    copying cupy\sparse\linalg\solve.py -> build\lib.win-amd64-3.6\cupy\sparse\linalg
    copying cupy\sparse\linalg\__init__.py -> build\lib.win-amd64-3.6\cupy\sparse\linalg
    creating build\lib.win-amd64-3.6\cupy\statistics
    copying cupy\statistics\correlation.py -> build\lib.win-amd64-3.6\cupy\statistics
    copying cupy\statistics\histogram.py -> build\lib.win-amd64-3.6\cupy\statistics
    copying cupy\statistics\meanvar.py -> build\lib.win-amd64-3.6\cupy\statistics
    copying cupy\statistics\order.py -> build\lib.win-amd64-3.6\cupy\statistics
    copying cupy\statistics\__init__.py -> build\lib.win-amd64-3.6\cupy\statistics
    creating build\lib.win-amd64-3.6\cupy\testing
    copying cupy\testing\array.py -> build\lib.win-amd64-3.6\cupy\testing
    copying cupy\testing\attr.py -> build\lib.win-amd64-3.6\cupy\testing
    copying cupy\testing\condition.py -> build\lib.win-amd64-3.6\cupy\testing
    copying cupy\testing\helper.py -> build\lib.win-amd64-3.6\cupy\testing
    copying cupy\testing\hypothesis.py -> build\lib.win-amd64-3.6\cupy\testing
    copying cupy\testing\parameterized.py -> build\lib.win-amd64-3.6\cupy\testing
    copying cupy\testing\random.py -> build\lib.win-amd64-3.6\cupy\testing
    copying cupy\testing\__init__.py -> build\lib.win-amd64-3.6\cupy\testing
    creating build\lib.win-amd64-3.6\cupyx
    copying cupyx\rsqrt.py -> build\lib.win-amd64-3.6\cupyx
    copying cupyx\runtime.py -> build\lib.win-amd64-3.6\cupyx
    copying cupyx\scatter.py -> build\lib.win-amd64-3.6\cupyx
    copying cupyx\__init__.py -> build\lib.win-amd64-3.6\cupyx
    creating build\lib.win-amd64-3.6\cupy\core\include
    creating build\lib.win-amd64-3.6\cupy\core\include\cupy
    creating build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\arithmetic.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\catrig.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\catrigf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\ccosh.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\ccoshf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\cexp.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\cexpf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\clog.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\clogf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\complex.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\complex_inl.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\cpow.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\cproj.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\csinh.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\csinhf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\csqrt.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\csqrtf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\ctanh.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\ctanhf.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\complex\math_private.h -> build\lib.win-amd64-3.6\cupy\core\include\cupy\complex
    copying cupy\core\include\cupy\carray.cuh -> build\lib.win-amd64-3.6\cupy\core\include\cupy
    copying cupy\core\include\cupy\complex.cuh -> build\lib.win-amd64-3.6\cupy\core\include\cupy
    copying cupy\core\include\cupy\atomics.cuh -> build\lib.win-amd64-3.6\cupy\core\include\cupy
    copying cupy\cuda\cupy_thrust.cu -> build\lib.win-amd64-3.6\cupy\cuda
    running build_ext

    -------- Configuring Module: cuda --------
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\a.obj
    a.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmp65kp5ysr\a.dll /MANIFEST
    正在生成代码
    已完成代码的生成
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\a.obj
    a.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" cublas.lib cuda.lib cudart.lib cufft.lib curand.lib cusparse.lib nvrtc.lib C:\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmpyuw9rdu3\a.dll /MANIFEST
    正在生成代码
    已完成代码的生成
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\a.obj
    a.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmptuurhgbl\a.exe /MANIFEST
    正在生成代码
    已完成代码的生成

    -------- Configuring Module: cudnn --------
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm\a.obj
    a.cpp
    C:\Users\JACOBZ~1\AppData\Local\Temp\tmpx_wh97xm\a.cpp(1): fatal error C1083: 无法打开包括文件: “cudnn.h”: No such file or directory
    command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2

    -------- Configuring Module: nccl --------
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst\a.obj
    a.cpp
    C:\Users\JACOBZ~1\AppData\Local\Temp\tmpc82_4bst\a.cpp(1): fatal error C1083: 无法打开包括文件: “nccl.h”: No such file or directory
    command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2

    -------- Configuring Module: cusolver --------
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\a.obj
    a.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmpet6_7_ls\a.dll /MANIFEST
    正在生成代码
    已完成代码的生成
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\a.obj
    a.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" cusolver.lib C:\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmpoapshq9v\a.dll /MANIFEST
    正在生成代码
    已完成代码的生成
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\a.obj
    a.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmp49yfh_s4\a.exe /MANIFEST
    正在生成代码
    已完成代码的生成

    -------- Configuring Module: thrust --------
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\a.obj
    a.cpp
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include\thrust/system/detail/error_category.inl(102): warning C4996: 'strerror': This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\string.h(181): note: 参见“strerror”的声明
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmpw48oi1bg\a.dll /MANIFEST
    正在生成代码
    已完成代码的生成
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\a.obj
    a.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" cudart.lib C:\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmp2sxbpbph\a.dll /MANIFEST
    正在生成代码
    已完成代码的生成
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\Users
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\Users\JACOBZ~1
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\Users\JACOBZ~1\AppData
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\Users\JACOBZ~1\AppData\Local
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\Users\JACOBZ~1\AppData\Local\Temp
    creating C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /EHsc /TpC:\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\a.cpp /FoC:\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\a.obj
    a.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\a.obj /OUT:C:\Users\JACOBZ~1\AppData\Local\Temp\tmpkw7u5by7\a.exe /MANIFEST
    正在生成代码
    已完成代码的生成

    ************************************************************
    * CuPy Configuration Summary                               *
    ************************************************************

    Build Environment:
      Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\include']
      Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\lib\\x64']
      nvcc command       : ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\bin/nvcc.exe']

    Environment Variables:
      CFLAGS          : (none)
      LDFLAGS         : (none)
      LIBRARY_PATH    : (none)
      CUDA_PATH       : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1
      NVCC            : (none)

    Modules:
      cuda      : Yes (version 9010)
      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
      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

    ************************************************************

    building 'cupy.core.core' extension
    creating build\temp.win-amd64-3.6
    creating build\temp.win-amd64-3.6\Release
    creating build\temp.win-amd64-3.6\Release\cupy
    creating build\temp.win-amd64-3.6\Release\cupy\core
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-Ic:\program files\anaconda3\include" "-Ic:\program files\anaconda3\include" /Tpcupy\core\core.cpp /Fobuild\temp.win-amd64-3.6\Release\cupy\core\core.obj
    core.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xlocale(341): warning C4530: 使用了 C++ 异常处理程序，但未启用展开语义。请指定 /EHsc
    cupy\core\core.cpp(32890): warning C4244: “参数”: 从“Py_ssize_t”转换到“int”，可能丢失数据
    cupy\core\core.cpp(37773): warning C4267: “=”: 从“size_t”转换到“int”，可能丢失数据
    cupy\core\core.cpp(75225): warning C4267: “=”: 从“size_t”转换到“int”，可能丢失数据
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\limits(210): warning C4577: 在未指定异常处理模式的情况下使用了 "noexcept"；不一定会在异常 时终止。指定 /EHsc
    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', '-Xcompiler', '/MD']
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:c:\program files\anaconda3\libs" "/LIBPATH:c:\program files\anaconda3\PCbuild\amd64" cublas.lib cuda.lib cudart.lib cufft.lib curand.lib cusparse.lib nvrtc.lib python36.lib /EXPORT:PyInit_core build\temp.win-amd64-3.6\Release\cupy\core\core.obj /OUT:build\lib.win-amd64-3.6\cupy\core\core.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\cupy\core\core.cp36-win_amd64.lib /MANIFESTFILE:build\temp.win-amd64-3.6\Release\cupy\core\core.cp36-win_amd64.pyd.manifest
    core.obj : warning LNK4197: 多次指定导出“PyInit_core”；使用第一个规范
      正在创建库 build\temp.win-amd64-3.6\Release\cupy\core\core.cp36-win_amd64.lib 和对象 build\temp.win-amd64-3.6\Release\cupy\core\core.cp36-win_amd64.exp
    building 'cupy.core.flags' extension
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-Ic:\program files\anaconda3\include" "-Ic:\program files\anaconda3\include" /Tpcupy\core\flags.cpp /Fobuild\temp.win-amd64-3.6\Release\cupy\core\flags.obj
    flags.cpp
    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', '-Xcompiler', '/MD']
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:c:\program files\anaconda3\libs" "/LIBPATH:c:\program files\anaconda3\PCbuild\amd64" cublas.lib cuda.lib cudart.lib cufft.lib curand.lib cusparse.lib nvrtc.lib python36.lib /EXPORT:PyInit_flags build\temp.win-amd64-3.6\Release\cupy\core\flags.obj /OUT:build\lib.win-amd64-3.6\cupy\core\flags.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\cupy\core\flags.cp36-win_amd64.lib /MANIFESTFILE:build\temp.win-amd64-3.6\Release\cupy\core\flags.cp36-win_amd64.pyd.manifest
    flags.obj : warning LNK4197: 多次指定导出“PyInit_flags”；使用第一个规范
      正在创建库 build\temp.win-amd64-3.6\Release\cupy\core\flags.cp36-win_amd64.lib 和对象 build\temp.win-amd64-3.6\Release\cupy\core\flags.cp36-win_amd64.exp
    building 'cupy.core.internal' extension
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-Ic:\program files\anaconda3\include" "-Ic:\program files\anaconda3\include" /Tpcupy\core\internal.cpp /Fobuild\temp.win-amd64-3.6\Release\cupy\core\internal.obj
    internal.cpp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xlocale(341): warning C4530: 使用了 C++ 异常处理程序，但未启用展开语义。请指定 /EHsc
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\limits(210): warning C4577: 在未指定异常处理模式的情况下使用了 "noexcept"；不一定会在异常 时终止。指定 /EHsc
    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', '-Xcompiler', '/MD']
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin" "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64" "/LIBPATH:c:\program files\anaconda3\libs" "/LIBPATH:c:\program files\anaconda3\PCbuild\amd64" cublas.lib cuda.lib cudart.lib cufft.lib curand.lib cusparse.lib nvrtc.lib python36.lib /EXPORT:PyInit_internal build\temp.win-amd64-3.6\Release\cupy\core\internal.obj /OUT:build\lib.win-amd64-3.6\cupy\core\internal.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\cupy\core\internal.cp36-win_amd64.lib /MANIFESTFILE:build\temp.win-amd64-3.6\Release\cupy\core\internal.cp36-win_amd64.pyd.manifest
    internal.obj : warning LNK4197: 多次指定导出“PyInit_internal”；使用第一个规范
      正在创建库 build\temp.win-amd64-3.6\Release\cupy\core\internal.cp36-win_amd64.lib 和对象 build\temp.win-amd64-3.6\Release\cupy\core\internal.cp36-win_amd64.exp
    building 'cupy.cuda.cublas' extension
    creating build\temp.win-amd64-3.6\Release\cupy\cuda
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=0 -D_FORCE_INLINES=1 "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-Ic:\program files\anaconda3\include" "-Ic:\program files\anaconda3\include" /Tpcupy\cuda\cublas.cpp /Fobuild\temp.win-amd64-3.6\Release\cupy\cuda\cublas.obj
    cublas.cpp
    c:\users\jacob zhong\appdata\local\temp\pip-req-build-x2z1rj_n\cupy\cuda\cupy_cuda.h(28): fatal error C1083: 无法打开包括文件: “nvToolsExt.h”: No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2

    ----------------------------------------
Command ""c:\program files\anaconda3\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\JACOBZ~1\\AppData\\Local\\Temp\\pip-req-build-x2z1rj_n\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\JACOBZ~1\AppData\Local\Temp\pip-record-3mjykret\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\JACOBZ~1\AppData\Local\Temp\pip-req-build-x2z1rj_n\
```

It seems that the installation needs NVIDIA Tools Extension API (NVTX) to be installed which I cancelled when I installed cuda. After I install NVTX back again, the installation complete perfectly. I noticed that the output printed:
```
  **************************************************
  *** WARNING: Cannot find nvToolsExt. nvtx was disabled.
  **************************************************
```
So I guess NVTX is an optional dependency. Is NVTX essential for installation? I didn't find this instruction in documentation about building cupy.


Discussion:
Thank you for the feedback. It is expected to be a optional dependency.

Resolving patch:
diff --git a/cupy_setup_build.py b/cupy_setup_build.py
--- a/cupy_setup_build.py
+++ b/cupy_setup_build.py
@@ -17,7 +17,6 @@
 from setuptools.command import sdist
 
 from install import build
-from install import utils
 
 
 required_cython_version = pkg_resources.parse_version('0.26.1')
@@ -43,7 +42,6 @@
             'cupy.cuda.nvrtc',
             'cupy.cuda.pinned_memory',
             'cupy.cuda.profiler',
-            'cupy.cuda.nvtx',
             'cupy.cuda.function',
             'cupy.cuda.stream',
             'cupy.cuda.runtime',
@@ -58,7 +56,6 @@
             'curand.h',
             'cusparse.h',
             'nvrtc.h',
-            'nvToolsExt.h',
         ],
         'libraries': [
             'cublas',
@@ -68,7 +65,6 @@
             'curand',
             'cusparse',
             'nvrtc',
-            'nvToolsExt',
         ],
         'check_method': build.check_cuda_version,
         'version_method': build.get_cuda_version,
@@ -115,6 +111,19 @@
         ],
         'check_method': build.check_cusolver_version,
     },
+    {
+        'name': 'nvtx',
+        'file': [
+            'cupy.cuda.nvtx',
+        ],
+        'include': [
+            'nvToolsExt.h',
+        ],
+        'libraries': [
+            'nvToolsExt' if not sys.platform == 'win32' else 'nvToolsExt64_1',
+        ],
+        'check_method': build.check_nvtx,
+    },
     {
         # The value of the key 'file' is a list that contains extension names
         # or tuples of an extension name and a list of other souces files
@@ -141,17 +150,6 @@
     }
 ]
 
-if sys.platform == 'win32':
-    mod_cuda = MODULES[0]
-    mod_cuda['libraries'].remove('nvToolsExt')
-    if utils.search_on_path(['nvToolsExt64_1.dll']) is None:
-        mod_cuda['file'].remove('cupy.cuda.nvtx')
-        mod_cuda['include'].remove('nvToolsExt.h')
-        utils.print_warning(
-            'Cannot find nvToolsExt. nvtx was disabled.')
-    else:
-        mod_cuda['libraries'].append('nvToolsExt64_1')
-
 
 def ensure_module_file(file):
     if isinstance(file, tuple):
@@ -237,7 +235,8 @@ def preconfigure_modules(compiler, settings):
         'Environment Variables:',
     ]
 
-    for key in ['CFLAGS', 'LDFLAGS', 'LIBRARY_PATH', 'CUDA_PATH', 'NVCC']:
+    for key in ['CFLAGS', 'LDFLAGS', 'LIBRARY_PATH',
+                'CUDA_PATH', 'NVTOOLSEXT_PATH', 'NVCC']:
         summary += ['  {:<16}: {}'.format(key, os.environ.get(key, '(none)'))]
 
     summary += [
diff --git a/install/build.py b/install/build.py
--- a/install/build.py
+++ b/install/build.py
@@ -348,6 +348,25 @@ def check_cusolver_version(compiler, settings):
     return True
 
 
+def check_nvtx(compiler, settings):
+    if sys.platform == 'win32':
+        path = os.environ.get('NVTOOLSEXT_PATH', None)
+        if path is None:
+            utils.print_warning(
+                'NVTX unavailable: NVTOOLSEXT_PATH is not set')
+        elif not os.path.exists(path):
+            utils.print_warning(
+                'NVTX unavailable: NVTOOLSEXT_PATH is set but the directory '
+                'does not exist')
+        elif utils.search_on_path(['nvToolsExt64_1.dll']) is None:
+            utils.print_warning(
+                'NVTX unavailable: nvToolsExt64_1.dll not found in PATH')
+        else:
+            return True
+        return False
+    return True
+
+
 def build_shlib(compiler, source, libraries=(),
                 include_dirs=(), library_dirs=()):
     with _tempdir() as temp_dir:


Test patch: