NVIDIA / MinkowskiEngine

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

error: Command......failed with exit status 1 #491

Closed luoxiali closed 2 years ago

luoxiali commented 2 years ago

Describe the bug i install Me follow the introduction Set MAX_JOBS=1 && change cuda == 11.1.as follow,finally i got a " error: Command " yet. i can't find any place wrong now,just find many warning before,like this: warning: calling a host function from a host device function is not allowed it's troubled me two days that Install ME, i'd appreciate any one can help solve this proplem!!!


root@lyf:~/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0# export MAX_JOBS=1;python setup.py install WARNING: Skipping MinkowskiEngine as it is not installed. WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

| CUDA compilation set |

Using BLAS=openblas Using the default compiler running install /usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/local/lib/python3.8/dist-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/local/lib/python3.8/dist-packages/pkg_resources/init.py:123: PkgResourcesDeprecationWarning: 0.18ubuntu0.18.04.1 is an invalid version and will not be supported in a future release warnings.warn( 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 /home/lyf/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py:370: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) 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/MinkowskiFunctional.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiConvolution.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/sparse_matrix_functions.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiPooling.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiNetwork.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine copying ./MinkowskiEngine/MinkowskiTensor.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/collation.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/gradcheck.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils copying ./MinkowskiEngine/utils/quantization.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils creating build/lib.linux-x86_64-cpython-38/MinkowskiEngine/modules copying ./MinkowskiEngine/modules/resnet_block.py -> 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 running build_ext building 'MinkowskiEngineBackend._C' extension C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC

creating build/temp.linux-x86_64-cpython-38 creating build/temp.linux-x86_64-cpython-38/home creating build/temp.linux-x86_64-cpython-38/home/lyf creating build/temp.linux-x86_64-cpython-38/home/lyf/lyf creating build/temp.linux-x86_64-cpython-38/home/lyf/lyf/work creating build/temp.linux-x86_64-cpython-38/home/lyf/lyf/work/MS-SVConv creating build/temp.linux-x86_64-cpython-38/home/lyf/lyf/work/MS-SVConv/Dependence creating build/temp.linux-x86_64-cpython-38/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0 creating build/temp.linux-x86_64-cpython-38/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src creating build/temp.linux-x86_64-cpython-38/pybind compile options: '-I/home/lyf/.local/lib/python3.8/site-packages/torch/include -I/home/lyf/.local/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/lyf/.local/lib/python3.8/site-packages/torch/include/TH -I/home/lyf/.local/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.1/include -I/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src -I/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/3rdparty -I/usr/include/python3.8 -c' extra options: 'cxx nvcc' nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/broadcast_gpu.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/convolution_kernel.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/convolution_transpose_gpu.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/broadcast_kernel.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/global_pooling_gpu.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/convolution_gpu.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_gpu.cu /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/convolution_kernel.cu(334): warning: integer conversion resulted in a change of sign

/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/convolution_kernel.cu(571): warning: integer conversion resulted in a change of sign

