Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Error compiling objects for extension #569

Open
siyuan1023 opened this issue Nov 7, 2023 · 1 comment
Open

RuntimeError: Error compiling objects for extension #569

siyuan1023 opened this issue Nov 7, 2023 · 1 comment

Comments

@siyuan1023
Copy link

Hi, I am installing MinkowskiEngine by local setup.py file through the Slurm system.

pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps --install-option="--blas=mkl" --install-option="--force_cuda"

And facing the problem of RuntimeError: Error compiling objects for extension. Does anyone have a solution? Thank you very much.

Pytorch version: 1.9.1+cu111
CUDA: 11.2

The traceback is posted here:


| FORCE_CUDA set |


| CUDA compilation set |

Using BLAS=mkl
Using the default compiler
running install
running bdist_egg
running egg_info
writing MinkowskiEngine.egg-info/PKG-INFO
writing dependency_links to MinkowskiEngine.egg-info/dependency_links.txt
writing requirements to MinkowskiEngine.egg-info/requires.txt
writing top-level names to MinkowskiEngine.egg-info/top_level.txt
reading manifest file 'MinkowskiEngine.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'MinkowskiEngine.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
creating build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensor.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiConvolution.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiFunctional.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/diagnostics.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/sparse_matrix_functions.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPooling.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNetwork.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/init.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPruning.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
creating build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/coords.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/collation.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/summary.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/quantization.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/gradcheck.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
creating build/lib.linux-x86_64-cpython-38/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/init.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/senet_block.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/resnet_block.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/modules
running build_ext
building 'MinkowskiEngineBackend.C' extension
creating /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38
creating /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home
creating /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23
creating /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine
creating /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src
creating /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/pybind
Emitting ninja build file /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/build.ninja...
Compiling objects...
Using envvar MAX_JOBS (12) as the number of workers...
[1/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/broadcast_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/broadcast_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/broadcast_gpu.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/broadcast_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/broadcast_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[2/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/broadcast_kernel.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/broadcast_kernel.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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/broadcast_kernel.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/broadcast_kernel.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/broadcast_kernel.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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[3/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/convolution_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/convolution_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/convolution_gpu.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/convolution_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/convolution_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[4/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/convolution_kernel.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/convolution_kernel.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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/convolution_kernel.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/convolution_kernel.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/convolution_kernel.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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[5/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/convolution_transpose_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/convolution_transpose_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/convolution_transpose_gpu.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/convolution_transpose_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/convolution_transpose_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[6/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/coordinate_map_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/coordinate_map_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/coordinate_map_gpu.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/coordinate_map_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/coordinate_map_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[7/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/coordinate_map_manager.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/coordinate_map_manager.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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/coordinate_map_manager.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/coordinate_map_manager.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/coordinate_map_manager.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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[8/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/global_pooling_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/global_pooling_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/global_pooling_gpu.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/global_pooling_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/global_pooling_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[9/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/gpu.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[10/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/interpolation_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/interpolation_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/interpolation_gpu.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/interpolation_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/interpolation_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[11/21] /usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/local_pooling_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/local_pooling_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/local_pooling_gpu.o
/usr/local/cuda-11.2/bin/nvcc -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/local_pooling_gpu.cu -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/local_pooling_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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -DUSE_MKL -O3 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/bin/sh: /usr/local/cuda-11.2/bin/nvcc: No such file or directory
[12/21] c++ -MMD -MF /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/direct_max_pool.o.d -pthread -B /home/siyuan23/.conda/envs/pointcontrast/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/direct_max_pool.cpp -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/direct_max_pool.o -fopenmp -DUSE_MKL -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
FAILED: /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/direct_max_pool.o
c++ -MMD -MF /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/direct_max_pool.o.d -pthread -B /home/siyuan23/.conda/envs/pointcontrast/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.2/include -I/home/siyuan23/MinkowskiEngine/src -I/home/siyuan23/MinkowskiEngine/src/3rdparty -I/home/siyuan23/.conda/envs/pointcontrast/include -I/home/siyuan23/.conda/envs/pointcontrast/include/python3.8 -c -c /home/siyuan23/MinkowskiEngine/src/direct_max_pool.cpp -o /home/siyuan23/MinkowskiEngine/build/temp.linux-x86_64-cpython-38/home/siyuan23/MinkowskiEngine/src/direct_max_pool.o -fopenmp -DUSE_MKL -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++
In file included from /home/siyuan23/MinkowskiEngine/src/3rdparty/robin_hood.h:56,
from /home/siyuan23/MinkowskiEngine/src/types.hpp:33,
from /home/siyuan23/MinkowskiEngine/src/direct_max_pool.cpp:28:
/home/siyuan23/MinkowskiEngine/src/3rdparty/../utils.hpp:35:10: fatal error: thrust/host_vector.h: No such file or directory
#include <thrust/host_vector.h>
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1666, in _run_ninja_build
subprocess.run(
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '12']' returned non-zero exit status 1.

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

Traceback (most recent call last):
File "setup.py", line 320, in
setup(
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/init.py", line 107, in setup
return distutils.core.setup(**attrs)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/command/install.py", line 80, in run
self.do_egg_install()
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/command/install.py", line 129, in do_egg_install
self.run_command('bdist_egg')
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/command/install_lib.py", line 111, in build
self.run_command('build_ext')
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 709, in build_extensions
build_ext.build_extensions(self)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
self._build_extensions_serial()
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
self.build_extension(ext)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 246, in build_extension
_build_ext.build_extension(self, ext)
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
objects = self.compiler.compile(
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 530, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1355, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/siyuan23/.conda/envs/pointcontrast/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1682, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

@mary-ashk
Copy link

I solved the ninja error with edit the setup.py.
Ubuntu 18.04.5
Pytorch 1.10.0
Cuda11.3.1
gcc 7.5.0
g++ 7.5.0
subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '12']' returned non-zero exit status 1.

Open the setup.py file and edit this line
(cmdclass={"build_ext" :BuildExtension.with_options(use_ninja=False)} )
to False mode. it takes almost long time , but finally will be installed:)

Check the gcc and g++ versions to be match.
Run installation command in the env that has torch installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants