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

ERROR: Failed cleaning build dir for pointnet2-ops #146

Open
chalth opened this issue May 16, 2021 · 2 comments
Open

ERROR: Failed cleaning build dir for pointnet2-ops #146

chalth opened this issue May 16, 2021 · 2 comments

Comments

@chalth
Copy link

chalth commented May 16, 2021

Hi,
when I run 'setup.py',i got follwing mistakes.
I used the ubuntu18.04, cuda driver 10.2, python3.6, pytorch1.6.1, gcc 7.5.0,how can i deal with it ?...thx

Building wheel for pointnet2-ops (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/lthach/anaconda3/envs/spinnet/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/setup.py'"'"'; file='"'"'/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-8tehca1t
cwd: /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib
Complete output (183 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/pointnet2_ops
copying pointnet2_ops/_version.py -> build/lib.linux-x86_64-3.6/pointnet2_ops
copying pointnet2_ops/init.py -> build/lib.linux-x86_64-3.6/pointnet2_ops
copying pointnet2_ops/pointnet2_modules.py -> build/lib.linux-x86_64-3.6/pointnet2_ops
copying pointnet2_ops/pointnet2_utils.py -> build/lib.linux-x86_64-3.6/pointnet2_ops
running egg_info
creating pointnet2_ops.egg-info
writing pointnet2_ops.egg-info/PKG-INFO
writing dependency_links to pointnet2_ops.egg-info/dependency_links.txt
writing requirements to pointnet2_ops.egg-info/requires.txt
writing top-level names to pointnet2_ops.egg-info/top_level.txt
writing manifest file 'pointnet2_ops.egg-info/SOURCES.txt'
reading manifest file 'pointnet2_ops.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pointnet2_ops.egg-info/SOURCES.txt'
creating build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src
creating build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/ball_query.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/cuda_utils.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/group_points.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/interpolate.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/sampling.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include
copying pointnet2_ops/_ext-src/include/utils.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include
creating build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/ball_query.cpp -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/ball_query_gpu.cu -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/bindings.cpp -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/group_points.cpp -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/group_points_gpu.cu -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/interpolate.cpp -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/interpolate_gpu.cu -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/sampling.cpp -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
copying pointnet2_ops/_ext-src/src/sampling_gpu.cu -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
running build_ext
building 'pointnet2_ops._ext' extension
creating /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6
creating /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops
creating /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src
creating /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src
Emitting ninja build file /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/9] c++ -MMD -MF /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/interpolate.o.d -pthread -B /home/lthach/anaconda3/envs/spinnet/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/interpolate.cpp -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/interpolate.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/interpolate.o
c++ -MMD -MF /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/interpolate.o.d -pthread -B /home/lthach/anaconda3/envs/spinnet/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/interpolate.cpp -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/interpolate.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include/interpolate.h:3,
from /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/interpolate.cpp:1:
/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)

c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.
[2/9] c++ -MMD -MF /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/group_points.o.d -pthread -B /home/lthach/anaconda3/envs/spinnet/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/group_points.cpp -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/group_points.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/group_points.o
c++ -MMD -MF /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/group_points.o.d -pthread -B /home/lthach/anaconda3/envs/spinnet/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/group_points.cpp -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/group_points.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include/group_points.h:2,
from /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/group_points.cpp:1:
/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)

c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.
[3/9] c++ -MMD -MF /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/sampling.o.d -pthread -B /home/lthach/anaconda3/envs/spinnet/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/sampling.cpp -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/sampling.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include/sampling.h:2,
from /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/sampling.cpp:1:
/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)

[4/9] c++ -MMD -MF /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/ball_query.o.d -pthread -B /home/lthach/anaconda3/envs/spinnet/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/ball_query.cpp -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/ball_query.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include/ball_query.h:2,
from /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/ball_query.cpp:1:
/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)

[5/9] c++ -MMD -MF /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/bindings.o.d -pthread -B /home/lthach/anaconda3/envs/spinnet/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/bindings.cpp -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/bindings.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/include/ball_query.h:2,
from /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/bindings.cpp:1:
/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)

[6/9] /usr/local/cuda/bin/nvcc -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/ext-src/src/interpolate_gpu.cu -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS_ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_75,code=sm_75 -std=c++14
[7/9] /usr/local/cuda/bin/nvcc -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/ext-src/src/ball_query_gpu.cu -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_75,code=sm_75 -std=c++14
[8/9] /usr/local/cuda/bin/nvcc -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/ext-src/src/group_points_gpu.cu -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_75,code=sm_75 -std=c++14
[9/9] /usr/local/cuda/bin/nvcc -I/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/ext-src/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/TH -I/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/lthach/anaconda3/envs/spinnet/include/python3.6m -c -c /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/pointnet2_ops/ext-src/src/sampling_gpu.cu -o /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_75,code=sm_75 -std=c++14
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1515, in _run_ninja_build
env=env)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/setup.py", line 38, in
include_package_data=True,
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
build_ext.build_extensions(self)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
depends=ext.depends)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/lthach/anaconda3/envs/spinnet/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

ERROR: Failed building wheel for pointnet2-ops
Running setup.py clean for pointnet2-ops
ERROR: Command errored out with exit status 1:
command: /home/lthach/anaconda3/envs/spinnet/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/setup.py'"'"'; file='"'"'/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' clean --all
cwd: /tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-s9qbnrir/pointnet2-ops_9baa9a91b6f14ea1956e303825dfdfa4/pointnet2_ops_lib/setup.py", line 17, in
exec(open(osp.join("pointnet2_ops", "_version.py")).read())
FileNotFoundError: [Errno 2] No such file or directory: 'pointnet2_ops/_version.py'

ERROR: Failed cleaning build dir for pointnet2-ops

@git-guocc
Copy link

hi,do you sovle it?

@KaKa-101
Copy link

KaKa-101 commented May 6, 2024

The same error. Do anyone know how to solve this problem?

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

3 participants