/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/kernel_region.hpp(392): warning: calling a host function from a host device function is not allowed detected during: instantiation of "minkowski::gpu_kernel_region::gpu_kernel_region(const minkowski::cpu_kernel_region &) [with coordinate_type=int32_t]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_gpu.cu(512): here instantiation of "minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::self_type minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_region(minkowski::cpu_kernel_region &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_type &) const [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_gpu.cu(2049): here

/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/kernel_region.hpp(392): warning: calling a host function from a host device function is not allowed detected during: instantiation of "minkowski::gpu_kernel_region::gpu_kernel_region(const minkowski::cpu_kernel_region &) [with coordinate_type=int32_t]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_gpu.cu(512): here instantiation of "minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::self_type minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_region(minkowski::cpu_kernel_region &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_type &) const [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_gpu.cu(2049): here

/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/kernel_region.hpp(392): warning: calling a host function from a host device function is not allowed detected during: instantiation of "minkowski::gpu_kernel_region::gpu_kernel_region(const minkowski::cpu_kernel_region &) [with coordinate_type=int32_t]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_gpu.cu(512): here instantiation of "minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::self_type minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_region(minkowski::cpu_kernel_region &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_type &) const [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_gpu.cu(2049): here

/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/kernel_region.hpp(392): warning: calling a host function from a host device function is not allowed detected during: instantiation of "minkowski::gpu_kernel_region::gpu_kernel_region(const minkowski::cpu_kernel_region &) [with coordinate_type=int32_t]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_gpu.cu(512): here instantiation of "minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::self_type minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_region(minkowski::cpu_kernel_region &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_type &) const [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_gpu.cu(2049): here

/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/kernel_region.hpp(392): warning: calling a host function from a host device function is not allowed detected during: instantiation of "minkowski::gpu_kernel_region::gpu_kernel_region(const minkowski::cpu_kernel_region &) [with coordinate_type=int32_t]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cu(153): here instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator> minkowski::detail::kernel_map_functor<coordinate_type, TemplatedAllocator, minkowski::CoordinateMapGPU, minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator>>::operator()(const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, minkowski::CUDAKernelMapMode::Mode, minkowski::cpu_kernel_region &) [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cpp(624): here instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey , const minkowski::CoordinateMapKey , const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::default_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cu(335): here

/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/kernel_region.hpp(392): warning: calling a host function from a host device function is not allowed detected during: instantiation of "minkowski::gpu_kernel_region::gpu_kernel_region(const minkowski::cpu_kernel_region &) [with coordinate_type=int32_t]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cu(153): here instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator> minkowski::detail::kernel_map_functor<coordinate_type, TemplatedAllocator, minkowski::CoordinateMapGPU, minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator>>::operator()(const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, minkowski::CUDAKernelMapMode::Mode, minkowski::cpu_kernel_region &) [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cpp(624): here instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey , const minkowski::CoordinateMapKey , const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::default_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cu(335): here

/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/kernel_region.hpp(392): warning: calling a host function from a host device function is not allowed detected during: instantiation of "minkowski::gpu_kernel_region::gpu_kernel_region(const minkowski::cpu_kernel_region &) [with coordinate_type=int32_t]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cu(153): here instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator> minkowski::detail::kernel_map_functor<coordinate_type, TemplatedAllocator, minkowski::CoordinateMapGPU, minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator>>::operator()(const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, minkowski::CUDAKernelMapMode::Mode, minkowski::cpu_kernel_region &) [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cpp(624): here instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey , const minkowski::CoordinateMapKey , const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::default_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cu(335): here

/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/kernel_region.hpp(392): warning: calling a host function from a host device function is not allowed detected during: instantiation of "minkowski::gpu_kernel_region::gpu_kernel_region(const minkowski::cpu_kernel_region &) [with coordinate_type=int32_t]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cu(153): here instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator> minkowski::detail::kernel_map_functor<coordinate_type, TemplatedAllocator, minkowski::CoordinateMapGPU, minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator>>::operator()(const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, minkowski::CUDAKernelMapMode::Mode, minkowski::cpu_kernel_region &) [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cpp(624): here instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey , const minkowski::CoordinateMapKey , const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::default_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]" /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/coordinate_map_manager.cu(335): here

nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/gpu.cu /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/gpu.cu(118): warning: function "minkowski::format_size" was declared but never referenced

nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/interpolation_gpu.cu /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/convolution_kernel.cu(334): warning: integer conversion resulted in a change of sign

/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/convolution_kernel.cu(571): warning: integer conversion resulted in a change of sign

nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/local_pooling_gpu.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/local_pooling_transpose_gpu.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/math_functions_cpu.cpp nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/math_functions_gpu.cu nvcc fatal : Unknown option '-fopenmp' nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/pooling_avg_kernel.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/pooling_max_kernel.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/pruning_gpu.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/quantization.cpp nvcc fatal : Unknown option '-fopenmp' nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/spmm.cu nvcc: pybind/minkowski.cu /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/spmm.cu(70): warning: variable "is_int64" was declared but never referenced

error: Command "/usr/local/cuda-11.1/bin/nvcc -I/home/lyf/.local/lib/python3.8/site-packages/torch/include -I/home/lyf/.local/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/lyf/.local/lib/python3.8/site-packages/torch/include/TH -I/home/lyf/.local/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.1/include -I/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src -I/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/3rdparty -I/usr/include/python3.8 -c /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/math_functions_cpu.cpp -o build/temp.linux-x86_64-cpython-38/home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/math_functions_cpu.o -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14" failed with exit status 1


root@lyf:~/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0# wget -q https://raw.githubusercontent.com/NVIDIA/MinkowskiEngine/master/MinkowskiEngine/diagnostics.py; python diagnostics.py ==========System========== Linux-5.4.0-124-generic-x86_64-with-glibc2.27 DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS" 3.8.0 (default, Dec 9 2021, 17:53:27) [GCC 8.4.0] ==========Pytorch========== 1.9.0+cu111 torch.cuda.is_available(): True ==========NVIDIA-SMI========== /usr/bin/nvidia-smi Driver Version 470.141.03 CUDA Version 11.4 VBIOS Version 86.06.63.00.A4 Image Version G001.0000.01.04 GSP Firmware Version N/A ==========NVCC========== /usr/local/cuda-11.1/bin/nvcc nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2020 NVIDIA Corporation Built on Tue_Sep_15_19:10:02_PDT_2020 Cuda compilation tools, release 11.1, V11.1.74 Build cuda_11.1.TC455_06.29069683_0 ==========CC========== /usr/bin/c++ c++ (GCC) 8.4.0 Copyright (C) 2018 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


more of that, i pre install GCC 7.5 ,but it came bugs like this: x86_64-linux-gnu-gcc: error: '-fPIC': No such file or directory x86_64-linux-gnu-gcc: error: unrecognized debug output level ‘encode=arch=compute_61,code=compute_61’ x86_64-linux-gnu-gcc: error: unrecognized debug output level ‘encode=arch=compute_61,code=sm_61’ x86_64-linux-gnu-gcc: error: unrecognized command line option ‘--expt-relaxed-constexpr’ x86_64-linux-gnu-gcc: error: unrecognized command line option ‘--compiler-options’; did you mean ‘--no-exceptions’? x86_64-linux-gnu-gcc: error: unrecognized command line option ‘--expt-relaxed-constexpr’ x86_64-linux-gnu-gcc: error: unrecognized command line option ‘--expt-extended-lambda’ nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/pooling_max_kernel.cu nvcc: /home/lyf/lyf/work/MS-SVConv/Dependence/MinkowskiEngine-0.5.0/src/pooling_avg_kernel.cu

so i supposed that'should be problem of cuda11.1 corresponding version problem,i changed the gcc version up to gcc8.4.0,but also get another error as aforementioned.

luoxiali commented 2 years ago

also,i searchd the problem of "nvcc fatal : Unknown option '-fopenmp' " someone say i should add command like this: -Xcompiler -fopenmp but where or how should i to do it?