wangzy22/P2P

pip install pointnet2_ops_lib/. error

feifancoco opened this issue · 0 comments

Excuse me?
How can I resolve an error when I run the 'pip install pointnet2 ops lib/.' command?
$ pip install pointnet2_ops_lib/.

Processing ./pointnet2_ops_lib
Preparing metadata (setup.py) ... done
Requirement already satisfied: torch>=1.4 in /share/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages (from pointnet2-ops==3.0.0) (1.10.2)
Requirement already satisfied: typing-extensions in /share/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages (from torch>=1.4->pointnet2-ops==3.0.0) (4.1.1)
Building wheels for collected packages: pointnet2-ops
Building wheel for pointnet2-ops (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [102 lines of output]
running bdist_wheel
running build
running build_py
running egg_info
writing pointnet2_ops.egg-info/PKG-INFO
writing dependency_links to pointnet2_ops.egg-info/dependency_links.txt
writing requirements to pointnet2_ops.egg-info/requires.txt
writing top-level names to pointnet2_ops.egg-info/top_level.txt
reading manifest file 'pointnet2_ops.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pointnet2_ops.egg-info/SOURCES.txt'
running build_ext
/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py:782: UserWarning: The detected CUDA version (10.0) has a minor version mismatch with the version that was used to compile PyTorch (10.2). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
building 'pointnet2_ops.ext' extension
Emitting ninja build file /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/9] /usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/sampling_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
FAILED: /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/sampling_gpu.o
/usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/sampling_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
nvcc fatal : The version ('9.0') of the host compiler ('clang') is not supported
[2/9] /usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/ball_query_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
_ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
FAILED: /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/ball_query_gpu.o
/usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/ball_query_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
nvcc fatal : The version ('9.0') of the host compiler ('clang') is not supported
[3/9] /usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/group_points_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
_ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
FAILED: /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/group_points_gpu.o
/usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/group_points_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
nvcc fatal : The version ('9.0') of the host compiler ('clang') is not supported
[4/9] /usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/interpolate_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
_ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
FAILED: /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/interpolate_gpu.o
/usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/interpolate_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
nvcc fatal : The version ('9.0') of the host compiler ('clang') is not supported
[5/9] g++ -MMD -MF /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/ball_query.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/ball_query.cpp -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/ball_query.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[6/9] g++ -MMD -MF /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/group_points.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/group_points.cpp -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/group_points.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[7/9] g++ -MMD -MF /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/sampling.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/sampling.cpp -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/sampling.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[8/9] g++ -MMD -MF /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/interpolate.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/interpolate.cpp -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/interpolate.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[9/9] g++ -MMD -MF /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/bindings.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/bindings.cpp -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/bindings.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -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/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1723, in _run_ninja_build
env=env)
File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
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 36, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/setup.py", line 38, in <module>
      include_package_data=True,
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/__init__.py", line 155, in setup
      return distutils.core.setup(**attrs)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 148, in setup
      return run_commands(dist)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
      dist.run_commands()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
      self.run_command(cmd)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
      cmd_obj.run()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
      cmd_obj.run()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
      cmd_obj.run()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
      _build_ext.run(self)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
      self.build_extensions()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 735, in build_extensions
      build_ext.build_extensions(self)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
      self._build_extensions_serial()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
      _build_ext.build_extension(self, ext)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 534, in build_extension
      depends=ext.depends)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 565, in unix_wrap_ninja_compile
      with_cuda=with_cuda)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1404, in _write_ninja_file_and_compile_objects
      error_prefix='Error compiling objects for extension')
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1733, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pointnet2-ops
Running setup.py clean for pointnet2-ops
Failed to build pointnet2-ops
Installing collected packages: pointnet2-ops
Running setup.py install for pointnet2-ops ... error
error: subprocess-exited-with-error

