-
Notifications
You must be signed in to change notification settings - Fork 370
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
Failed to install the latest MinkowskiEngine #286
Comments
The report doesn’t show the exact error required for me to help you. Could you first try the python setup and get the full installation log?
|
[xiaoshua@mars27 prob_registration]$ ./prob_reg_script.sh
|
According to kokkos/kokkos-kernels#349, this is a GCC 7.2 error and this error was fixed on GCC 7.3. |
Thanks for your quick replying. The above error occurs with GCC version 7.3.1. After I typed gcc -v, the information shows below. Using built-in specs. |
Dear Authors, I am facing issues in installing MinkowskiEngine. I tried both ways to install it. 1)sudo apt install libopenblas-dev 2)# For pip installation from the latest source pip install -U git+https://github.com/NVIDIA/MinkowskiEngine --no-depsI also upgraded my cuda version to 11.1 still, it was unsuccessfully to install it. OS: Ubuntu 18.4 Error nvcc: /tmp/pip-install-zs3tioi3/minkowskiengine_ac881f8e1d5d4da79b48ff67977f7265/src/convolution_gpu.cu
ERROR: Command errored out with exit status 1: /home/ubuntu/environments/xnor-fcgf/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zs3tioi3/minkowskiengine_ac881f8e1d5d4da79b48ff67977f7265/setup.py'"'"'; file='"'"'/tmp/pip-install-zs3tioi3/minkowskiengine_ac881f8e1d5d4da79b48ff67977f7265/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-s0gufw3j/install-record.txt --single-version-externally-managed --compile --install-headers /home/ubuntu/environments/xnor-fcgf/include/site/python3.8/MinkowskiEngine Check the logs for full command output. It would be really helpful if it was sorted out. |
The error is
Which means you do not have the pyton3 headers.
|
@chrischoy
that's the cause of the error (besides not having python3 headers) |
Have a look here: #311 If you change few installation flags you can possibly patch the error (besides you not having python3 headers) |
I am dealing with the same problem as you. This is a bug in the gcc compiler and still exists in gcc7.3.1. Using gcc 8.3.1 or gcc 9.3.1 solves my problem. @XiaoshuiHuang You can try refer here to install higher gcc version. |
The |
My spec : Linux Version :
CPU :
Ram : 64 GBs also have the same problem Here is the error :
My pip list are
Conda library list :
gcc -version :
|
OS: Ubuntu 22.04 error as follow running bdist_egg /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/broadcast_kernel.cu -o build/temp.linux-x86_64-cpython-38/root/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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/convolution_gpu.cu -o build/temp.linux-x86_64-cpython-38/root/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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/convolution_kernel.cu -o build/temp.linux-x86_64-cpython-38/root/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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /root/MinkowskiEngine/src/convolution_kernel.cu(334): warning #68-D: integer conversion resulted in a change of sign /root/MinkowskiEngine/src/convolution_kernel.cu(573): warning #68-D: integer conversion resulted in a change of sign /root/MinkowskiEngine/src/convolution_kernel.cu(334): warning #68-D: integer conversion resulted in a change of sign /root/MinkowskiEngine/src/convolution_kernel.cu(573): warning #68-D: integer conversion resulted in a change of sign /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/convolution_transpose_gpu.cu -o build/temp.linux-x86_64-cpython-38/root/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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/coordinate_map_gpu.cu -o build/temp.linux-x86_64-cpython-38/root/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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /root/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(428): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_tensor_stride() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_kernel_size() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_dilation() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(430): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_offset() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/coordinate_map_manager.cu -o build/temp.linux-x86_64-cpython-38/root/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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /root/MinkowskiEngine/src/coordinate_map_cpu.hpp(58): warning #177-D: variable "float_type" was declared but never referenced /root/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /root/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /root/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /root/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /root/MinkowskiEngine/src/kernel_region.hpp(428): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_tensor_stride() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_kernel_size() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_dilation() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /root/MinkowskiEngine/src/kernel_region.hpp(430): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_offset() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /root/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /root/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /root/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /root/MinkowskiEngine/src/coordinate_map_manager.cpp: In instantiation of 'const kernel_map_type& minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey*, const minkowski::CoordinateMapKey*, const stride_type&, const stride_type&, const stride_type&, minkowski::RegionType::Type, const at::Tensor&, bool, bool) [with coordinate_type = int; coordinate_field_type = float; TemplatedAllocator = std::allocator; CoordinateMapType = minkowski::CoordinateMapCPU; minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type = minkowski::cpu_kernel_map; minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type = std::vector<unsigned int, std::allocator >]': /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/gpu.cu -o build/temp.linux-x86_64-cpython-38/root/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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/interpolation_gpu.cu -o build/temp.linux-x86_64-cpython-38/root/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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/local_pooling_gpu.cu -o build/temp.linux-x86_64-cpython-38/root/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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/local_pooling_transpose_gpu.cu -o build/temp.linux-x86_64-cpython-38/root/MinkowskiEngine/src/local_pooling_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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /root/miniconda3/envs/pts/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /root/miniconda3/envs/pts/include -fPIC -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/math_functions_cpu.cpp -o build/temp.linux-x86_64-cpython-38/root/MinkowskiEngine/src/math_functions_cpu.o -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/pooling_avg_kernel.cu -o build/temp.linux-x86_64-cpython-38/root/MinkowskiEngine/src/pooling_avg_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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/pooling_max_kernel.cu -o build/temp.linux-x86_64-cpython-38/root/MinkowskiEngine/src/pooling_max_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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/pruning_gpu.cu -o build/temp.linux-x86_64-cpython-38/root/MinkowskiEngine/src/pruning_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 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -ccbin /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -std=c++17 /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /root/miniconda3/envs/pts/bin/x86_64-conda-linux-gnu-c++ -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /root/miniconda3/envs/pts/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /root/miniconda3/envs/pts/include -fPIC -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/MinkowskiEngine/src -I/root/MinkowskiEngine/src/3rdparty -I/root/miniconda3/envs/pts/include -I/root/miniconda3/envs/pts/include/python3.8 -c /root/MinkowskiEngine/src/quantization.cpp -o build/temp.linux-x86_64-cpython-38/root/MinkowskiEngine/src/quantization.o -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 In file included from /root/MinkowskiEngine/src/coordinate.hpp:30:0, /root/MinkowskiEngine/src/quantization.cpp: In function 'std::vector<std::vector > minkowski::quantize_label(const int*, const int*, int, int, int)': /root/miniconda3/envs/pts/lib/python3.8/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero /root/MinkowskiEngine/src/spmm.cu(93): warning #177-D: variable "is_int64" was declared but never referenced /root/MinkowskiEngine/src/spmm.cu(355): warning #177-D: variable "is_int64" was declared but never referenced /root/MinkowskiEngine/src/spmm.cu: In instantiation of 'minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool)::<lambda()>::<lambda()> [with th_int_type = int]': |
Dear Authors,
Thanks for your great work in optimizing this library. I have tried to install the latest version (0.5) by using "pip install -U git+https://github.com/NVIDIA/MinkowskiEngine". I failed. The bug report shows below. Very appreciate if you can give me a hand.
My systems information shows below:
OS: Redhat 7.7
CUDA: 10.2
Cudnn: 7.6
GPU card: Quadro P5000
Please submit a full bug report,
with preprocessed source if appropriate.
See http://bugzilla.redhat.com/bugzilla for instructions.
Preprocessed source stored into /tmp/ccVs85kx.out file, please attach this to your bugreport.
error: Command "/usr/local/cuda-10.2/bin/nvcc -I/data/xiaoshua/anaconda37/envs/prob_reg/lib/python3.7/site-packages/torch/include -I/data/xiaoshua/anaconda37/envs/prob_reg/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/data/xiaoshua/anaconda37/envs/prob_reg/lib/python3.7/site-packages/torch/include/TH -I/data/xiaoshua/anaconda37/envs/prob_reg/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/tmp/pip-req-build-i5jm9vyu/src -I/tmp/pip-req-build-i5jm9vyu/src/3rdparty -I/data/xiaoshua/anaconda37/envs/prob_reg/include/python3.7m -c /tmp/pip-req-build-i5jm9vyu/src/quantization.cpp -o build/temp.linux-x86_64-3.7/tmp/pip-req-build-i5jm9vyu/src/quantization.o -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14" failed with exit status 1
ERROR: Failed building wheel for MinkowskiEngine
The text was updated successfully, but these errors were encountered: