question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configuration missing for cupy.cuda.cub extension

See original GitHub issue

Hi CuPy team,

I am compiling CuPy for ppc64le, using

python setup.py build

After installing CUB in CONDA_PREFIX path, module configurations looked ok:

Output

Options: {'package_name': 'cupy', 'long_description': None, 'wheel_libs': [], 'wheel_includes': [], 'no_rpath': False, 'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False, 'use_hip': False}

-------- Configuring Module: cuda --------
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++

-------- Configuring Module: cusolver --------
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++

-------- Configuring Module: cudnn --------
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++

-------- Configuring Module: nccl --------
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++

-------- Configuring Module: nvtx --------
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++

-------- Configuring Module: thrust --------
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++

-------- Configuring Module: cutensor --------
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++

-------- Configuring Module: cub --------
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++

************************************************************
* CuPy Configuration Summary                               *
************************************************************

Build Environment:
  Include directories: ['/sw/summit/cuda/10.1.168/include']
  Library directories: ['/sw/summit/cuda/10.1.168/lib64']
  nvcc command       : ['/sw/summit/cuda/10.1.168/bin/nvcc']

Environment Variables:
  CFLAGS          : (none)
  LDFLAGS         : (none)
  LIBRARY_PATH    : /autofs/nccs-svm1_sw/summit/.swci/1-compute/opt/spack/20180914/linux-rhel7-ppc64le/gcc-6.4.0/spectrum-mpi-10.3.0.1-20190611-cyaenjgora6now2nusxzkfli4mzjnudx/lib:/autofs/nccs-svm1_sw/summit/.swci/1-compute/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/darshan-runtime-3.1.7-csygoqyym3m3ysoaperhxlhoiluvpa2u/lib
  CUDA_PATH       : (none)
  NVTOOLSEXT_PATH : (none)
  NVCC            : (none)
  ROCM_HOME       : (none)

Modules:
  cuda      : Yes (version 10010)
  cusolver  : Yes
  cudnn     : Yes (version 7601)
  nccl      : Yes (version 2407)
  nvtx      : Yes
  thrust    : Yes
  cutensor  : Yes (version 1001)
  cub       : Yes
************************************************************

running build
running build_py
creating build
creating build/lib.linux-ppc64le-3.7
creating build/lib.linux-ppc64le-3.7/cupy
copying cupy/cutensor.py -> build/lib.linux-ppc64le-3.7/cupy
copying cupy/__init__.py -> build/lib.linux-ppc64le-3.7/cupy
copying cupy/cusparse.py -> build/lib.linux-ppc64le-3.7/cupy
copying cupy/_version.py -> build/lib.linux-ppc64le-3.7/cupy
copying cupy/_environment.py -> build/lib.linux-ppc64le-3.7/cupy
creating build/lib.linux-ppc64le-3.7/cupy/binary
copying cupy/binary/elementwise.py -> build/lib.linux-ppc64le-3.7/cupy/binary
copying cupy/binary/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/binary
copying cupy/binary/packing.py -> build/lib.linux-ppc64le-3.7/cupy/binary
creating build/lib.linux-ppc64le-3.7/cupy/core
copying cupy/core/_ufuncs.py -> build/lib.linux-ppc64le-3.7/cupy/core
copying cupy/core/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/core
copying cupy/core/_errors.py -> build/lib.linux-ppc64le-3.7/cupy/core
creating build/lib.linux-ppc64le-3.7/cupy/creation
copying cupy/creation/ranges.py -> build/lib.linux-ppc64le-3.7/cupy/creation
copying cupy/creation/basic.py -> build/lib.linux-ppc64le-3.7/cupy/creation
copying cupy/creation/matrix.py -> build/lib.linux-ppc64le-3.7/cupy/creation
copying cupy/creation/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/creation
copying cupy/creation/from_data.py -> build/lib.linux-ppc64le-3.7/cupy/creation
creating build/lib.linux-ppc64le-3.7/cupy/cuda
copying cupy/cuda/compiler.py -> build/lib.linux-ppc64le-3.7/cupy/cuda
copying cupy/cuda/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/cuda
copying cupy/cuda/_environment.py -> build/lib.linux-ppc64le-3.7/cupy/cuda
creating build/lib.linux-ppc64le-3.7/cupy/cuda/memory_hooks
copying cupy/cuda/memory_hooks/debug_print.py -> build/lib.linux-ppc64le-3.7/cupy/cuda/memory_hooks
copying cupy/cuda/memory_hooks/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/cuda/memory_hooks
copying cupy/cuda/memory_hooks/line_profile.py -> build/lib.linux-ppc64le-3.7/cupy/cuda/memory_hooks
creating build/lib.linux-ppc64le-3.7/cupy/ext
copying cupy/ext/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/ext
copying cupy/ext/scatter.py -> build/lib.linux-ppc64le-3.7/cupy/ext
creating build/lib.linux-ppc64le-3.7/cupy/fft
copying cupy/fft/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/fft
copying cupy/fft/config.py -> build/lib.linux-ppc64le-3.7/cupy/fft
copying cupy/fft/fft.py -> build/lib.linux-ppc64le-3.7/cupy/fft
creating build/lib.linux-ppc64le-3.7/cupy/indexing
copying cupy/indexing/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/indexing
copying cupy/indexing/insert.py -> build/lib.linux-ppc64le-3.7/cupy/indexing
copying cupy/indexing/indexing.py -> build/lib.linux-ppc64le-3.7/cupy/indexing
copying cupy/indexing/generate.py -> build/lib.linux-ppc64le-3.7/cupy/indexing
creating build/lib.linux-ppc64le-3.7/cupy/io
copying cupy/io/npz.py -> build/lib.linux-ppc64le-3.7/cupy/io
copying cupy/io/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/io
copying cupy/io/text.py -> build/lib.linux-ppc64le-3.7/cupy/io
copying cupy/io/formatting.py -> build/lib.linux-ppc64le-3.7/cupy/io
creating build/lib.linux-ppc64le-3.7/cupy/lib
copying cupy/lib/stride_tricks.py -> build/lib.linux-ppc64le-3.7/cupy/lib
copying cupy/lib/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/lib
creating build/lib.linux-ppc64le-3.7/cupy/linalg
copying cupy/linalg/solve.py -> build/lib.linux-ppc64le-3.7/cupy/linalg
copying cupy/linalg/einsum_opt.py -> build/lib.linux-ppc64le-3.7/cupy/linalg
copying cupy/linalg/util.py -> build/lib.linux-ppc64le-3.7/cupy/linalg
copying cupy/linalg/norms.py -> build/lib.linux-ppc64le-3.7/cupy/linalg
copying cupy/linalg/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/linalg
copying cupy/linalg/eigenvalue.py -> build/lib.linux-ppc64le-3.7/cupy/linalg
copying cupy/linalg/einsum.py -> build/lib.linux-ppc64le-3.7/cupy/linalg
copying cupy/linalg/product.py -> build/lib.linux-ppc64le-3.7/cupy/linalg
copying cupy/linalg/decomposition.py -> build/lib.linux-ppc64le-3.7/cupy/linalg
creating build/lib.linux-ppc64le-3.7/cupy/logic
copying cupy/logic/content.py -> build/lib.linux-ppc64le-3.7/cupy/logic
copying cupy/logic/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/logic
copying cupy/logic/comparison.py -> build/lib.linux-ppc64le-3.7/cupy/logic
copying cupy/logic/ops.py -> build/lib.linux-ppc64le-3.7/cupy/logic
copying cupy/logic/truth.py -> build/lib.linux-ppc64le-3.7/cupy/logic
copying cupy/logic/type_test.py -> build/lib.linux-ppc64le-3.7/cupy/logic
creating build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/transpose.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/basic.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/dims.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/rearrange.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/tiling.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/add_remove.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/split.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/kind.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/shape.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
copying cupy/manipulation/join.py -> build/lib.linux-ppc64le-3.7/cupy/manipulation
creating build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/floating.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/window.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/rounding.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/arithmetic.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/ufunc.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/trigonometric.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/special.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/hyperbolic.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/explog.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/misc.py -> build/lib.linux-ppc64le-3.7/cupy/math
copying cupy/math/sumprod.py -> build/lib.linux-ppc64le-3.7/cupy/math
creating build/lib.linux-ppc64le-3.7/cupy/misc
copying cupy/misc/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/misc
copying cupy/misc/memory_ranges.py -> build/lib.linux-ppc64le-3.7/cupy/misc
creating build/lib.linux-ppc64le-3.7/cupy/padding
copying cupy/padding/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/padding
copying cupy/padding/pad.py -> build/lib.linux-ppc64le-3.7/cupy/padding
creating build/lib.linux-ppc64le-3.7/cupy/prof
copying cupy/prof/time_range.py -> build/lib.linux-ppc64le-3.7/cupy/prof
copying cupy/prof/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/prof
creating build/lib.linux-ppc64le-3.7/cupy/random
copying cupy/random/permutations.py -> build/lib.linux-ppc64le-3.7/cupy/random
copying cupy/random/generator.py -> build/lib.linux-ppc64le-3.7/cupy/random
copying cupy/random/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/random
copying cupy/random/distributions.py -> build/lib.linux-ppc64le-3.7/cupy/random
copying cupy/random/sample.py -> build/lib.linux-ppc64le-3.7/cupy/random
copying cupy/random/_kernels.py -> build/lib.linux-ppc64le-3.7/cupy/random
creating build/lib.linux-ppc64le-3.7/cupy/sorting
copying cupy/sorting/search.py -> build/lib.linux-ppc64le-3.7/cupy/sorting
copying cupy/sorting/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/sorting
copying cupy/sorting/count.py -> build/lib.linux-ppc64le-3.7/cupy/sorting
copying cupy/sorting/sort.py -> build/lib.linux-ppc64le-3.7/cupy/sorting
creating build/lib.linux-ppc64le-3.7/cupy/sparse
copying cupy/sparse/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/sparse
creating build/lib.linux-ppc64le-3.7/cupy/sparse/linalg
copying cupy/sparse/linalg/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/sparse/linalg
creating build/lib.linux-ppc64le-3.7/cupy/statistics
copying cupy/statistics/order.py -> build/lib.linux-ppc64le-3.7/cupy/statistics
copying cupy/statistics/correlation.py -> build/lib.linux-ppc64le-3.7/cupy/statistics
copying cupy/statistics/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/statistics
copying cupy/statistics/meanvar.py -> build/lib.linux-ppc64le-3.7/cupy/statistics
copying cupy/statistics/histogram.py -> build/lib.linux-ppc64le-3.7/cupy/statistics
creating build/lib.linux-ppc64le-3.7/cupy/testing
copying cupy/testing/_bundle.py -> build/lib.linux-ppc64le-3.7/cupy/testing
copying cupy/testing/parameterized.py -> build/lib.linux-ppc64le-3.7/cupy/testing
copying cupy/testing/__init__.py -> build/lib.linux-ppc64le-3.7/cupy/testing
copying cupy/testing/helper.py -> build/lib.linux-ppc64le-3.7/cupy/testing
copying cupy/testing/random.py -> build/lib.linux-ppc64le-3.7/cupy/testing
copying cupy/testing/hypothesis.py -> build/lib.linux-ppc64le-3.7/cupy/testing
copying cupy/testing/attr.py -> build/lib.linux-ppc64le-3.7/cupy/testing
copying cupy/testing/condition.py -> build/lib.linux-ppc64le-3.7/cupy/testing
copying cupy/testing/array.py -> build/lib.linux-ppc64le-3.7/cupy/testing
creating build/lib.linux-ppc64le-3.7/cupyx
copying cupyx/runtime.py -> build/lib.linux-ppc64le-3.7/cupyx
copying cupyx/rsqrt.py -> build/lib.linux-ppc64le-3.7/cupyx
copying cupyx/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx
copying cupyx/scatter.py -> build/lib.linux-ppc64le-3.7/cupyx
copying cupyx/_ufunc_config.py -> build/lib.linux-ppc64le-3.7/cupyx
creating build/lib.linux-ppc64le-3.7/cupyx/fallback_mode
copying cupyx/fallback_mode/fallback.py -> build/lib.linux-ppc64le-3.7/cupyx/fallback_mode
copying cupyx/fallback_mode/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/fallback_mode
creating build/lib.linux-ppc64le-3.7/cupyx/scipy
copying cupyx/scipy/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy
creating build/lib.linux-ppc64le-3.7/cupyx/scipy/fft
copying cupyx/scipy/fft/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/fft
copying cupyx/scipy/fft/fft.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/fft
creating build/lib.linux-ppc64le-3.7/cupyx/scipy/fftpack
copying cupyx/scipy/fftpack/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/fftpack
copying cupyx/scipy/fftpack/fft.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/fftpack
creating build/lib.linux-ppc64le-3.7/cupyx/scipy/ndimage
copying cupyx/scipy/ndimage/filters.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/ndimage
copying cupyx/scipy/ndimage/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/ndimage
copying cupyx/scipy/ndimage/interpolation.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/ndimage
creating build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/coo.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/data.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/util.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/csr.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/csc.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/dia.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/base.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/sputils.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/construct.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
copying cupyx/scipy/sparse/compressed.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse
creating build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse/linalg
copying cupyx/scipy/sparse/linalg/solve.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse/linalg
copying cupyx/scipy/sparse/linalg/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/sparse/linalg
creating build/lib.linux-ppc64le-3.7/cupyx/scipy/special
copying cupyx/scipy/special/digamma.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/special
copying cupyx/scipy/special/statistics.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/special
copying cupyx/scipy/special/bessel.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/special
copying cupyx/scipy/special/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/special
copying cupyx/scipy/special/erf.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/special
copying cupyx/scipy/special/gammaln.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/special
copying cupyx/scipy/special/polygamma.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/special
copying cupyx/scipy/special/zeta.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/special
copying cupyx/scipy/special/gamma.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/special
creating build/lib.linux-ppc64le-3.7/cupyx/scipy/linalg
copying cupyx/scipy/linalg/decomp_lu.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/linalg
copying cupyx/scipy/linalg/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/linalg
copying cupyx/scipy/linalg/solve_triangular.py -> build/lib.linux-ppc64le-3.7/cupyx/scipy/linalg
creating build/lib.linux-ppc64le-3.7/cupyx/linalg
copying cupyx/linalg/solve.py -> build/lib.linux-ppc64le-3.7/cupyx/linalg
copying cupyx/linalg/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/linalg
creating build/lib.linux-ppc64le-3.7/cupyx/linalg/sparse
copying cupyx/linalg/sparse/solve.py -> build/lib.linux-ppc64le-3.7/cupyx/linalg/sparse
copying cupyx/linalg/sparse/__init__.py -> build/lib.linux-ppc64le-3.7/cupyx/linalg/sparse
creating build/lib.linux-ppc64le-3.7/cupy/core/include
creating build/lib.linux-ppc64le-3.7/cupy/core/include/cupy
creating build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/arithmetic.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/catrig.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/catrigf.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/ccosh.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/ccoshf.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/cexp.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/cexpf.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/clog.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/clogf.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/complex.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/complex_inl.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/cpow.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/cproj.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/csinh.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/csinhf.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/csqrt.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/csqrtf.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/ctanh.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/ctanhf.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/complex/math_private.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/complex
copying cupy/core/include/cupy/carray.cuh -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy
copying cupy/core/include/cupy/complex.cuh -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy
copying cupy/core/include/cupy/atomics.cuh -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy
copying cupy/core/include/cupy/cuComplex_bridge.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy
creating build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/_cuda
creating build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/_cuda/cuda-10.1
copying cupy/core/include/cupy/_cuda/cuda-10.1/cuda_fp16.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/_cuda/cuda-10.1
creating build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/_cuda/cuda-10.0
copying cupy/core/include/cupy/_cuda/cuda-10.0/cuda_fp16.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/_cuda/cuda-10.0
creating build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/_cuda/cuda-9.2
copying cupy/core/include/cupy/_cuda/cuda-9.2/cuda_fp16.h -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/_cuda/cuda-9.2
copying cupy/core/include/cupy/_cuda/cuda-10.1/cuda_fp16.hpp -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/_cuda/cuda-10.1
copying cupy/core/include/cupy/_cuda/cuda-10.0/cuda_fp16.hpp -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/_cuda/cuda-10.0
copying cupy/core/include/cupy/_cuda/cuda-9.2/cuda_fp16.hpp -> build/lib.linux-ppc64le-3.7/cupy/core/include/cupy/_cuda/cuda-9.2
copying cupy/cuda/cupy_thrust.cu -> build/lib.linux-ppc64le-3.7/cupy/cuda
running build_ext

-------- Configuring Module: cuda --------
creating /tmp/tmpvdjeopj9/tmp
creating /tmp/tmpvdjeopj9/tmp/tmpvdjeopj9
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -I/sw/summit/cuda/10.1.168/include -c /tmp/tmpvdjeopj9/a.cpp -o /tmp/tmpvdjeopj9/tmp/tmpvdjeopj9/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpvdjeopj9/tmp/tmpvdjeopj9/a.o -o /tmp/tmpvdjeopj9/liba.so
creating /tmp/tmpp84d7bqg/tmp
creating /tmp/tmpp84d7bqg/tmp/tmpp84d7bqg
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -c /tmp/tmpp84d7bqg/a.cpp -o /tmp/tmpp84d7bqg/tmp/tmpp84d7bqg/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpp84d7bqg/tmp/tmpp84d7bqg/a.o -L/sw/summit/cuda/10.1.168/lib64 -lcublas -lcuda -lcudart -lcufft -lcurand -lcusparse -lnvrtc -o /tmp/tmpp84d7bqg/liba.so
creating /tmp/tmp9vdlwdaf/tmp
creating /tmp/tmp9vdlwdaf/tmp/tmp9vdlwdaf
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/sw/summit/cuda/10.1.168/include -c /tmp/tmp9vdlwdaf/a.cpp -o /tmp/tmp9vdlwdaf/tmp/tmp9vdlwdaf/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ /tmp/tmp9vdlwdaf/tmp/tmp9vdlwdaf/a.o -o /tmp/tmp9vdlwdaf/a

-------- Configuring Module: cusolver --------
creating /tmp/tmphqgw2p8z/tmp
creating /tmp/tmphqgw2p8z/tmp/tmphqgw2p8z
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -I/sw/summit/cuda/10.1.168/include -c /tmp/tmphqgw2p8z/a.cpp -o /tmp/tmphqgw2p8z/tmp/tmphqgw2p8z/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmphqgw2p8z/tmp/tmphqgw2p8z/a.o -o /tmp/tmphqgw2p8z/liba.so
creating /tmp/tmp_ln5nbeg/tmp
creating /tmp/tmp_ln5nbeg/tmp/tmp_ln5nbeg
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -c /tmp/tmp_ln5nbeg/a.cpp -o /tmp/tmp_ln5nbeg/tmp/tmp_ln5nbeg/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmp_ln5nbeg/tmp/tmp_ln5nbeg/a.o -L/sw/summit/cuda/10.1.168/lib64 -lcusolver -o /tmp/tmp_ln5nbeg/liba.so
creating /tmp/tmpsas2k9d_/tmp
creating /tmp/tmpsas2k9d_/tmp/tmpsas2k9d_
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/sw/summit/cuda/10.1.168/include -c /tmp/tmpsas2k9d_/a.cpp -o /tmp/tmpsas2k9d_/tmp/tmpsas2k9d_/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ /tmp/tmpsas2k9d_/tmp/tmpsas2k9d_/a.o -o /tmp/tmpsas2k9d_/a

-------- Configuring Module: cudnn --------
creating /tmp/tmp6r_tmqwa/tmp
creating /tmp/tmp6r_tmqwa/tmp/tmp6r_tmqwa
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -I/sw/summit/cuda/10.1.168/include -c /tmp/tmp6r_tmqwa/a.cpp -o /tmp/tmp6r_tmqwa/tmp/tmp6r_tmqwa/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmp6r_tmqwa/tmp/tmp6r_tmqwa/a.o -o /tmp/tmp6r_tmqwa/liba.so
creating /tmp/tmp98vgtddn/tmp
creating /tmp/tmp98vgtddn/tmp/tmp98vgtddn
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -c /tmp/tmp98vgtddn/a.cpp -o /tmp/tmp98vgtddn/tmp/tmp98vgtddn/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmp98vgtddn/tmp/tmp98vgtddn/a.o -L/sw/summit/cuda/10.1.168/lib64 -lcudnn -o /tmp/tmp98vgtddn/liba.so
creating /tmp/tmpi67242fe/tmp
creating /tmp/tmpi67242fe/tmp/tmpi67242fe
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/sw/summit/cuda/10.1.168/include -c /tmp/tmpi67242fe/a.cpp -o /tmp/tmpi67242fe/tmp/tmpi67242fe/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ /tmp/tmpi67242fe/tmp/tmpi67242fe/a.o -o /tmp/tmpi67242fe/a

-------- Configuring Module: nccl --------
creating /tmp/tmpdeclbrbu/tmp
creating /tmp/tmpdeclbrbu/tmp/tmpdeclbrbu
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -I/sw/summit/cuda/10.1.168/include -c /tmp/tmpdeclbrbu/a.cpp -o /tmp/tmpdeclbrbu/tmp/tmpdeclbrbu/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpdeclbrbu/tmp/tmpdeclbrbu/a.o -o /tmp/tmpdeclbrbu/liba.so
creating /tmp/tmphol3d5f2/tmp
creating /tmp/tmphol3d5f2/tmp/tmphol3d5f2
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -c /tmp/tmphol3d5f2/a.cpp -o /tmp/tmphol3d5f2/tmp/tmphol3d5f2/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmphol3d5f2/tmp/tmphol3d5f2/a.o -L/sw/summit/cuda/10.1.168/lib64 -lnccl -o /tmp/tmphol3d5f2/liba.so
creating /tmp/tmp847j70ts/tmp
creating /tmp/tmp847j70ts/tmp/tmp847j70ts
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/sw/summit/cuda/10.1.168/include -c /tmp/tmp847j70ts/a.cpp -o /tmp/tmp847j70ts/tmp/tmp847j70ts/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ /tmp/tmp847j70ts/tmp/tmp847j70ts/a.o -o /tmp/tmp847j70ts/a

-------- Configuring Module: nvtx --------
creating /tmp/tmpf65245a9/tmp
creating /tmp/tmpf65245a9/tmp/tmpf65245a9
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -I/sw/summit/cuda/10.1.168/include -c /tmp/tmpf65245a9/a.cpp -o /tmp/tmpf65245a9/tmp/tmpf65245a9/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpf65245a9/tmp/tmpf65245a9/a.o -o /tmp/tmpf65245a9/liba.so
creating /tmp/tmpfn1xr8_r/tmp
creating /tmp/tmpfn1xr8_r/tmp/tmpfn1xr8_r
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -c /tmp/tmpfn1xr8_r/a.cpp -o /tmp/tmpfn1xr8_r/tmp/tmpfn1xr8_r/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpfn1xr8_r/tmp/tmpfn1xr8_r/a.o -L/sw/summit/cuda/10.1.168/lib64 -lnvToolsExt -o /tmp/tmpfn1xr8_r/liba.so

-------- Configuring Module: thrust --------
creating /tmp/tmpmh7a_i0i/tmp
creating /tmp/tmpmh7a_i0i/tmp/tmpmh7a_i0i
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -I/sw/summit/cuda/10.1.168/include -c /tmp/tmpmh7a_i0i/a.cpp -o /tmp/tmpmh7a_i0i/tmp/tmpmh7a_i0i/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpmh7a_i0i/tmp/tmpmh7a_i0i/a.o -o /tmp/tmpmh7a_i0i/liba.so
creating /tmp/tmpo29q0s6l/tmp
creating /tmp/tmpo29q0s6l/tmp/tmpo29q0s6l
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -c /tmp/tmpo29q0s6l/a.cpp -o /tmp/tmpo29q0s6l/tmp/tmpo29q0s6l/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpo29q0s6l/tmp/tmpo29q0s6l/a.o -L/sw/summit/cuda/10.1.168/lib64 -lcudart -o /tmp/tmpo29q0s6l/liba.so
creating /tmp/tmpztfluwxo/tmp
creating /tmp/tmpztfluwxo/tmp/tmpztfluwxo
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/sw/summit/cuda/10.1.168/include -c /tmp/tmpztfluwxo/a.cpp -o /tmp/tmpztfluwxo/tmp/tmpztfluwxo/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ /tmp/tmpztfluwxo/tmp/tmpztfluwxo/a.o -o /tmp/tmpztfluwxo/a

-------- Configuring Module: cutensor --------
creating /tmp/tmpzpcr4py6/tmp
creating /tmp/tmpzpcr4py6/tmp/tmpzpcr4py6
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -I/sw/summit/cuda/10.1.168/include -I/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/include -c /tmp/tmpzpcr4py6/a.cpp -o /tmp/tmpzpcr4py6/tmp/tmpzpcr4py6/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpzpcr4py6/tmp/tmpzpcr4py6/a.o -o /tmp/tmpzpcr4py6/liba.so
creating /tmp/tmp4k0hjpwa/tmp
creating /tmp/tmp4k0hjpwa/tmp/tmp4k0hjpwa
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -c /tmp/tmp4k0hjpwa/a.cpp -o /tmp/tmp4k0hjpwa/tmp/tmp4k0hjpwa/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmp4k0hjpwa/tmp/tmp4k0hjpwa/a.o -L/sw/summit/cuda/10.1.168/lib64 -lcutensor -lcublas -lcudart -o /tmp/tmp4k0hjpwa/liba.so
creating /tmp/tmplzrv7c3g/tmp
creating /tmp/tmplzrv7c3g/tmp/tmplzrv7c3g
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/sw/summit/cuda/10.1.168/include -I/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/include -c /tmp/tmplzrv7c3g/a.cpp -o /tmp/tmplzrv7c3g/tmp/tmplzrv7c3g/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ /tmp/tmplzrv7c3g/tmp/tmplzrv7c3g/a.o -o /tmp/tmplzrv7c3g/a

-------- Configuring Module: cub --------
creating /tmp/tmpb6cq12om/tmp
creating /tmp/tmpb6cq12om/tmp/tmpb6cq12om
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -I/sw/summit/cuda/10.1.168/include -I/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/include -c /tmp/tmpb6cq12om/a.cpp -o /tmp/tmpb6cq12om/tmp/tmpb6cq12om/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpb6cq12om/tmp/tmpb6cq12om/a.o -o /tmp/tmpb6cq12om/liba.so
creating /tmp/tmpxo7nv8wx/tmp
creating /tmp/tmpxo7nv8wx/tmp/tmpxo7nv8wx
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -c /tmp/tmpxo7nv8wx/a.cpp -o /tmp/tmpxo7nv8wx/tmp/tmpxo7nv8wx/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -shared -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -L/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,-rpath=/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpxo7nv8wx/tmp/tmpxo7nv8wx/a.o -L/sw/summit/cuda/10.1.168/lib64 -lcudart -o /tmp/tmpxo7nv8wx/liba.so
creating /tmp/tmprh9ksnar/tmp
creating /tmp/tmprh9ksnar/tmp/tmprh9ksnar
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/sw/summit/cuda/10.1.168/include -I/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/include -c /tmp/tmprh9ksnar/a.cpp -o /tmp/tmprh9ksnar/tmp/tmprh9ksnar/a.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ /tmp/tmprh9ksnar/tmp/tmprh9ksnar/a.o -o /tmp/tmprh9ksnar/a

************************************************************
* CuPy Configuration Summary                               *
************************************************************

Build Environment:
  Include directories: ['/sw/summit/cuda/10.1.168/include']
  Library directories: ['/sw/summit/cuda/10.1.168/lib64']
  nvcc command       : ['/sw/summit/cuda/10.1.168/bin/nvcc']

Environment Variables:
  CFLAGS          : (none)
  LDFLAGS         : (none)
  LIBRARY_PATH    : /autofs/nccs-svm1_sw/summit/.swci/1-compute/opt/spack/20180914/linux-rhel7-ppc64le/gcc-6.4.0/spectrum-mpi-10.3.0.1-20190611-cyaenjgora6now2nusxzkfli4mzjnudx/lib:/autofs/nccs-svm1_sw/summit/.swci/1-compute/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/darshan-runtime-3.1.7-csygoqyym3m3ysoaperhxlhoiluvpa2u/lib
  CUDA_PATH       : (none)
  NVTOOLSEXT_PATH : (none)
  NVCC            : (none)
  ROCM_HOME       : (none)

Modules:
  cuda      : Yes (version 10010)
  cusolver  : Yes
  cudnn     : Yes (version 7601)
  nccl      : Yes (version 2407)
  nvtx      : Yes
  thrust    : Yes
  cutensor  : Yes (version 1001)
  cub       : Yes
************************************************************

Nevertheless, when reaching cupy.cuda.cub extension compilation, I got the next error:

building 'cupy.cuda.cub' extension
gcc -pthread -B /gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_FORCE_INLINES=1 -I/sw/summit/cuda/10.1.168/include -I/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/include -I/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/include/python3.7m -c cupy/cuda/cub.cpp -o build/temp.linux-ppc64le-3.7/cupy/cuda/cub.o -fopenmp
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
NVCC options: ['--generate-code=arch=compute_30,code=compute_30', '--generate-code=arch=compute_50,code=compute_50', '--generate-code=arch=compute_60,code=sm_60', '--generate-code=arch=compute_61,code=sm_61', '--generate-code=arch=compute_70,code=sm_70', '--generate-code=arch=compute_75,code=sm_75', '--generate-code=arch=compute_70,code=compute_70', '-O2', '--compiler-options="-fPIC"', '--std=c++11']
/sw/summit/cuda/10.1.168/bin/nvcc -D_FORCE_INLINES=1 -I/sw/summit/cuda/10.1.168/include -I/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/include -I/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/include/python3.7m -c cupy/cuda/cupy_cub.cu -o build/temp.linux-ppc64le-3.7/cupy/cuda/cupy_cub.o --generate-code=arch=compute_30,code=compute_30 --generate-code=arch=compute_50,code=compute_50 --generate-code=arch=compute_60,code=sm_60 --generate-code=arch=compute_61,code=sm_61 --generate-code=arch=compute_70,code=sm_70 --generate-code=arch=compute_75,code=sm_75 --generate-code=arch=compute_70,code=compute_70 -O2 --compiler-options="-fPIC" --std=c++11
cupy/cuda/cupy_cub.cu:1:28: fatal error: cupy/complex.cuh: No such file or directory
 #include <cupy/complex.cuh>
                            ^

I suspect, the path to complex.cuh and other cupy’s headers should be set for cupy.cuda.cub extension.

The cupy version I am trying to build is the latest (7.2.0 ?) from branch v7.

Regards,

Benjamin

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
grlee77commented, Feb 13, 2020

The problem seems to be in missing folders in the “include directories” listed in your build log:

************************************************************
* CuPy Configuration Summary                               *
************************************************************

Build Environment:
  Include directories: ['/sw/summit/cuda/10.1.168/include']

As @leofang mentioned, the environment variable CUB_PATH must be set to the location of CUB on your system. For example, on an Ubuntu machine, I set export CUB_PATH=/home/lee8rx/Downloads/cub-1.8.0 prior to building the package.

There is an open PR to bundle CUB with CuPy so the user does not have to downloaded it independently, but this has not yet been merged (#2584).

If CUB_PATH is found, the following code should be adding the proper include paths, but for some reason these are not showing up in your build log: https://github.com/cupy/cupy/blob/v7/install/build.py#L165-L170

For example, on my system, the include directories listed are:

Include directories: ['/usr/local/cuda/include', '/home/lee8rx/src/cupy/install/../cupy/core/include', '/home/lee8rx/Downloads/cub-1.8.0']

The second folder in that list is within the CuPy source folder and contains complex.cuh. The third folder corresponds to my CUB_PATH environment variable.

0reactions
leofangcommented, Feb 18, 2020

Ah, so it’s what I guessed. I believe what you encountered should be considered a bug: When CUB headers can be found in search path but CUB_PATH is not set, the build would fail.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem installing CuPy : r/CUDA - Reddit
I receive the following error when I try to install CuPy: RuntimeError: Missing file: cupy/cuda/cupy_cub.cu Please install Cython 0.28.0 or ...
Read more >
latest PDF - CuPy Documentation
CuPy is a NumPy/SciPy-compatible array library for GPU-accelerated computing with Python. CuPy acts as a drop-in replacement to run existing NumPy/SciPy ...
Read more >
I cannot install cupy with pip - Stack Overflow
RESOLVED ISSUE: Check this Doc. There was support issue with various cuda version. CHECK "Installing CuPy" FOR EXAMPLE: pip install ...
Read more >
python-cupy - AUR (en) - Arch Linux
linux-x86_64-3.7/cupy/cuda running build_ext Traceback (most recent call last): File "setup.py", line 180, in <module> 'sdist': sdist}, File "/ ...
Read more >
cuSOLVER API Reference - NVIDIA Documentation Center
The cuSolver library is a high-level package based on the cuBLAS and ... the user has to provide a full matrix, ie fill...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found