× Running setup.py install for pointnet2-ops did not run successfully.
│ exit code: 1
╰─> [135 lines of output]
running install
/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pointnet2_ops
copying pointnet2_ops/_version.py -> build/lib.linux-x86_64-3.7/pointnet2_ops
copying pointnet2_ops/pointnet2_utils.py -> build/lib.linux-x86_64-3.7/pointnet2_ops
copying pointnet2_ops/pointnet2_modules.py -> build/lib.linux-x86_64-3.7/pointnet2_ops
copying pointnet2_ops/init.py -> build/lib.linux-x86_64-3.7/pointnet2_ops
running egg_info
writing pointnet2_ops.egg-info/PKG-INFO
writing dependency_links to pointnet2_ops.egg-info/dependency_links.txt
writing requirements to pointnet2_ops.egg-info/requires.txt
writing top-level names to pointnet2_ops.egg-info/top_level.txt
reading manifest file 'pointnet2_ops.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pointnet2_ops.egg-info/SOURCES.txt'
creating build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src
creating build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/ball_query.h -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/cuda_utils.h -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/group_points.h -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/interpolate.h -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/sampling.h -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/utils.h -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/include
creating build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/ball_query.cpp -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/ball_query_gpu.cu -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/bindings.cpp -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/group_points.cpp -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/group_points_gpu.cu -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/interpolate.cpp -> build/lib.linux-x86_64-3.7/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/interpolate_gpu.cu -> build/lib.linux-x86_64-3.7/pointnet2_ops/ext-src/src
copying pointnet2_ops/ext-src/src/sampling.cpp -> build/lib.linux-x86_64-3.7/pointnet2_ops/ext-src/src
copying pointnet2_ops/ext-src/src/sampling_gpu.cu -> build/lib.linux-x86_64-3.7/pointnet2_ops/ext-src/src
running build_ext
/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py:782: UserWarning: The detected CUDA version (10.0) has a minor version mismatch with the version that was used to compile PyTorch (10.2). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
building 'pointnet2_ops.ext' extension
creating /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7
creating /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops
creating /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src
creating /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src
Emitting ninja build file /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/9] /usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/interpolate_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
FAILED: /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/interpolate_gpu.o
/usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/interpolate_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
nvcc fatal : The version ('9.0') of the host compiler ('clang') is not supported
[2/9] /usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/ball_query_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
FAILED: /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/ball_query_gpu.o
/usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/ball_query_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
nvcc fatal : The version ('9.0') of the host compiler ('clang') is not supported
[3/9] /usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/group_points_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
FAILED: /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/group_points_gpu.o
/usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/group_points_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
nvcc fatal : The version ('9.0') of the host compiler ('clang') is not supported
[4/9] /usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/sampling_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="gcc"' '-DPYBIND11_STDLIB="libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
FAILED: /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/sampling_gpu.o
/usr/local/cuda-10.0/bin/nvcc -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/ext-src/src/sampling_gpu.cu -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/ext-src/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -ccbin clang-9 -std=c++14
nvcc fatal : The version ('9.0') of the host compiler ('clang') is not supported
[5/9] g++ -MMD -MF /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/ball_query.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/ball_query.cpp -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/ball_query.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[6/9] g++ -MMD -MF /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/group_points.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/group_points.cpp -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/group_points.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[7/9] g++ -MMD -MF /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/interpolate.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/interpolate.cpp -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/interpolate.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[8/9] g++ -MMD -MF /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/sampling.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/sampling.cpp -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/sampling.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[9/9] g++ -MMD -MF /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/bindings.o.d -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/TH -I/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.0/include -I/home/anam9745/miniconda3/envs/pointmlp/include/python3.7m -c -c /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/bindings.cpp -o /share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/build/temp.linux-x86_64-3.7/pointnet2_ops/_ext-src/src/bindings.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=1 -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/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1723, in _run_ninja_build
env=env)
File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
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 36, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/share/home/anam9745/pointMLP-pytorch/pointnet2_ops_lib/setup.py", line 38, in <module>
      include_package_data=True,
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/__init__.py", line 155, in setup
      return distutils.core.setup(**attrs)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 148, in setup
      return run_commands(dist)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
      dist.run_commands()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
      self.run_command(cmd)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
      cmd_obj.run()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/command/install.py", line 68, in run
      return orig.install.run(self)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/install.py", line 670, in run
      self.run_command('build')
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
      cmd_obj.run()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
      cmd_obj.run()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
      _build_ext.run(self)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
      self.build_extensions()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 735, in build_extensions
      build_ext.build_extensions(self)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
      self._build_extensions_serial()
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
      _build_ext.build_extension(self, ext)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/setuptools/_distutils/command/build_ext.py", line 534, in build_extension
      depends=ext.depends)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 565, in unix_wrap_ninja_compile
      with_cuda=with_cuda)
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1404, in _write_ninja_file_and_compile_objects
      error_prefix='Error compiling objects for extension')
    File "/home/anam9745/miniconda3/envs/pointmlp/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1733, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pointnet2-ops

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.