Skip to content

Instantly share code, notes, and snippets.

@justanhduc
Created December 24, 2019 08:20
Show Gist options
  • Save justanhduc/25eb3938998c2b1235309433b268f6a1 to your computer and use it in GitHub Desktop.
Save justanhduc/25eb3938998c2b1235309433b268f6a1 to your computer and use it in GitHub Desktop.
EMD installation log
(base) justanhduc@insight-SIM3:~/Downloads/MSN-Point-Cloud-Completion/emd$ python setup.py install
running install
running bdist_egg
running egg_info
writing emd.egg-info/PKG-INFO
writing dependency_links to emd.egg-info/dependency_links.txt
writing top-level names to emd.egg-info/top_level.txt
reading manifest file 'emd.egg-info/SOURCES.txt'
writing manifest file 'emd.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'emd' extension
creating build
creating build/temp.linux-x86_64-3.7
gcc -pthread -B /home/justanhduc/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include -I/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/home/justanhduc/cuda-10.1/include -I/home/justanhduc/anaconda3/include/python3.7m -c emd.cpp -o build/temp.linux-x86_64-3.7/emd.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=emd -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/justanhduc/cuda-10.1/bin/nvcc -I/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include -I/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/home/justanhduc/cuda-10.1/include -I/home/justanhduc/anaconda3/include/python3.7m -c emd_cuda.cu -o build/temp.linux-x86_64-3.7/emd_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=emd -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52 -std=c++11
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign
emd_cuda.cu: In function ‘int emd_cuda_forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, float, int)’:
emd_cuda.cu:257:96: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:257:121: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:258:135: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:258:160: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:259:111: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:259:140: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:260:135: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
size, n, assignment.data<int>(), unass_idx.data<int>(), unass_cnt.data<int>(),
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:260:160: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:260:185: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:260:214: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:260:237: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:120: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
h_size, n, xyz1.data<float>(), xyz2.data<float>(), eps, assignment.data<int>(),
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:142: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
loat>(), xyz2.data<float>(), eps, assignment.data<int>(), assignment_inv.data<i
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:173: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:203: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:226: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:245: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:277: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:309: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:334: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:363: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:262:388: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:265:127: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
ze, n, assignment.data<int>(), bid.data<int>(), bid_increments.data<float>(), m
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:265:146: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
ata<int>(), bid.data<int>(), bid_increments.data<float>(), max_increments.data<
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:265:178: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
d_increments.data<float>(), max_increments.data<float>(), max_idx.data<int>());
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:265:210: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:265:233: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:266:127: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
ze, n, assignment.data<int>(), assignment_inv.data<int>(), price.data<float>(),
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:266:157: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:266:180: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:266:199: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:266:231: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:266:263: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:266:286: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:269:125: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
_size, n, xyz1.data<float>(), xyz2.data<float>(), dist.data<float>(), assignmen
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:269:147: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
data<float>(), xyz2.data<float>(), dist.data<float>(), assignment.data<int>());
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:269:169: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:269:195: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu: In function ‘int emd_cuda_backward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
emd_cuda.cu:307:137: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
_size, n, xyz1.data<float>(), xyz2.data<float>(), graddist.data<float>(), idx.d
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:307:159: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
oat>(), xyz2.data<float>(), graddist.data<float>(), idx.data<int>(), gradxyz.da
^
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:307:185: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:307:204: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
emd_cuda.cu:307:229: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
/home/justanhduc/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:303:1: note: declared here
T * data() const {
^
creating build/lib.linux-x86_64-3.7
g++ -pthread -shared -B /home/justanhduc/anaconda3/compiler_compat -L/home/justanhduc/anaconda3/lib -Wl,-rpath=/home/justanhduc/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/emd.o build/temp.linux-x86_64-3.7/emd_cuda.o -L/home/justanhduc/cuda-10.1/lib64 -lcudart -o build/lib.linux-x86_64-3.7/emd.cpython-37m-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-3.7/emd.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
creating stub loader for emd.cpython-37m-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/emd.py to emd.cpython-37.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying emd.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying emd.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying emd.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying emd.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
__pycache__.emd.cpython-37: module references __file__
creating 'dist/emd-0.0.0-py3.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing emd-0.0.0-py3.7-linux-x86_64.egg
creating /home/justanhduc/anaconda3/lib/python3.7/site-packages/emd-0.0.0-py3.7-linux-x86_64.egg
Extracting emd-0.0.0-py3.7-linux-x86_64.egg to /home/justanhduc/anaconda3/lib/python3.7/site-packages
Adding emd 0.0.0 to easy-install.pth file
Installed /home/justanhduc/anaconda3/lib/python3.7/site-packages/emd-0.0.0-py3.7-linux-x86_64.egg
Processing dependencies for emd==0.0.0
Finished processing dependencies for emd==0.0.0
(base) justanhduc@insight-SIM3:~/Downloads/MSN-Point-Cloud-Completion/emd$ cd
(base) justanhduc@insight-SIM3:~$ python
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import emd
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /home/justanhduc/anaconda3/lib/python3.7/site-packages/emd-0.0.0-py3.7-linux-x86_64.egg/emd.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment