NVIDIA / MinkowskiEngine

Minkowski Engine is an auto-diff neural network library for high-dimensional sparse tensors
https://nvidia.github.io/MinkowskiEngine
Other
2.48k stars 367 forks source link

Installation problem #310

Closed katadam closed 3 years ago

katadam commented 3 years ago

I keep getting the same error while trying to install MinkowskiEngine

Using BLAS=openblas 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' 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-3.8 creating build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/diagnostics.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiConvolution.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiFunctional.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiNetwork.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiPooling.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiPruning.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiTensor.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/sparse_matrix_functions.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine copying ./MinkowskiEngine/init.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine creating build/lib.linux-x86_64-3.8/MinkowskiEngine/utils copying ./MinkowskiEngine/utils/collation.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils copying ./MinkowskiEngine/utils/coords.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils copying ./MinkowskiEngine/utils/gradcheck.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils copying ./MinkowskiEngine/utils/quantization.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/utils creating build/lib.linux-x86_64-3.8/MinkowskiEngine/modules copying ./MinkowskiEngine/modules/resnet_block.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/modules copying ./MinkowskiEngine/modules/senet_block.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/modules copying ./MinkowskiEngine/modules/init.py -> build/lib.linux-x86_64-3.8/MinkowskiEngine/modules running build_ext building 'MinkowskiEngineBackend._C' extension creating /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8 creating /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media creating /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina creating /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data creating /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast creating /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation creating /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine creating /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src creating /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/pybind Emitting ninja build file /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/20] c++ -MMD -MF /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/math_functions_cpu.o.d -pthread -B /home/katerina/anaconda3/envs/pointcontrast/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/include -I/include -fPIC -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/3rdparty -I/home/katerina/anaconda3/envs/pointcontrast/include/python3.8 -c -c /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/math_functions_cpu.cpp -o /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/math_functions_cpu.o -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H -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++ [2/20] /usr/local/cuda/bin/nvcc -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/3rdparty -I/home/katerina/anaconda3/envs/pointcontrast/include/python3.8 -c -c /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu -o /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.o /usr/local/cuda/bin/nvcc -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/3rdparty -I/home/katerina/anaconda3/envs/pointcontrast/include/python3.8 -c -c /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu -o /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(221): error: identifier "CUSPARSE_INDEX_64I" is undefined

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(258): error: identifier "cusparseDnVecDescr_t" is undefined

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(266): error: identifier "CUSPARSE_COOMV_ALG" is undefined

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(266): error: identifier "cusparseSpMV" is undefined

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(286): error: identifier "cusparseDestroyDnVec" is undefined

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(287): error: identifier "cusparseDestroyDnVec" is undefined

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(137): warning: variable "is_int64" was declared but never referenced

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(260): error: identifier "cusparseCreateDnVec" is undefined detected during instantiation of "void minkowski::NonzeroAvgPoolingForwardKernelGPU(const Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype *, minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, const minkowski::gpu_kernel_map<Itype, ByteAllocator> &, __nv_bool, ByteAllocator &, cusparseHandle_t, cudaStream_t) [with Dtype=float, Itype=uint32_t, ByteAllocator=minkowski::detail::default_allocator]" (303): here

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(263): error: identifier "cusparseCreateDnVec" is undefined detected during instantiation of "void minkowski::NonzeroAvgPoolingForwardKernelGPU(const Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype *, minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, const minkowski::gpu_kernel_map<Itype, ByteAllocator> &, __nv_bool, ByteAllocator &, cusparseHandle_t, cudaStream_t) [with Dtype=float, Itype=uint32_t, ByteAllocator=minkowski::detail::default_allocator]" (303): here

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(260): error: identifier "cusparseCreateDnVec" is undefined detected during instantiation of "void minkowski::NonzeroAvgPoolingForwardKernelGPU(const Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype *, minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, const minkowski::gpu_kernel_map<Itype, ByteAllocator> &, __nv_bool, ByteAllocator &, cusparseHandle_t, cudaStream_t) [with Dtype=double, Itype=uint32_t, ByteAllocator=minkowski::detail::default_allocator]" (318): here

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(263): error: identifier "cusparseCreateDnVec" is undefined detected during instantiation of "void minkowski::NonzeroAvgPoolingForwardKernelGPU(const Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype *, minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, const minkowski::gpu_kernel_map<Itype, ByteAllocator> &, __nv_bool, ByteAllocator &, cusparseHandle_t, cudaStream_t) [with Dtype=double, Itype=uint32_t, ByteAllocator=minkowski::detail::default_allocator]" (318): here

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(260): error: identifier "cusparseCreateDnVec" is undefined detected during instantiation of "void minkowski::NonzeroAvgPoolingForwardKernelGPU(const Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype *, minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, const minkowski::gpu_kernel_map<Itype, ByteAllocator> &, __nv_bool, ByteAllocator &, cusparseHandle_t, cudaStream_t) [with Dtype=float, Itype=uint32_t, ByteAllocator=minkowski::detail::c10_allocator]" (334): here

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(263): error: identifier "cusparseCreateDnVec" is undefined detected during instantiation of "void minkowski::NonzeroAvgPoolingForwardKernelGPU(const Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype *, minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, const minkowski::gpu_kernel_map<Itype, ByteAllocator> &, __nv_bool, ByteAllocator &, cusparseHandle_t, cudaStream_t) [with Dtype=float, Itype=uint32_t, ByteAllocator=minkowski::detail::c10_allocator]" (334): here

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(260): error: identifier "cusparseCreateDnVec" is undefined detected during instantiation of "void minkowski::NonzeroAvgPoolingForwardKernelGPU(const Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype *, minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, const minkowski::gpu_kernel_map<Itype, ByteAllocator> &, __nv_bool, ByteAllocator &, cusparseHandle_t, cudaStream_t) [with Dtype=double, Itype=uint32_t, ByteAllocator=minkowski::detail::c10_allocator]" (347): here

