Code Monkey home page Code Monkey logo

flownet3d_pytorch's People

Contributors

hyangwinter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flownet3d_pytorch's Issues

error: command 'gcc' failed with exit status 1

I followed #8 and replaced AT_CHECK and THCState_getCurrentStream(state) with TORCH_CHECK and at::cuda::getCurrentCUDAStream() respectively.
But I get this error while running python setup.py install

image

System:
OS: Ubuntu 20.04 LTS
Python version: 3.7.6
PyTorch version: 1.8.1+cu102
Torchvision version: 0.9.1
CUDA/cuDNN version: 10.0/7

RuntimeError: Error compiling objects for extension

sudo apt install libopenblas-dev
pip install -U git+https://github.com/NVIDIA/MinkowskiEngine"
I encounter issues as follows,could you help me?
Building wheel for MinkowskiEngine (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/zdd/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-c15paasf/setup.py'"'"'; file='"'"'/tmp/pip-req-build-c15paasf/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-a0p6r2ex
cwd: /tmp/pip-req-build-c15paasf/
Complete output (167 lines):
WARNING: Skipping MinkowskiEngine as it is not installed.

| CUDA compilation set |

Using BLAS=openblas
Using the default compiler
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiConvolution.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPruning.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/sparse_matrix_functions.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensor.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPooling.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiFunctional.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNetwork.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/init.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
creating build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/coords.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/collation.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/quantization.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/gradcheck.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
creating build/lib.linux-x86_64-3.8/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/senet_block.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/resnet_block.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/init.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/modules
running build_ext
building 'MinkowskiEngineBackend.C' extension
creating /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8
creating /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp
creating /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf
creating /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src
creating /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/pybind
Emitting ninja build file /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/math_functions_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/math_functions_gpu.o -D__CUDA_NO_HALF_OPERATORS
_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/math_functions_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/math_functions_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/math_functions_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[2/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/coordinate_map_manager.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_manager.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_manager.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/coordinate_map_manager.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_manager.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[3/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/coordinate_map_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/coordinate_map_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[4/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_kernel.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_kernel.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_kernel.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[5/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[6/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_transpose_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_transpose_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_transpose_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_transpose_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_transpose_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[7/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pooling_avg_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_avg_kernel.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_avg_kernel.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pooling_avg_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_avg_kernel.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[8/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pooling_max_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_max_kernel.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_max_kernel.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pooling_max_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_max_kernel.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[9/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/local_pooling_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/local_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/local_pooling_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/local_pooling_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/local_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[10/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/global_pooling_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/global_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/global_pooling_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/global_pooling_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/global_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[11/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/broadcast_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/broadcast_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[12/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/broadcast_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_kernel.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_kernel.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/broadcast_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_kernel.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[13/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pruning_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pruning_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pruning_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pruning_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pruning_gpu.o -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[14/19] c++ -MMD -MF /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/math_functions_cpu.o.d -pthread -B /home/zdd/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/math_functions_cpu.cpp -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/math_functions_cpu.o -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/zdd/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1533, in _run_ninja_build
subprocess.run(
File "/home/zdd/anaconda3/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-c15paasf/setup.py", line 299, in
setup(
File "/home/zdd/anaconda3/lib/python3.8/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/zdd/anaconda3/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/zdd/anaconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/zdd/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/zdd/anaconda3/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/home/zdd/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/zdd/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/zdd/anaconda3/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/zdd/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/zdd/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/zdd/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/zdd/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/home/zdd/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/home/zdd/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions
build_ext.build_extensions(self)
File "/home/zdd/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "/home/zdd/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/home/zdd/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/home/zdd/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/home/zdd/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/home/zdd/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 491, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/zdd/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1250, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/zdd/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1555, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

ERROR: Failed building wheel for MinkowskiEngine
Running setup.py clean for MinkowskiEngine
Failed to build MinkowskiEngine
Installing collected packages: MinkowskiEngine
Running setup.py install for MinkowskiEngine ... error
ERROR: Command errored out with exit status 1:
command: /home/zdd/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-c15paasf/setup.py'"'"'; file='"'"'/tmp/pip-req-build-c15paasf/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-zhucfov9/install-record.txt --single-version-externally-managed --compile --install-headers /home/zdd/anaconda3/include/python3.8/MinkowskiEngine
cwd: /tmp/pip-req-build-c15paasf/
Complete output (169 lines):
WARNING: Skipping MinkowskiEngine as it is not installed.
--------------------------------
| CUDA compilation set |
--------------------------------

Using BLAS=openblas
Using the default compiler
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiConvolution.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPruning.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/sparse_matrix_functions.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensor.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPooling.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiFunctional.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNetwork.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
copying ./MinkowskiEngine/__init__.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine
creating build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/coords.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/collation.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/quantization.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/gradcheck.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/__init__.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils
creating build/lib.linux-x86_64-3.8/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/senet_block.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/resnet_block.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/__init__.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/modules
running build_ext
building 'MinkowskiEngineBackend._C' extension
creating /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8
creating /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp
creating /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf
creating /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src
creating /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/pybind
Emitting ninja build file /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/math_functions_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/math_functions_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/math_functions_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/math_functions_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/math_functions_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[2/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/coordinate_map_manager.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_manager.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_manager.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/coordinate_map_manager.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_manager.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[3/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/coordinate_map_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/coordinate_map_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/coordinate_map_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[4/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_kernel.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[5/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[6/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_transpose_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_transpose_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_transpose_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/convolution_transpose_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/convolution_transpose_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[7/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pooling_avg_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_avg_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_avg_kernel.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pooling_avg_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_avg_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[8/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pooling_max_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_max_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_max_kernel.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pooling_max_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pooling_max_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[9/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/local_pooling_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/local_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/local_pooling_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/local_pooling_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/local_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[10/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/broadcast_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_kernel.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/broadcast_kernel.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[11/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/global_pooling_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/global_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/global_pooling_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/global_pooling_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/global_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[12/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/broadcast_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/broadcast_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/broadcast_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[13/19] [path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pruning_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pruning_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pruning_gpu.o
[path-to-my-cuda]/lib64:/bin/nvcc -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/pruning_gpu.cu -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/pruning_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/bin/sh: 1: [path-to-my-cuda]/lib64:/bin/nvcc: not found
[14/19] c++ -MMD -MF /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/math_functions_cpu.o.d -pthread -B /home/zdd/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/zdd/anaconda3/lib/python3.8/site-packages/torch/include/THC '-I[path-to-my-cuda]/lib64:/include' -I/tmp/pip-req-build-c15paasf/src -I/tmp/pip-req-build-c15paasf/src/3rdparty -I/home/zdd/anaconda3/include/python3.8 -c -c /tmp/pip-req-build-c15paasf/src/math_functions_cpu.cpp -o /tmp/pip-req-build-c15paasf/build/temp.linux-x86_64-3.8/tmp/pip-req-build-c15paasf/src/math_functions_cpu.o -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1533, in _run_ninja_build
    subprocess.run(
  File "/home/zdd/anaconda3/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-c15paasf/setup.py", line 299, in <module>
    setup(
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/home/zdd/anaconda3/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/zdd/anaconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/home/zdd/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/home/zdd/anaconda3/lib/python3.8/distutils/command/install.py", line 545, in run
    self.run_command('build')
  File "/home/zdd/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/zdd/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/zdd/anaconda3/lib/python3.8/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/zdd/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/zdd/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "/home/zdd/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions
    build_ext.build_extensions(self)
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "/home/zdd/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/zdd/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
    _build_ext.build_extension(self, ext)
  File "/home/zdd/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 491, in unix_wrap_ninja_compile
    _write_ninja_file_and_compile_objects(
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1250, in _write_ninja_file_and_compile_objects
    _run_ninja_build(
  File "/home/zdd/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1555, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
----------------------------------------

ERROR: Command errored out with exit status 1: /home/zdd/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-c15paasf/setup.py'"'"'; file='"'"'/tmp/pip-req-build-c15paasf/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-zhucfov9/install-record.txt --single-version-externally-managed --compile --install-headers /home/zdd/anaconda3/include/python3.8/MinkowskiEngine Check the logs for full command output.
python 3.8.5
torch 1.7.1
gcc 9.3.0
ubuntu 20.04
cuda 10.2
looking forward your reply

RuntimeError: Error compiling objects for extension

Hi, I know it is probably related to Pointnet.Pytorch but I can't install library. I am new to compiling C++ code using Python. Is there a way to compile using my settings?

running install
running bdist_egg
running egg_info
writing pointnet2.egg-info/PKG-INFO
writing dependency_links to pointnet2.egg-info/dependency_links.txt
writing top-level names to pointnet2.egg-info/top_level.txt
reading manifest file 'pointnet2.egg-info/SOURCES.txt'
writing manifest file 'pointnet2.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'pointnet2_cuda' extension
Emitting ninja build file /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/8] g++ -MMD -MF /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/build/temp.linux-x86_64-3.6/src/ball_query.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/TH -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/THC -I/n/helmod/apps/centos7/Core/cuda/10.2.89-fasrc01/cuda/include -I/n/helmod/apps/centos7/CUDA/cuda/10.2.89-fasrc01/cudnn/7.6.5.32_cuda10.2-fasrc01/include -I/n/home03/theycallmefm/.conda/envs/flownet3d/include/python3.6m -c -c /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp -o /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/build/temp.linux-x86_64-3.6/src/ball_query.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/build/temp.linux-x86_64-3.6/src/ball_query.o 
g++ -MMD -MF /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/build/temp.linux-x86_64-3.6/src/ball_query.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/TH -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/THC -I/n/helmod/apps/centos7/Core/cuda/10.2.89-fasrc01/cuda/include -I/n/helmod/apps/centos7/CUDA/cuda/10.2.89-fasrc01/cudnn/7.6.5.32_cuda10.2-fasrc01/include -I/n/home03/theycallmefm/.conda/envs/flownet3d/include/python3.6m -c -c /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp -o /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/build/temp.linux-x86_64-3.6/src/ball_query.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/THC/THCTensor.h:4,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/THC/THC.h:13,
                 from /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:3:
/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
   84 | #pragma omp parallel for if ((end - begin) >= grain_size)
      | 
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp: In function ‘int ball_query_wrapper_fast(int, int, int, float, int, at::Tensor, at::Tensor, at::Tensor)’:
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:10:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
   10 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
      |                                       ^
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
   12 | #define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
      |                        ^~~~~~~~~~
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:16:5: note: in expansion of macro ‘CHECK_INPUT’
   16 |     CHECK_INPUT(new_xyz_tensor);
      |     ^~~~~~~~~~~
In file included from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
                 from /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:1:
/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
  268 |   DeprecatedTypeProperties & type() const {
      |                              ^~~~
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:10:23: error: ‘AT_CHECK’ was not declared in this scope; did you mean ‘DCHECK’?
   10 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
      |                       ^~~~~~~~
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:10:23: note: in definition of macro ‘CHECK_CUDA’
   10 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
      |                       ^~~~~~~~
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:16:5: note: in expansion of macro ‘CHECK_INPUT’
   16 |     CHECK_INPUT(new_xyz_tensor);
      |     ^~~~~~~~~~~
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:10:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
   10 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
      |                                       ^
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
   12 | #define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
      |                        ^~~~~~~~~~
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:17:5: note: in expansion of macro ‘CHECK_INPUT’
   17 |     CHECK_INPUT(xyz_tensor);
      |     ^~~~~~~~~~~
In file included from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
                 from /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:1:
/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
  268 |   DeprecatedTypeProperties & type() const {
      |                              ^~~~
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:18:55: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
   18 |     const float *new_xyz = new_xyz_tensor.data<float>();
      |                                                       ^
In file included from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
                 from /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:1:
/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:19:47: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
   19 |     const float *xyz = xyz_tensor.data<float>();
      |                                               ^
In file included from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
                 from /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:1:
/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:20:37: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
   20 |     int *idx = idx_tensor.data<int>();
      |                                     ^
In file included from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
                 from /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:1:
/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
  354 |   T * data() const {
      |       ^~~~
/net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/ball_query.cpp:22:27: error: ‘THCState_getCurrentStream’ was not declared in this scope
   22 |     cudaStream_t stream = THCState_getCurrentStream(state);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/8] g++ -MMD -MF /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/build/temp.linux-x86_64-3.6/src/pointnet2_api.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/TH -I/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/THC -I/n/helmod/apps/centos7/Core/cuda/10.2.89-fasrc01/cuda/include -I/n/helmod/apps/centos7/CUDA/cuda/10.2.89-fasrc01/cudnn/7.6.5.32_cuda10.2-fasrc01/include -I/n/home03/theycallmefm/.conda/envs/flownet3d/include/python3.6m -c -c /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/pointnet2_api.cpp -o /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/build/temp.linux-x86_64-3.6/src/pointnet2_api.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
                 from /net/coxfs01/srv/export/coxfs01/pfister_lab2/share_root/Lab/theycallmefm/flownet3d_pytorch/lib/src/pointnet2_api.cpp:2:
/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
   84 | #pragma omp parallel for if ((end - begin) >= grain_size)
      | 
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1515, in _run_ninja_build
    env=env)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    cmdclass={'build_ext': BuildExtension}
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/setuptools/__init__.py", line 165, in setup
    return distutils.core.setup(**attrs)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install
    self.run_command('bdist_egg')
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 174, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 160, in call_command
    self.run_command(cmdname)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
    self.build()
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/command/install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 87, in run
    _build_ext.run(self)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
    build_ext.build_extensions(self)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
    _build_ext.build_extension(self, ext)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
    depends=ext.depends)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/n/home03/theycallmefm/.conda/envs/flownet3d/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
    raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

My settings:
Python 3.6.10
GCC 9.3.0
CUDA 10.2
Pytorch 1.6.0

Segmentation fault (core dumped)

Hi,

I tried to train from scratch, but I get a Segmentation fault (core dumped) error. How can I fix this?

System:
OS: CentOS 7
Python version: 3.5
PyTorch version: 1.1.0
Torchvision version: 0.3.0
cudatoolkit version: 9.0
CUDA/cuDNN version: 9.0/7.4.1
GPU: Nvidia GPU GeForce GTX 1080 Ti

Error: command 'gcc' failed with exit status 1

Hi,

I tried running python setup.py install but I experienced the following error:

`
src/ball_query.cpp:10:23: error: ‘AT_CHECK’ was not declared in this scope; did you mean ‘DCHECK’?
10 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
| ^~~~~~~~
src/ball_query.cpp:10:23: note: in definition of macro ‘CHECK_CUDA’
10 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
| ^~~~~~~~
src/ball_query.cpp:16:5: note: in expansion of macro ‘CHECK_INPUT’
16 | CHECK_INPUT(new_xyz_tensor);
| ^~~~~~~~~~~
src/ball_query.cpp:10:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
10 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
| ^
src/ball_query.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
12 | #define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
| ^~~~~~~~~~
src/ball_query.cpp:17:5: note: in expansion of macro ‘CHECK_INPUT’
17 | CHECK_INPUT(xyz_tensor);
| ^~~~~~~~~~~
^
.
.
.
from src/ball_query.cpp:1:
/home/munib/.pyenv/versions/miniconda3-latest/envs/flownet3d_pytorch/lib/python3.5/site-packages/torch/include/ATen/core/TensorBody.h:341:7: note: declared here
341 | T * data() const {
| ^~~~
src/ball_query.cpp:22:27: error: ‘THCState_getCurrentStream’ was not declared in this scope
22 | cudaStream_t stream = THCState_getCurrentStream(state);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
error: command 'gcc' failed with exit status 1

`
I can't find any solutions. Do you know how to fix this issue?

System:
OS: Ubuntu 20.04 LTS
Python version: 3.5
PyTorch version: 1.5.1
Torchvision version: 0.6.1
CUDA/cuDNN version: 10.1/7.6.4
GPU: Nvidia Titan RTX

error: command '/usr/local/cuda-9.0/bin/nvcc' failed with exit status 1

This might be useful for someone trying to use CUDA 9.0. I experienced the following error,

error: command '/usr/local/cuda-9.0/bin/nvcc' failed with exit status 1,

when trying to run python setup.py install.

To fix this, make sure you are using gcc-5 and g++-5 since later versions did not work for me.
If you are using Ubuntu 16.04, this can simply be done by

$ sudo apt install build-essential
$ sudo apt -y install gcc-5 g++-5

and following the instructions here to change your gcc/g++ version.

If however you are using Ubuntu 20.04 like I am, you will have to:

  1. enter sudo gedit /etc/apt/sources.list
  2. temporarily add the line deb http://archive.ubuntu.com/ubuntu xenial main and save'
  3. enter sudo apt-get update in the terminal
  4. follow the instructions above for Ubuntu 16.04
  5. Make sure to comment out the line added to sources.list and run sudo apt-get update again

Additionally, I modified the setup.py file. Not sure if this was necessary, but I added '-DCUDA_HOST_COMPILER=/usr/bin/gcc-5' like so:

setup(
    name='pointnet2',
    ext_modules=[
        CUDAExtension('pointnet2_cuda', [
            'src/pointnet2_api.cpp',
            
            'src/ball_query.cpp', 
            'src/ball_query_gpu.cu',
            'src/group_points.cpp', 
            'src/group_points_gpu.cu',
            'src/interpolate.cpp', 
            'src/interpolate_gpu.cu',
            'src/sampling.cpp', 
            'src/sampling_gpu.cu',
        ],
        extra_compile_args={'cxx': ['-g'],
                            'nvcc': ['-O2','-DCUDA_HOST_COMPILER=/usr/bin/gcc-5']})
    ],
    cmdclass={'build_ext': BuildExtension}

I then ran rm -rd build/ and ran python setup.py install successfully.

Edit: Corrected the line that should be added to sources.list

cudaErrorIllegalAddress on PointNetFeaturePropogation

Hello,

I am trying to implement the FlowNet3D used for kitti. As in here: FlowNet3D

I am running into an error I can't get around:

File "/home/zuanazzi/PointCloudFlow/flownet3d_pytorch/util.py", line 396, in forward
    dists[dists < 1e-10] = 1e-10
RuntimeError: copy_if failed to synchronize: cudaErrorIllegalAddress: an illegal memory access was encountered.
from flownet3d_pytorch.util import PointNetFeaturePropogation


pc1 = torch.zeros(2, 3, 8192)
l1_pc1 = torch.zeros(2, 3, 8192)
feature1 = None
l1_fnew1 = torch.zeros(2, 256, 8192)

layer = PointNetFeaturePropogation(in_channel=256, mlp=[256, 256])
out = layer(pc1, l1_pc1, feature1, l1_fnew1)
print(out.shape)```

I am using a v100-32 gpu. The model implemented in this repo runs fine, but it fails when I change the parameters of the layers. 

Any ideas on how to fix it?

set upconvolution

Hi,

i think that your code has a bug in the set upconv layer. If you perform the knn the pos2 and pos1 should be swapped as input such that we get the nearest neighbor of each point in pos1( more points ) in pos2 (less points).

I hope I made this clear (check line 334 of util.py)

Zan

CUDA kernel failed : invalid device function

Hey,

Really good job with the implementation!

I am running into the following error when I try to use your implementation of the FlowNet3D:

CUDA kernel failed : invalid device function

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

It does not show the line the error is raised.

Which CUDA version are you using? I am using 10.1

ninja 错误

hi大佬,感谢你提供的这个版本。我在安装的时候,发现pointnet2中的knn部分会报ninja错误,但是我把knn部分删去之后就可以正常编译。

about the scores

Hi, just a simple question. Did you train and evaluate your code? how is the endpoint errors compared to the office flownet3D implementation?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.