/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_avg_kernel.cu(263): error: identifier "cusparseCreateDnVec" is undefined detected during instantiation of "void minkowski::NonzeroAvgPoolingForwardKernelGPU(const Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype , minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, Dtype *, minkowski::type_wrapper<uint32_t, int32_t, float>::size_type, const minkowski::gpu_kernel_map<Itype, ByteAllocator> &, __nv_bool, ByteAllocator &, cusparseHandle_t, cudaStream_t) [with Dtype=double, Itype=uint32_t, ByteAllocator=minkowski::detail::c10_allocator]" (347): here

14 errors detected in the compilation of "/tmp/tmpxft_00007682_00000000-6_pooling_avg_kernel.cpp1.ii". [3/20] /usr/local/cuda/bin/nvcc -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/3rdparty -I/home/katerina/anaconda3/envs/pointcontrast/include/python3.8 -c -c /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/math_functions_gpu.cu -o /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/math_functions_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/math_functions_gpu.o /usr/local/cuda/bin/nvcc -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/3rdparty -I/home/katerina/anaconda3/envs/pointcontrast/include/python3.8 -c -c /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/math_functions_gpu.cu -o /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/math_functions_gpu.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’: /usr/include/c++/7/bits/basic_string.tcc:578:28: required from ‘static _CharT std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t; _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator]’ /usr/include/c++/7/bits/basic_string.h:5042:20: required from ‘static _CharT std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::false_type) [with _InIterator = const char16_t; _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator]’ /usr/include/c++/7/bits/basic_string.h:5063:24: required from ‘static _CharT std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t; _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator]’ /usr/include/c++/7/bits/basic_string.tcc:656:134: required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ /usr/include/c++/7/bits/basic_string.h:6688:95: required from here /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator]’ without object p->_M_set_sharable();


/usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
/usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
/usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
/usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
/usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
/usr/include/c++/7/bits/basic_string.h:6693:95:   required from here
/usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’ without object
[4/20] /usr/local/cuda/bin/nvcc -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/3rdparty -I/home/katerina/anaconda3/envs/pointcontrast/include/python3.8 -c -c /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_max_kernel.cu -o /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_max_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
FAILED: /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_max_kernel.o 
/usr/local/cuda/bin/nvcc -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/TH -I/home/katerina/anaconda3/envs/pointcontrast/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src -I/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/3rdparty -I/home/katerina/anaconda3/envs/pointcontrast/include/python3.8 -c -c /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_max_kernel.cu -o /media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/build/temp.linux-x86_64-3.8/media/katerina/Data/PointContrast/SpatioTemporalSegmentation/MinkowskiEngine/src/pooling_max_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
/usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
/usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
/usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
/usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
/usr/include/c++/7/bits/basic_string.h:6688:95:   required from here
/usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’ without object
       __p->_M_set_sharable();
       ~~~~~~~~~^~
/usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
/usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
/usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
/usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
/usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
/usr/include/c++/7/bits/basic_string.h:6693:95:   required from here
/usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’ without object

Could you shed some light?
Thanks!
chrischoy commented 3 years ago

Could you please post the output of

wget -q https://raw.githubusercontent.com/NVIDIA/MinkowskiEngine/master/MinkowskiEngine/diagnostics.py ; python diagnostics.py
katadam commented 3 years ago

@chrischoy Thanks for your reply!

The result is ==========System========== Linux-5.0.0-32-generic-x86_64-with-glibc2.10 DISTRIB_ID=LinuxMint DISTRIB_RELEASE=19.3 DISTRIB_CODENAME=tricia DISTRIB_DESCRIPTION="Linux Mint 19.3 Tricia" 3.8.6 | packaged by conda-forge | (default, Jan 25 2021, 23:21:18) [GCC 9.3.0] ==========Pytorch========== 1.7.0 torch.cuda.is_available(): True ==========NVIDIA-SMI========== /usr/bin/nvidia-smi Driver Version 430.50 CUDA Version 10.1 VBIOS Version 86.07.2B.00.15 Image Version N/A ==========NVCC========== /usr/local/cuda/bin/nvcc nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Fri_Feb__8_19:08:17_PST_2019 Cuda compilation tools, release 10.1, V10.1.105 ==========CC========== /usr/bin/c++ c++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

==========MinkowskiEngine========== MinkowskiEngine not installed

chrischoy commented 3 years ago

Cuda 10.1.105 is not supported. Please upgrade your cuda version to >= 11.1 and driver to >= 450.

katadam commented 3 years ago

@chrischoy thanks! Managed to install it. However is there a way to install an older version? namely 0.4.3 Feature Hybrid seems to be lost in version 0.5.

I have tried pip install MinkowskiEngine==0.4.3 and does not work.

Thanks!

chrischoy commented 3 years ago

Unfortunately, previous versions would not be supported. Could you elaborate why you need to use the previous version?

chrischoy commented 3 years ago

Closing the issue issue since v0.5 installation issue has been resolved.