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

Compile error: O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/transform_points.o: No such file or directory #113

Closed
NoOneUST opened this issue Dec 6, 2020 · 6 comments

Comments

@NoOneUST
Copy link

NoOneUST commented Dec 6, 2020

I follow the guidance in https://github.com/microsoft/O-CNN/blob/master/docs/installation.md to compile the octree. However, after I run the code

cd octree/external && git clone --recursive https://github.com/wang-ps/octree-ext.git
cd .. && mkdir build && cd build
cmake ..  && cmake --build . --config Release

I have a slight modification here: change the following code in anaconda's cpp_extension.py

def _run_ninja_build(build_directory: str, verbose: bool, error_prefix: str) -> None:
    command = ['ninja', '-v']

to

def _run_ninja_build(build_directory: str, verbose: bool, error_prefix: str) -> None:
    # command = ['ninja', '-v']
    command = ['ninja', '--version']

Here is the running result:

(base) -bash-4.2$ cmake ..  && cmake --build . --config Release
-- octree: USE_CUDA
-- octree: -D_GLIBCXX_USE_CXX11_ABI=1
-- octree: USE_MINIBALL
CMake Deprecation Warning at external/octree-ext/googletest/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at external/octree-ext/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at external/octree-ext/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "octree_lib".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /export/data/lwangcg/Vis-MVSNet/O-CNN/octree/build
[ 27%] Built target octree_lib
[ 30%] Built target upgrade_points
[ 32%] Built target gtest
[ 34%] Built target gtest_main
[ 39%] Built target octree_test
[ 42%] Built target upgrade_octree
[ 44%] Built target transform_points
[ 46%] Built target simplify_points
[ 49%] Built target points_noise
[ 51%] Built target check_octree
[ 54%] Built target chamfer_distance
[ 56%] Built target ply2points
[ 59%] Built target octree
[ 61%] Built target clip_points
[ 63%] Built target adaptive_octree
[ 66%] Built target rply
[ 68%] Built target octree2mesh
[ 71%] Built target merge_octree
[ 73%] Built target custom_data
[ 75%] Built target octree2pts_suncg
[ 78%] Built target octree_samples
[ 80%] Built target octree_zbuffer
[ 83%] Built target bbox
[ 85%] Built target mesh2points
[ 87%] Built target octree2points
[ 90%] Built target octree_bbox
[ 92%] Built target octree_prune
[ 95%] Built target octree_dropout
[ 97%] Built target points2ply
[100%] Built target play_ground

I find the directory O-CNN/octree/build/bin is empty. Then, I set the PATH to O-CNN/octree/build/:$PATH. Later, I build O-CNN with the code:

cd pytorch
python setup.py install --build_octree

Here is the error:

(base) -bash-4.2$ python setup.py install --build_octree
mkdir /export/data/lwangcg/Vis-MVSNet/O-CNN/octree/build && cd /export/data/lwangcg/Vis-MVSNet/O-CNN/octree/build && cmake .. -DABI=ON -DKEY64=ON  && cmake --build . --config Release && ./octree_test
-- octree: USE_CUDA
-- The CUDA compiler identification is NVIDIA 10.2.89
-- The CXX compiler identification is GNU 8.3.0
-- The C compiler identification is GNU 8.3.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /export/data/lwangcg/cuda-10.2/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/GNU/gcc-8.3.0/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/GNU/gcc-8.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- octree: -D_GLIBCXX_USE_CXX11_ABI=0
-- octree: USE_MINIBALL
-- octree: KEY64
CMake Deprecation Warning at external/octree-ext/googletest/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at external/octree-ext/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at external/octree-ext/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found PythonInterp: /export/data/lwangcg/anaconda3/bin/python (found version "3.7.4")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "octree_lib".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /export/data/lwangcg/Vis-MVSNet/O-CNN/octree/build
Scanning dependencies of target octree_lib
[  1%] Building CXX object CMakeFiles/octree_lib.dir/octree/contour.cpp.o
[  2%] Building CXX object CMakeFiles/octree_lib.dir/octree/filenames.cpp.o
[  3%] Building CXX object CMakeFiles/octree_lib.dir/octree/marching_cube.cpp.o
[  4%] Building CXX object CMakeFiles/octree_lib.dir/octree/marching_cube_table.cpp.o
[  6%] Building CXX object CMakeFiles/octree_lib.dir/octree/math_functions.cpp.o
[  7%] Building CXX object CMakeFiles/octree_lib.dir/octree/merge_octrees.cpp.o
[  8%] Building CXX object CMakeFiles/octree_lib.dir/octree/mesh.cpp.o
[  9%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree.cpp.o
[ 10%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_conv.cpp.o
[ 12%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_info.cpp.o
[ 13%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_nn.cpp.o
[ 14%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_parser.cpp.o
[ 15%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_samples.cpp.o
[ 16%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_value.cpp.o
[ 18%] Building CXX object CMakeFiles/octree_lib.dir/octree/points.cpp.o
[ 19%] Building CXX object CMakeFiles/octree_lib.dir/octree/points_info.cpp.o
[ 20%] Building CXX object CMakeFiles/octree_lib.dir/octree/points_parser.cpp.o
[ 21%] Building CXX object CMakeFiles/octree_lib.dir/octree/simplify_points.cpp.o
[ 22%] Building CXX object CMakeFiles/octree_lib.dir/octree/transform_octree.cpp.o
[ 24%] Building CXX object CMakeFiles/octree_lib.dir/octree/transform_points.cpp.o
[ 25%] Building CUDA object CMakeFiles/octree_lib.dir/octree/octree_nn.cu.o
[ 26%] Building CUDA object CMakeFiles/octree_lib.dir/octree/octree_parser.cu.o
[ 27%] Linking CXX static library liboctree_lib.a
[ 27%] Built target octree_lib
Scanning dependencies of target upgrade_points
[ 28%] Building CXX object CMakeFiles/upgrade_points.dir/tools/upgrade_points.cpp.o
[ 30%] Linking CXX executable upgrade_points
[ 30%] Built target upgrade_points
Scanning dependencies of target gtest
[ 31%] Building CXX object external/octree-ext/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 32%] Linking CXX static library ../../../../lib/libgtest.a
[ 32%] Built target gtest
Scanning dependencies of target gtest_main
[ 33%] Building CXX object external/octree-ext/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 34%] Linking CXX static library ../../../../lib/libgtest_main.a
[ 34%] Built target gtest_main
Scanning dependencies of target octree_test
[ 36%] Building CXX object CMakeFiles/octree_test.dir/test/test_octree.cpp.o
[ 37%] Building CXX object CMakeFiles/octree_test.dir/test/test_octree_nn.cpp.o
[ 38%] Building CXX object CMakeFiles/octree_test.dir/test/test_util.cpp.o
[ 39%] Linking CXX executable octree_test
[ 39%] Built target octree_test
Scanning dependencies of target upgrade_octree
[ 40%] Building CXX object CMakeFiles/upgrade_octree.dir/tools/upgrade_octree.cpp.o
[ 42%] Linking CXX executable upgrade_octree
[ 42%] Built target upgrade_octree
Scanning dependencies of target transform_points
[ 43%] Building CXX object CMakeFiles/transform_points.dir/tools/transform_points.cpp.o
[ 44%] Linking CXX executable transform_points
[ 44%] Built target transform_points
Scanning dependencies of target simplify_points
[ 45%] Building CXX object CMakeFiles/simplify_points.dir/tools/simplify_points.cpp.o
[ 46%] Linking CXX executable simplify_points
[ 46%] Built target simplify_points
Scanning dependencies of target points_noise
[ 48%] Building CXX object CMakeFiles/points_noise.dir/tools/points_noise.cpp.o
[ 49%] Linking CXX executable points_noise
[ 49%] Built target points_noise
Scanning dependencies of target check_octree
[ 50%] Building CXX object CMakeFiles/check_octree.dir/tools/check_octree.cpp.o
[ 51%] Linking CXX executable check_octree
[ 51%] Built target check_octree
Scanning dependencies of target chamfer_distance
[ 53%] Building CXX object CMakeFiles/chamfer_distance.dir/tools/chamfer_distance.cpp.o
[ 54%] Linking CXX executable chamfer_distance
[ 54%] Built target chamfer_distance
Scanning dependencies of target ply2points
[ 55%] Building CXX object CMakeFiles/ply2points.dir/tools/ply2points.cpp.o
[ 56%] Linking CXX executable ply2points
[ 56%] Built target ply2points
Scanning dependencies of target octree
[ 57%] Building CXX object CMakeFiles/octree.dir/tools/build_octree.cpp.o
[ 59%] Linking CXX executable octree
[ 59%] Built target octree
Scanning dependencies of target clip_points
[ 60%] Building CXX object CMakeFiles/clip_points.dir/tools/clip_points.cpp.o
[ 61%] Linking CXX executable clip_points
[ 61%] Built target clip_points
Scanning dependencies of target adaptive_octree
[ 62%] Building CXX object CMakeFiles/adaptive_octree.dir/tools/adaptive_octree.cpp.o
[ 63%] Linking CXX executable adaptive_octree
[ 63%] Built target adaptive_octree
Scanning dependencies of target rply
[ 65%] Building C object CMakeFiles/rply.dir/external/octree-ext/rply-1.1.4/rply.c.o
[ 66%] Linking C static library librply.a
[ 66%] Built target rply
Scanning dependencies of target octree2mesh
[ 67%] Building CXX object CMakeFiles/octree2mesh.dir/tools/octree2mesh.cpp.o
[ 68%] Linking CXX executable octree2mesh
[ 68%] Built target octree2mesh
Scanning dependencies of target merge_octree
[ 69%] Building CXX object CMakeFiles/merge_octree.dir/tools/merge_octree.cpp.o
[ 71%] Linking CXX executable merge_octree
[ 71%] Built target merge_octree
Scanning dependencies of target custom_data
[ 72%] Building CXX object CMakeFiles/custom_data.dir/tools/custom_data.cpp.o
[ 73%] Linking CXX executable custom_data
[ 73%] Built target custom_data
Scanning dependencies of target octree2pts_suncg
[ 74%] Building CXX object CMakeFiles/octree2pts_suncg.dir/tools/octree2pts_suncg.cpp.o
[ 75%] Linking CXX executable octree2pts_suncg
[ 75%] Built target octree2pts_suncg
Scanning dependencies of target octree_samples
[ 77%] Building CXX object CMakeFiles/octree_samples.dir/tools/octree_samples.cpp.o
[ 78%] Linking CXX executable octree_samples
[ 78%] Built target octree_samples
Scanning dependencies of target octree_zbuffer
[ 79%] Building CXX object CMakeFiles/octree_zbuffer.dir/tools/octree_zbuffer.cpp.o
[ 80%] Linking CXX executable octree_zbuffer
[ 80%] Built target octree_zbuffer
Scanning dependencies of target bbox
[ 81%] Building CXX object CMakeFiles/bbox.dir/tools/bbox.cpp.o
[ 83%] Linking CXX executable bbox
[ 83%] Built target bbox
Scanning dependencies of target mesh2points
[ 84%] Building CXX object CMakeFiles/mesh2points.dir/tools/mesh2points.cpp.o
[ 85%] Linking CXX executable mesh2points
[ 85%] Built target mesh2points
Scanning dependencies of target octree2points
[ 86%] Building CXX object CMakeFiles/octree2points.dir/tools/octree2points.cpp.o
[ 87%] Linking CXX executable octree2points
[ 87%] Built target octree2points
Scanning dependencies of target octree_bbox
[ 89%] Building CXX object CMakeFiles/octree_bbox.dir/tools/octree_bbox.cpp.o
[ 90%] Linking CXX executable octree_bbox
[ 90%] Built target octree_bbox
Scanning dependencies of target octree_prune
[ 91%] Building CXX object CMakeFiles/octree_prune.dir/tools/octree_prune.cpp.o
[ 92%] Linking CXX executable octree_prune
[ 92%] Built target octree_prune
Scanning dependencies of target octree_dropout
[ 93%] Building CXX object CMakeFiles/octree_dropout.dir/tools/octree_dropout.cpp.o
[ 95%] Linking CXX executable octree_dropout
[ 95%] Built target octree_dropout
Scanning dependencies of target points2ply
[ 96%] Building CXX object CMakeFiles/points2ply.dir/tools/points2ply.cpp.o
[ 97%] Linking CXX executable points2ply
[ 97%] Built target points2ply
Scanning dependencies of target play_ground
[ 98%] Building CXX object CMakeFiles/play_ground.dir/tools/play_ground.cpp.o
[100%] Linking CXX executable play_ground
[100%] Built target play_ground
Running main() from /export/data/lwangcg/Vis-MVSNet/O-CNN/octree/external/octree-ext/googletest/googletest/src/gtest_main.cc
[==========] Running 12 tests from 7 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from OctreeTest
[ RUN      ] OctreeTest.TestOctreeBuild
/export/data/lwangcg/Vis-MVSNet/O-CNN/octree/test/test_octree.cpp:193: Failure
Expected equality of these values:
  octree_value.fval(16.5f, 16.5f, 0.5f).first
    Which is: -0.492761
  -0.5f
    Which is: -0.5
[  FAILED  ] OctreeTest.TestOctreeBuild (0 ms)
[ RUN      ] OctreeTest.TestOctreeTrim
[       OK ] OctreeTest.TestOctreeTrim (1 ms)
[----------] 2 tests from OctreeTest (1 ms total)

[----------] 1 test from VecResizeTest
[ RUN      ] VecResizeTest.TestVecResize
[       OK ] VecResizeTest.TestVecResize (0 ms)
[----------] 1 test from VecResizeTest (0 ms total)

[----------] 1 test from BiliearNeigh
[ RUN      ] BiliearNeigh.TestBiliearNeigh
[       OK ] BiliearNeigh.TestBiliearNeigh (1 ms)
[----------] 1 test from BiliearNeigh (1 ms total)

[----------] 1 test from Coord2xyzTest
[ RUN      ] Coord2xyzTest.TestCoord2xyz
[       OK ] Coord2xyzTest.TestCoord2xyz (0 ms)
[----------] 1 test from Coord2xyzTest (0 ms total)

[----------] 3 tests from UtilTest
[ RUN      ] UtilTest.TestExtractPath
[       OK ] UtilTest.TestExtractPath (0 ms)
[ RUN      ] UtilTest.TestExtractFilename
[       OK ] UtilTest.TestExtractFilename (0 ms)
[ RUN      ] UtilTest.TestExtractSuffix
[       OK ] UtilTest.TestExtractSuffix (0 ms)
[----------] 3 tests from UtilTest (0 ms total)

[----------] 2 tests from MeshTest
[ RUN      ] MeshTest.TestFaceCenter
[       OK ] MeshTest.TestFaceCenter (0 ms)
[ RUN      ] MeshTest.TestFaceNormal
[       OK ] MeshTest.TestFaceNormal (0 ms)
[----------] 2 tests from MeshTest (0 ms total)

[----------] 2 tests from MathTest
[ RUN      ] MathTest.TestRotMatrix1
[       OK ] MathTest.TestRotMatrix1 (0 ms)
[ RUN      ] MathTest.TestRotMatrix2
[       OK ] MathTest.TestRotMatrix2 (0 ms)
[----------] 2 tests from MathTest (0 ms total)

[----------] Global test environment tear-down
[==========] 12 tests from 7 test suites ran. (3 ms total)
[  PASSED  ] 11 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] OctreeTest.TestOctreeBuild

 1 FAILED TEST
running install
running bdist_egg
running egg_info
writing ocnn.egg-info/PKG-INFO
writing dependency_links to ocnn.egg-info/dependency_links.txt
writing requirements to ocnn.egg-info/requires.txt
writing top-level names to ocnn.egg-info/top_level.txt
reading manifest file 'ocnn.egg-info/SOURCES.txt'
writing manifest file 'ocnn.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'ocnn.nn' extension
Emitting ninja build file /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.6.0
g++ -pthread -shared -B /data/lwangcg/anaconda3/compiler_compat -L/data/lwangcg/anaconda3/lib -Wl,-rpath=/data/lwangcg/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ -I/export/data/lwangcg/cuda-10.2/include -I/export/data/lwangcg/cuda-10.2/include -I/export/data/lwangcg/cuda-10.2/include -I/export/data/lwangcg/cuda-10.2/include /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/octree2col.o /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/octree_batch.o /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/octree_conv.o /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/octree_pad.o /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/octree_pool.o /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/octree_property.o /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/octree_samples.o /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/point2octree.o /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/pybind.o /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/transform_points.o -L/export/data/lwangcg/Vis-MVSNet/O-CNN/octree/build -L/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/lib -L/export/data/lwangcg/cuda-10.2/lib64 -loctree_lib -lcublas -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.7/ocnn/nn.cpython-37m-x86_64-linux-gnu.so
g++: error: /export/data/lwangcg/Vis-MVSNet/O-CNN/pytorch/build/temp.linux-x86_64-3.7/./cpp/transform_points.o: No such file or directory
error: command 'g++' failed with exit status 1
@wang-ps
Copy link
Contributor

wang-ps commented Dec 7, 2020

The code was tested with Ubuntu 16.04 and PyTorch 1.6.0. Please provide your building environment.
For the [ FAILED ] OctreeTest.TestOctreeBuild, I have fixed it. Please pull the latest code.
But for the /transform_points.o: No such file or directory, I can not reproduce your error.

@NoOneUST
Copy link
Author

NoOneUST commented Dec 7, 2020

The code was tested with Ubuntu 16.04 and PyTorch 1.6.0. Please provide your building environment.
For the [ FAILED ] OctreeTest.TestOctreeBuild, I have fixed it. Please pull the latest code.
But for the /transform_points.o: No such file or directory, I can not reproduce your error.

My previous result is obtained with Centos 7.9.2009, PyTorch 1.7.0, CUDA10.2.89 and cudatoolkit 10.2.

Then I run again with pytorch==1.6.0, torchvision==0.7.0, cudatoolkit=10.1

Here is my libraries:

absl-py==0.9.0
addict==2.4.0
alabaster==0.7.12
anaconda-client==1.7.2
anaconda-navigator==1.9.7
anaconda-project==0.8.3
anykeystore==0.2
apex==0.1
appdirs==1.4.3
ase==3.20.1
asn1crypto==1.0.1
astor==0.8.1
astroid==2.3.1
astropy==3.2.2
atomicwrites==1.3.0
attrs==19.2.0
autograd==1.3
Babel==2.7.0
backcall==0.1.0
backports.functools-lru-cache==1.6.1
backports.os==0.1.1
backports.shutil-get-terminal-size==1.0.0
backports.tempfile==1.0
backports.weakref==1.0.post1
beautifulsoup4==4.8.0
bitarray==1.0.1
bkcharts==0.2
bleach==3.1.0
bokeh==1.3.4
boto==2.49.0
boto3==1.12.35
botocore==1.15.35
Bottleneck==1.2.1
cachetools==4.0.0
certifi==2019.9.11
cffi==1.12.3
cfgv==3.1.0
chardet==3.0.4
Click==7.0
cloudpickle==1.2.2
clyent==1.2.2
colorama==0.4.1
conda==4.9.2
conda-build==3.18.9
conda-package-handling @ file:///tmp/build/80754af9/conda-package-handling_1603018138503/work
conda-verify==3.4.2
ConfigSpace==0.4.16
contextlib2==0.6.0
cryptacular==1.5.5
cryptography==2.7
cycler==0.10.0
Cython==0.29.13
cytoolz==0.10.0
dask==2.5.2
dataclasses==0.6
-e git+https://github.com/dbolya/yolact.git@b97e82d809e5e69dc628930070a44442fd23617a#egg=DCNv2&subdirectory=external/DCNv2
decorator==4.4.0
deepspeed==0.1.0
defusedxml==0.6.0
distlib==0.3.0
distributed==2.5.2
docopt==0.6.2
docutils==0.15.2
easydict==1.9
entrypoints==0.3
et-xmlfile==1.0.1
fastcache==1.1.0
filelock==3.0.12
Flask==1.1.1
fsspec==0.5.2
future==0.18.2
gast==0.2.2
gdown==3.12.2
gevent==1.4.0
glob2==0.7
gmpy2==2.0.8
google-auth==1.11.2
google-auth-oauthlib==0.4.1
google-pasta==0.1.8
googledrivedownloader==0.4
graphsurgeon==0.4.1
graphviz==0.14
greenlet==0.4.15
grpcio==1.27.2
h5py==2.9.0
HeapDict==1.0.1
html5lib==1.0.1
hupper==1.10.2
hyperopt==0.2.3
identify==1.4.13
idna==2.8
imageio==2.6.0
imagesize==1.1.0
importlib-metadata==0.23
install==1.3.4
ipykernel==5.1.2
ipython==7.8.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
isodate==0.6.0
isort==4.3.21
itsdangerous==1.1.0
jdcal==1.4.1
jedi==0.15.1
jeepney==0.4.1
Jinja2==2.10.3
jmespath==0.9.5
joblib==0.13.2
jpeg4py==0.1.4
json-lines==0.5.0
json5==0.8.5
jsonlines==1.2.0
jsonschema==3.0.2
jupyter==1.0.0
jupyter-client==5.3.3
jupyter-console==6.0.0
jupyter-core==4.5.0
jupyterlab==1.1.4
jupyterlab-server==1.0.6
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
keyring==18.0.0
kiwisolver==1.1.0
lazy-object-proxy==1.4.2
libarchive-c==2.8
lief==0.9.0
lightgbm==3.0.0
llvmlite==0.29.0
lmdb==0.98
locket==0.2.0
lxml==4.4.1
Mako==1.1.2
Markdown==3.2.1
MarkupSafe==1.1.1
matplotlib==3.1.1
mccabe==0.6.1
mistune==0.8.4
mkl-fft==1.0.14
mkl-random==1.1.0
mkl-service==2.3.0
mock==3.0.5
more-itertools==7.2.0
mpmath==1.1.0
msgpack==0.6.1
msgpack-numpy==0.4.4.3
multipledispatch==0.6.0
nas-bench-201==2.0
nasbench301==0.2
nats-bench==1.0
navigator-updater==0.2.1
nbconvert==5.6.0
nbformat==4.4.0
networkx==2.2
nltk==3.4.5
nodeenv==1.3.5
nose==1.3.7
notebook==6.0.1
numba==0.45.1
numexpr==2.7.0
numpy==1.16.2
numpydoc==0.9.1
nvidia-dali==0.18.0
nvidia-dali-cuda100==0.24.0
nvidia-ml-py==375.53.1
oauthlib==3.1.0
olefile==0.46
onnx==1.6.0
open3d==0.9.0.0
opencv-python==4.1.1.26
openpyxl==3.0.0
opt-einsum==3.1.0
packaging==19.2
pandas==0.25.1
pandocfilters==1.4.2
parso==0.5.1
partd==1.0.0
PasteDeploy==2.1.0
path.py==12.0.1
pathlib2==2.3.5
pathvalidate==2.3.0
patsy==0.5.1
pbkdf2==1.3
pep8==1.7.1
pexpect==4.7.0
pickleshare==0.7.5
Pillow==8.0.1
pipreqs==0.4.10
pkginfo==1.5.0.1
plaster==1.0
plaster-pastedeploy==0.7
pluggy==0.13.0
ply==3.11
plyfile==0.7.2
pre-commit==2.2.0
prettytable==0.7.2
prometheus-client==0.7.1
prompt-toolkit==2.0.10
protobuf==3.11.3
psutil==5.6.3
ptflops==0.6.2
ptyprocess==0.6.0
py==1.8.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycocotools==2.0.0
pycodestyle==2.5.0
pycosat==0.6.3
pycparser==2.19
pycrypto==2.6.1
pycuda==2019.1.2
pycurl==7.43.0.3
pyflakes==2.1.1
Pygments==2.4.2
pylint==2.4.2
pyodbc==4.0.27
pyOpenSSL==19.0.0
pyparsing==2.4.2
pyramid==1.10.4
pyramid-mailer==0.15.1
pyrsistent==0.15.4
PySocks==1.7.1
pytest==5.2.1
pytest-arraydiff==0.3
pytest-astropy==0.5.0
pytest-doctestplus==0.4.0
pytest-forked==1.1.3
pytest-openfiles==0.4.0
pytest-remotedata==0.3.2
python-dateutil==2.8.0
python-prctl==1.7
python3-openid==3.1.0
pytools==2020.1
pytorch-pretrained-bert==0.6.2
pytorch-ranger==0.1.1
pytorch-transformers==1.2.0
pytz==2019.3
PyWavelets==1.0.3
PyYAML==5.1.2
pyzmq==18.1.0
QtAwesome==0.6.0
qtconsole==4.5.5
QtPy==1.9.0
rdflib==5.0.0
regex==2020.2.20
repoze.sendmail==4.4.1
requests==2.22.0
requests-oauthlib==1.3.0
rope==0.14.0
rsa==4.0
ruamel-yaml==0.15.46
s3transfer==0.3.3
sacremoses==0.0.41
scikit-image==0.15.0
scikit-learn==0.23.2
scipy==1.4.1
seaborn==0.9.0
SecretStorage==3.1.1
Send2Trash==1.5.0
sentencepiece==0.1.86
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.12.0
sklearn==0.0
snowballstemmer==2.0.0
sortedcollections==1.1.2
sortedcontainers==2.1.0
soupsieve==1.9.3
Sphinx==2.2.0
sphinxcontrib-applehelp==1.0.1
sphinxcontrib-devhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.2
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-serializinghtml==1.1.3
sphinxcontrib-websupport==1.1.2
spyder==3.3.6
spyder-kernels==0.5.2
SQLAlchemy==1.3.9
statsmodels==0.10.1
sympy==1.4
tables==3.5.2
tabulate==0.8.7
tblib==1.4.0
tensorboard==1.15.0
tensorboard-plugin-wit==1.6.0.post3
tensorboardX==1.8
tensorflow==2.1.0
tensorflow-estimator==1.15.1
tensorflow-gpu==1.15.2
tensorpack==0.10
tensorrt==7.0.0.11
termcolor==1.1.0
terminado==0.8.2
testpath==0.4.2
thop==0.0.31.post2005241907
threadpoolctl==2.1.0
toml==0.10.0
toolz==0.10.0
torch==1.6.0
torch-cluster==1.5.7
torch-geometric==1.6.1
torch-lr-finder==0.1.5
torch-optimizer==0.0.1a15
torch-scatter==2.0.5
torch-sparse==0.6.7
torch-spline-conv==1.2.0
torchaudio==0.7.0
torchvision==0.7.0
tornado==6.0.3
tqdm==4.46.0
traitlets==4.3.3
transaction==3.0.0
translationstring==1.3
typing-extensions==3.7.4.1
uff==0.6.5
unicodecsv==0.14.1
urllib3==1.24.2
velruse==1.1.1
venusian==3.0.0
virtualenv==20.0.15
wcwidth==0.1.7
webencodings==0.5.1
WebOb==1.8.6
Werkzeug==0.16.0
widgetsnbextension==3.5.1
wrapt==1.11.2
WTForms==2.2.1
wtforms-recaptcha==0.3.2
wurlitzer==1.0.3
xgboost==1.2.1
xlrd==1.2.0
XlsxWriter==1.2.1
xlwt==1.3.0
yacs==0.1.6
yarg==0.1.9
zict==1.0.0
zipp==0.6.0
zope.deprecation==4.4.0
zope.interface==5.0.1
zope.sqlalchemy==1.3

This time my result is different, but still has some errors

(base) -bash-4.2$ python setup.py install --build_octree
mkdir /export/data/lwangcg/O-CNN/octree/build && cd /export/data/lwangcg/O-CNN/octree/build && cmake .. -DABI=ON -DKEY64=ON  && cmake --build . --config Release && ./octree_test
-- octree: USE_CUDA
-- The CUDA compiler identification is NVIDIA 10.2.89
-- The CXX compiler identification is GNU 8.3.0
-- The C compiler identification is GNU 8.3.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /export/data/lwangcg/cuda-10.2/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/GNU/gcc-8.3.0/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/GNU/gcc-8.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- octree: -D_GLIBCXX_USE_CXX11_ABI=0
-- octree: USE_MINIBALL
-- octree: KEY64
CMake Deprecation Warning at external/octree-ext/googletest/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at external/octree-ext/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at external/octree-ext/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found PythonInterp: /export/data/lwangcg/anaconda3/bin/python (found version "3.7.4")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "octree_lib".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /export/data/lwangcg/O-CNN/octree/build
Scanning dependencies of target octree_lib
[  1%] Building CXX object CMakeFiles/octree_lib.dir/octree/contour.cpp.o
[  2%] Building CXX object CMakeFiles/octree_lib.dir/octree/filenames.cpp.o
[  3%] Building CXX object CMakeFiles/octree_lib.dir/octree/marching_cube.cpp.o
[  4%] Building CXX object CMakeFiles/octree_lib.dir/octree/marching_cube_table.cpp.o
[  6%] Building CXX object CMakeFiles/octree_lib.dir/octree/math_functions.cpp.o
[  7%] Building CXX object CMakeFiles/octree_lib.dir/octree/merge_octrees.cpp.o
[  8%] Building CXX object CMakeFiles/octree_lib.dir/octree/mesh.cpp.o
[  9%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree.cpp.o
[ 10%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_conv.cpp.o
[ 12%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_info.cpp.o
[ 13%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_nn.cpp.o
[ 14%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_parser.cpp.o
[ 15%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_samples.cpp.o
[ 16%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_value.cpp.o
[ 18%] Building CXX object CMakeFiles/octree_lib.dir/octree/points.cpp.o
[ 19%] Building CXX object CMakeFiles/octree_lib.dir/octree/points_info.cpp.o
[ 20%] Building CXX object CMakeFiles/octree_lib.dir/octree/points_parser.cpp.o
[ 21%] Building CXX object CMakeFiles/octree_lib.dir/octree/simplify_points.cpp.o
[ 22%] Building CXX object CMakeFiles/octree_lib.dir/octree/transform_octree.cpp.o
[ 24%] Building CXX object CMakeFiles/octree_lib.dir/octree/transform_points.cpp.o
[ 25%] Building CUDA object CMakeFiles/octree_lib.dir/octree/octree_nn.cu.o
[ 26%] Building CUDA object CMakeFiles/octree_lib.dir/octree/octree_parser.cu.o
[ 27%] Linking CXX static library liboctree_lib.a
[ 27%] Built target octree_lib
Scanning dependencies of target upgrade_points
[ 28%] Building CXX object CMakeFiles/upgrade_points.dir/tools/upgrade_points.cpp.o
[ 30%] Linking CXX executable upgrade_points
[ 30%] Built target upgrade_points
Scanning dependencies of target gtest
[ 31%] Building CXX object external/octree-ext/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 32%] Linking CXX static library ../../../../lib/libgtest.a
[ 32%] Built target gtest
Scanning dependencies of target gtest_main
[ 33%] Building CXX object external/octree-ext/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 34%] Linking CXX static library ../../../../lib/libgtest_main.a
[ 34%] Built target gtest_main
Scanning dependencies of target octree_test
[ 36%] Building CXX object CMakeFiles/octree_test.dir/test/test_octree.cpp.o
[ 37%] Building CXX object CMakeFiles/octree_test.dir/test/test_octree_nn.cpp.o
[ 38%] Building CXX object CMakeFiles/octree_test.dir/test/test_util.cpp.o
[ 39%] Linking CXX executable octree_test
[ 39%] Built target octree_test
Scanning dependencies of target upgrade_octree
[ 40%] Building CXX object CMakeFiles/upgrade_octree.dir/tools/upgrade_octree.cpp.o
[ 42%] Linking CXX executable upgrade_octree
[ 42%] Built target upgrade_octree
Scanning dependencies of target transform_points
[ 43%] Building CXX object CMakeFiles/transform_points.dir/tools/transform_points.cpp.o
[ 44%] Linking CXX executable transform_points
[ 44%] Built target transform_points
Scanning dependencies of target simplify_points
[ 45%] Building CXX object CMakeFiles/simplify_points.dir/tools/simplify_points.cpp.o
[ 46%] Linking CXX executable simplify_points
[ 46%] Built target simplify_points
Scanning dependencies of target points_noise
[ 48%] Building CXX object CMakeFiles/points_noise.dir/tools/points_noise.cpp.o
[ 49%] Linking CXX executable points_noise
[ 49%] Built target points_noise
Scanning dependencies of target check_octree
[ 50%] Building CXX object CMakeFiles/check_octree.dir/tools/check_octree.cpp.o
[ 51%] Linking CXX executable check_octree
[ 51%] Built target check_octree
Scanning dependencies of target chamfer_distance
[ 53%] Building CXX object CMakeFiles/chamfer_distance.dir/tools/chamfer_distance.cpp.o
[ 54%] Linking CXX executable chamfer_distance
[ 54%] Built target chamfer_distance
Scanning dependencies of target ply2points
[ 55%] Building CXX object CMakeFiles/ply2points.dir/tools/ply2points.cpp.o
[ 56%] Linking CXX executable ply2points
[ 56%] Built target ply2points
Scanning dependencies of target octree
[ 57%] Building CXX object CMakeFiles/octree.dir/tools/build_octree.cpp.o
[ 59%] Linking CXX executable octree
[ 59%] Built target octree
Scanning dependencies of target clip_points
[ 60%] Building CXX object CMakeFiles/clip_points.dir/tools/clip_points.cpp.o
[ 61%] Linking CXX executable clip_points
[ 61%] Built target clip_points
Scanning dependencies of target adaptive_octree
[ 62%] Building CXX object CMakeFiles/adaptive_octree.dir/tools/adaptive_octree.cpp.o
[ 63%] Linking CXX executable adaptive_octree
[ 63%] Built target adaptive_octree
Scanning dependencies of target rply
[ 65%] Building C object CMakeFiles/rply.dir/external/octree-ext/rply-1.1.4/rply.c.o
[ 66%] Linking C static library librply.a
[ 66%] Built target rply
Scanning dependencies of target octree2mesh
[ 67%] Building CXX object CMakeFiles/octree2mesh.dir/tools/octree2mesh.cpp.o
[ 68%] Linking CXX executable octree2mesh
[ 68%] Built target octree2mesh
Scanning dependencies of target merge_octree
[ 69%] Building CXX object CMakeFiles/merge_octree.dir/tools/merge_octree.cpp.o
[ 71%] Linking CXX executable merge_octree
[ 71%] Built target merge_octree
Scanning dependencies of target custom_data
[ 72%] Building CXX object CMakeFiles/custom_data.dir/tools/custom_data.cpp.o
[ 73%] Linking CXX executable custom_data
[ 73%] Built target custom_data
Scanning dependencies of target octree2pts_suncg
[ 74%] Building CXX object CMakeFiles/octree2pts_suncg.dir/tools/octree2pts_suncg.cpp.o
[ 75%] Linking CXX executable octree2pts_suncg
[ 75%] Built target octree2pts_suncg
Scanning dependencies of target octree_samples
[ 77%] Building CXX object CMakeFiles/octree_samples.dir/tools/octree_samples.cpp.o
[ 78%] Linking CXX executable octree_samples
[ 78%] Built target octree_samples
Scanning dependencies of target octree_zbuffer
[ 79%] Building CXX object CMakeFiles/octree_zbuffer.dir/tools/octree_zbuffer.cpp.o
[ 80%] Linking CXX executable octree_zbuffer
[ 80%] Built target octree_zbuffer
Scanning dependencies of target bbox
[ 81%] Building CXX object CMakeFiles/bbox.dir/tools/bbox.cpp.o
[ 83%] Linking CXX executable bbox
[ 83%] Built target bbox
Scanning dependencies of target mesh2points
[ 84%] Building CXX object CMakeFiles/mesh2points.dir/tools/mesh2points.cpp.o
[ 85%] Linking CXX executable mesh2points
[ 85%] Built target mesh2points
Scanning dependencies of target octree2points
[ 86%] Building CXX object CMakeFiles/octree2points.dir/tools/octree2points.cpp.o
[ 87%] Linking CXX executable octree2points
[ 87%] Built target octree2points
Scanning dependencies of target octree_bbox
[ 89%] Building CXX object CMakeFiles/octree_bbox.dir/tools/octree_bbox.cpp.o
[ 90%] Linking CXX executable octree_bbox
[ 90%] Built target octree_bbox
Scanning dependencies of target octree_prune
[ 91%] Building CXX object CMakeFiles/octree_prune.dir/tools/octree_prune.cpp.o
[ 92%] Linking CXX executable octree_prune
[ 92%] Built target octree_prune
Scanning dependencies of target octree_dropout
[ 93%] Building CXX object CMakeFiles/octree_dropout.dir/tools/octree_dropout.cpp.o
[ 95%] Linking CXX executable octree_dropout
[ 95%] Built target octree_dropout
Scanning dependencies of target points2ply
[ 96%] Building CXX object CMakeFiles/points2ply.dir/tools/points2ply.cpp.o
[ 97%] Linking CXX executable points2ply
[ 97%] Built target points2ply
Scanning dependencies of target play_ground
[ 98%] Building CXX object CMakeFiles/play_ground.dir/tools/play_ground.cpp.o
[100%] Linking CXX executable play_ground
[100%] Built target play_ground
Running main() from /export/data/lwangcg/O-CNN/octree/external/octree-ext/googletest/googletest/src/gtest_main.cc
[==========] Running 12 tests from 7 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from OctreeTest
[ RUN      ] OctreeTest.TestOctreeBuild
[       OK ] OctreeTest.TestOctreeBuild (0 ms)
[ RUN      ] OctreeTest.TestOctreeTrim
[       OK ] OctreeTest.TestOctreeTrim (1 ms)
[----------] 2 tests from OctreeTest (1 ms total)

[----------] 1 test from VecResizeTest
[ RUN      ] VecResizeTest.TestVecResize
[       OK ] VecResizeTest.TestVecResize (0 ms)
[----------] 1 test from VecResizeTest (0 ms total)

[----------] 1 test from BiliearNeigh
[ RUN      ] BiliearNeigh.TestBiliearNeigh
[       OK ] BiliearNeigh.TestBiliearNeigh (1 ms)
[----------] 1 test from BiliearNeigh (1 ms total)

[----------] 1 test from Coord2xyzTest
[ RUN      ] Coord2xyzTest.TestCoord2xyz
[       OK ] Coord2xyzTest.TestCoord2xyz (0 ms)
[----------] 1 test from Coord2xyzTest (0 ms total)

[----------] 3 tests from UtilTest
[ RUN      ] UtilTest.TestExtractPath
[       OK ] UtilTest.TestExtractPath (0 ms)
[ RUN      ] UtilTest.TestExtractFilename
[       OK ] UtilTest.TestExtractFilename (0 ms)
[ RUN      ] UtilTest.TestExtractSuffix
[       OK ] UtilTest.TestExtractSuffix (0 ms)
[----------] 3 tests from UtilTest (0 ms total)

[----------] 2 tests from MeshTest
[ RUN      ] MeshTest.TestFaceCenter
[       OK ] MeshTest.TestFaceCenter (0 ms)
[ RUN      ] MeshTest.TestFaceNormal
[       OK ] MeshTest.TestFaceNormal (0 ms)
[----------] 2 tests from MeshTest (0 ms total)

[----------] 2 tests from MathTest
[ RUN      ] MathTest.TestRotMatrix1
[       OK ] MathTest.TestRotMatrix1 (0 ms)
[ RUN      ] MathTest.TestRotMatrix2
[       OK ] MathTest.TestRotMatrix2 (0 ms)
[----------] 2 tests from MathTest (0 ms total)

[----------] Global test environment tear-down
[==========] 12 tests from 7 test suites ran. (2 ms total)
[  PASSED  ] 12 tests.
running install
running bdist_egg
running egg_info
writing ocnn.egg-info/PKG-INFO
writing dependency_links to ocnn.egg-info/dependency_links.txt
writing requirements to ocnn.egg-info/requires.txt
writing top-level names to ocnn.egg-info/top_level.txt
reading manifest file 'ocnn.egg-info/SOURCES.txt'
writing manifest file 'ocnn.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'ocnn.nn' extension
Emitting ninja build file /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/1] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o.d -pthread -B /data/lwangcg/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/export/data/lwangcg/cuda-10.2/include -I/export/data/lwangcg/cuda-10.2/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/export/data/lwangcg/cuda-10.2/include -I/export/data/lwangcg/anaconda3/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o
c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o.d -pthread -B /data/lwangcg/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/export/data/lwangcg/cuda-10.2/include -I/export/data/lwangcg/cuda-10.2/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/export/data/lwangcg/cuda-10.2/include -I/export/data/lwangcg/anaconda3/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:1:
/export/data/lwangcg/cuda-10.2/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /export/data/lwangcg/cuda-10.2/include/crt/math_functions.h:9963,
                 from /export/data/lwangcg/cuda-10.2/include/math_functions.h:60,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:1:
/export/data/lwangcg/cuda-10.2/include/crt/func_macro.h:30:2: error: #error -- incorrect inclusion of a cudart header file
 #error -- incorrect inclusion of a cudart header file
  ^~~~~
In file included from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:5:
/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

In file included from /export/data/lwangcg/cuda-10.2/include/crt/math_functions.h:10233,
                 from /export/data/lwangcg/cuda-10.2/include/math_functions.h:60,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:1:
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp: In function ‘double rsqrt(double)’:
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2894:16: error: ‘sqrt’ was not declared in this scope
   return 1.0 / sqrt(a);
                ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2894:16: note: suggested alternative: ‘rsqrt’
   return 1.0 / sqrt(a);
                ^~~~
                rsqrt
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp: In function ‘double rcbrt(double)’:
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2901:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2904:19: error: ‘__isinf’ was not declared in this scope
   if (a == 0.0 || __isinf(a)) {
                   ^~~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2907:7: error: ‘fabs’ was not declared in this scope
   s = fabs(a);
       ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2908:28: error: ‘log2’ was not declared in this scope
   t = exp2(-CUDART_THIRD * log2(s));                /* initial approximation */
                            ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2908:28: note: suggested alternative: ‘long’
   t = exp2(-CUDART_THIRD * log2(s));                /* initial approximation */
                            ^~~~
                            long
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2908:7: error: ‘exp2’ was not declared in this scope
   t = exp2(-CUDART_THIRD * log2(s));                /* initial approximation */
       ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2913:7: error: ‘__signbit’ was not declared in this scope
   if (__signbit(a))
       ^~~~~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp: In function ‘double sinpi(double)’:
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2925:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2928:19: error: ‘__isinf’ was not declared in this scope
   if (a == 0.0 || __isinf(a)) {
                   ^~~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2929:12: error: ‘sin’ was not declared in this scope
     return sin (a);
            ^~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2929:12: note: suggested alternative: ‘min’
     return sin (a);
            ^~~
            min
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2931:12: error: ‘floor’ was not declared in this scope
   if (a == floor(a)) {
            ^~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2931:12: note: suggested alternative: ‘float’
   if (a == floor(a)) {
            ^~~~~
            float
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2934:7: error: ‘remquo’ was not declared in this scope
   a = remquo (a, 0.5, &n);
       ^~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2937:9: error: ‘cos’ was not declared in this scope
     a = cos (a);
         ^~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2937:9: note: suggested alternative: ‘cospi’
     a = cos (a);
         ^~~
         cospi
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2939:9: error: ‘sin’ was not declared in this scope
     a = sin (a);
         ^~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2939:9: note: suggested alternative: ‘min’
     a = sin (a);
         ^~~
         min
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp: In function ‘double cospi(double)’:
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2951:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2954:7: error: ‘__isinf’ was not declared in this scope
   if (__isinf(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2955:12: error: ‘cos’ was not declared in this scope
     return cos (a);
            ^~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2955:12: note: suggested alternative: ‘cospi’
     return cos (a);
            ^~~
            cospi
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2957:7: error: ‘fabs’ was not declared in this scope
   if (fabs(a) > 9.0071992547409920e+015) {
       ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2960:7: error: ‘remquo’ was not declared in this scope
   a = remquo (a, 0.5, &n);
       ^~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2964:9: error: ‘cos’ was not declared in this scope
     a = cos (a);
         ^~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2964:9: note: suggested alternative: ‘cospi’
     a = cos (a);
         ^~~
         cospi
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2966:9: error: ‘sin’ was not declared in this scope
     a = sin (a);
         ^~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2966:9: note: suggested alternative: ‘min’
     a = sin (a);
         ^~~
         min
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2972:9: error: ‘fabs’ was not declared in this scope
     a = fabs(a);
         ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp: In function ‘double erfinv(double)’:
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2988:8: error: ‘fabs’ was not declared in this scope
   fa = fabs(a);
        ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2988:8: note: suggested alternative: ‘fa’
   fa = fabs(a);
        ^~~~
        fa
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2991:5: error: ‘memcpy’ was not declared in this scope
     memcpy(&t, &l, sizeof(double)); /* INDEFINITE */
     ^~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2991:5: note: ‘memcpy’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:1182:1:
+#include <cstring>

/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2991:5:
     memcpy(&t, &l, sizeof(double)); /* INDEFINITE */
     ^~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:2993:15: error: ‘exp’ was not declared in this scope
       t = a * exp(1000.0);          /* Infinity */
               ^~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3000:9: error: ‘log1p’ was not declared in this scope
     t = log1p(-fa);
         ^~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3001:15: error: ‘sqrt’ was not declared in this scope
     t = 1.0 / sqrt(-t);
               ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3001:15: note: suggested alternative: ‘rsqrt’
     t = 1.0 / sqrt(-t);
               ^~~~
               rsqrt
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp: In function ‘double erfcinv(double)’:
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3081:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3086:5: error: ‘memcpy’ was not declared in this scope
     memcpy(&t, &l, sizeof(double));   /* INDEFINITE */
     ^~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3086:5: note: ‘memcpy’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3088:25: error: ‘exp’ was not declared in this scope
         t = (1.0 - a) * exp(1000.0);  /* Infinity */
                         ^~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3100:9: error: ‘log’ was not declared in this scope
     t = log(a);
         ^~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3100:9: note: suggested alternative: ‘long’
     t = log(a);
         ^~~
         long
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3101:15: error: ‘sqrt’ was not declared in this scope
     t = 1.0 / sqrt(-t);
               ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3101:15: note: suggested alternative: ‘rsqrt’
     t = 1.0 / sqrt(-t);
               ^~~~
               rsqrt
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3131:9: error: ‘log’ was not declared in this scope
     t = log(a);
         ^~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3131:9: note: suggested alternative: ‘long’
     t = log(a);
         ^~~
         long
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3132:15: error: ‘sqrt’ was not declared in this scope
     t = 1.0 / sqrt(-t);
               ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3132:15: note: suggested alternative: ‘rsqrt’
     t = 1.0 / sqrt(-t);
               ^~~~
               rsqrt
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp: In function ‘double normcdf(double)’:
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3164:7: error: ‘fabs’ was not declared in this scope
   if (fabs (a) > 38.5) a = copysign (38.5, a);
       ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3164:28: error: ‘copysign’ was not declared in this scope
   if (fabs (a) > 38.5) a = copysign (38.5, a);
                            ^~~~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3174:7: error: ‘erfc’ was not declared in this scope
   z = erfc (ah);
       ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3174:7: note: suggested alternative: ‘erfcx’
   z = erfc (ah);
       ^~~~
       erfcx
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp: In function ‘double erfcx(double)’:
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3187:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3190:7: error: ‘fabs’ was not declared in this scope
   x = fabs(a);
       ^~~~
/export/data/lwangcg/cuda-10.2/include/crt/math_functions.hpp:3251:10: error: ‘exp’ was not declared in this scope
     t3 = exp(t2 * t2) * exp(t3);
          ^~~
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp: In function ‘std::vector<float> bounding_sphere(at::Tensor, std::string)’:
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:20:21: error: could not convert ‘radius’ from ‘float’ to ‘at::Tensor’
     bounding_sphere(radius, center, pts.points(), pts.info().pt_num());
                     ^~~~~~
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:23:5: error: ‘bounding_box’ was not declared in this scope
     bounding_box(bbmin, bbmax, pts.points(), pts.info().pt_num());
     ^~~~~~~~~~~~
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:23:5: note: suggested alternative: ‘bounding_sphere’
     bounding_box(bbmin, bbmax, pts.points(), pts.info().pt_num());
     ^~~~~~~~~~~~
     bounding_sphere
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp: In function ‘void {anonymous}::setup_transform(at::Tensor, at::Tensor&, Points&)’:
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:39:45: warning: ‘T* at::Tensor::data() const [with T = unsigned char]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
   uint8_t* out_ptr = data_out.data<uint8_t>();
                                             ^
In file included from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:5:
/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1515, in _run_ninja_build
    env=env)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/subprocess.py", line 487, 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 "setup.py", line 62, in <module>
    'build_ext': BuildExtension
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
    self.run_command('bdist_egg')
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 172, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 158, in call_command
    self.run_command(cmdname)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/install_lib.py", line 11, in run
    self.build()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/command/install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run
    _build_ext.run(self)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
    build_ext.build_extensions(self)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 194, in build_extensions
    self.build_extension(ext)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 205, in build_extension
    _build_ext.build_extension(self, ext)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
    depends=ext.depends)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
    raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

The result is the same after I switch to CUDA10.1.

(base) -bash-4.2$ python setup.py install --build_octree
mkdir /export/data/lwangcg/O-CNN/octree/build && cd /export/data/lwangcg/O-CNN/octree/build && cmake .. -DABI=ON -DKEY64=ON  && cmake --build . --config Release && ./octree_test
-- octree: USE_CUDA
-- The CUDA compiler identification is NVIDIA 10.1.105
-- The CXX compiler identification is GNU 8.3.0
-- The C compiler identification is GNU 8.3.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda-10.1/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/GNU/gcc-8.3.0/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/GNU/gcc-8.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- octree: -D_GLIBCXX_USE_CXX11_ABI=0
-- octree: USE_MINIBALL
-- octree: KEY64
CMake Deprecation Warning at external/octree-ext/googletest/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at external/octree-ext/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at external/octree-ext/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found PythonInterp: /export/data/lwangcg/anaconda3/bin/python (found version "3.7.4")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "octree_lib".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /export/data/lwangcg/O-CNN/octree/build
Scanning dependencies of target octree_lib
[  1%] Building CXX object CMakeFiles/octree_lib.dir/octree/contour.cpp.o
[  2%] Building CXX object CMakeFiles/octree_lib.dir/octree/filenames.cpp.o
[  3%] Building CXX object CMakeFiles/octree_lib.dir/octree/marching_cube.cpp.o
[  4%] Building CXX object CMakeFiles/octree_lib.dir/octree/marching_cube_table.cpp.o
[  6%] Building CXX object CMakeFiles/octree_lib.dir/octree/math_functions.cpp.o
[  7%] Building CXX object CMakeFiles/octree_lib.dir/octree/merge_octrees.cpp.o
[  8%] Building CXX object CMakeFiles/octree_lib.dir/octree/mesh.cpp.o
[  9%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree.cpp.o
[ 10%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_conv.cpp.o
[ 12%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_info.cpp.o
[ 13%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_nn.cpp.o
[ 14%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_parser.cpp.o
[ 15%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_samples.cpp.o
[ 16%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_value.cpp.o
[ 18%] Building CXX object CMakeFiles/octree_lib.dir/octree/points.cpp.o
[ 19%] Building CXX object CMakeFiles/octree_lib.dir/octree/points_info.cpp.o
[ 20%] Building CXX object CMakeFiles/octree_lib.dir/octree/points_parser.cpp.o
[ 21%] Building CXX object CMakeFiles/octree_lib.dir/octree/simplify_points.cpp.o
[ 22%] Building CXX object CMakeFiles/octree_lib.dir/octree/transform_octree.cpp.o
[ 24%] Building CXX object CMakeFiles/octree_lib.dir/octree/transform_points.cpp.o
[ 25%] Building CUDA object CMakeFiles/octree_lib.dir/octree/octree_nn.cu.o
[ 26%] Building CUDA object CMakeFiles/octree_lib.dir/octree/octree_parser.cu.o
[ 27%] Linking CXX static library liboctree_lib.a
[ 27%] Built target octree_lib
Scanning dependencies of target upgrade_points
[ 28%] Building CXX object CMakeFiles/upgrade_points.dir/tools/upgrade_points.cpp.o
[ 30%] Linking CXX executable upgrade_points
[ 30%] Built target upgrade_points
Scanning dependencies of target gtest
[ 31%] Building CXX object external/octree-ext/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 32%] Linking CXX static library ../../../../lib/libgtest.a
[ 32%] Built target gtest
Scanning dependencies of target gtest_main
[ 33%] Building CXX object external/octree-ext/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 34%] Linking CXX static library ../../../../lib/libgtest_main.a
[ 34%] Built target gtest_main
Scanning dependencies of target octree_test
[ 36%] Building CXX object CMakeFiles/octree_test.dir/test/test_octree.cpp.o
[ 37%] Building CXX object CMakeFiles/octree_test.dir/test/test_octree_nn.cpp.o
[ 38%] Building CXX object CMakeFiles/octree_test.dir/test/test_util.cpp.o
[ 39%] Linking CXX executable octree_test
[ 39%] Built target octree_test
Scanning dependencies of target upgrade_octree
[ 40%] Building CXX object CMakeFiles/upgrade_octree.dir/tools/upgrade_octree.cpp.o
[ 42%] Linking CXX executable upgrade_octree
[ 42%] Built target upgrade_octree
Scanning dependencies of target transform_points
[ 43%] Building CXX object CMakeFiles/transform_points.dir/tools/transform_points.cpp.o
[ 44%] Linking CXX executable transform_points
[ 44%] Built target transform_points
Scanning dependencies of target simplify_points
[ 45%] Building CXX object CMakeFiles/simplify_points.dir/tools/simplify_points.cpp.o
[ 46%] Linking CXX executable simplify_points
[ 46%] Built target simplify_points
Scanning dependencies of target points_noise
[ 48%] Building CXX object CMakeFiles/points_noise.dir/tools/points_noise.cpp.o
[ 49%] Linking CXX executable points_noise
[ 49%] Built target points_noise
Scanning dependencies of target check_octree
[ 50%] Building CXX object CMakeFiles/check_octree.dir/tools/check_octree.cpp.o
[ 51%] Linking CXX executable check_octree
[ 51%] Built target check_octree
Scanning dependencies of target chamfer_distance
[ 53%] Building CXX object CMakeFiles/chamfer_distance.dir/tools/chamfer_distance.cpp.o
[ 54%] Linking CXX executable chamfer_distance
[ 54%] Built target chamfer_distance
Scanning dependencies of target ply2points
[ 55%] Building CXX object CMakeFiles/ply2points.dir/tools/ply2points.cpp.o
[ 56%] Linking CXX executable ply2points
[ 56%] Built target ply2points
Scanning dependencies of target octree
[ 57%] Building CXX object CMakeFiles/octree.dir/tools/build_octree.cpp.o
[ 59%] Linking CXX executable octree
[ 59%] Built target octree
Scanning dependencies of target clip_points
[ 60%] Building CXX object CMakeFiles/clip_points.dir/tools/clip_points.cpp.o
[ 61%] Linking CXX executable clip_points
[ 61%] Built target clip_points
Scanning dependencies of target adaptive_octree
[ 62%] Building CXX object CMakeFiles/adaptive_octree.dir/tools/adaptive_octree.cpp.o
[ 63%] Linking CXX executable adaptive_octree
[ 63%] Built target adaptive_octree
Scanning dependencies of target rply
[ 65%] Building C object CMakeFiles/rply.dir/external/octree-ext/rply-1.1.4/rply.c.o
[ 66%] Linking C static library librply.a
[ 66%] Built target rply
Scanning dependencies of target octree2mesh
[ 67%] Building CXX object CMakeFiles/octree2mesh.dir/tools/octree2mesh.cpp.o
[ 68%] Linking CXX executable octree2mesh
[ 68%] Built target octree2mesh
Scanning dependencies of target merge_octree
[ 69%] Building CXX object CMakeFiles/merge_octree.dir/tools/merge_octree.cpp.o
[ 71%] Linking CXX executable merge_octree
[ 71%] Built target merge_octree
Scanning dependencies of target custom_data
[ 72%] Building CXX object CMakeFiles/custom_data.dir/tools/custom_data.cpp.o
[ 73%] Linking CXX executable custom_data
[ 73%] Built target custom_data
Scanning dependencies of target octree2pts_suncg
[ 74%] Building CXX object CMakeFiles/octree2pts_suncg.dir/tools/octree2pts_suncg.cpp.o
[ 75%] Linking CXX executable octree2pts_suncg
[ 75%] Built target octree2pts_suncg
Scanning dependencies of target octree_samples
[ 77%] Building CXX object CMakeFiles/octree_samples.dir/tools/octree_samples.cpp.o
[ 78%] Linking CXX executable octree_samples
[ 78%] Built target octree_samples
Scanning dependencies of target octree_zbuffer
[ 79%] Building CXX object CMakeFiles/octree_zbuffer.dir/tools/octree_zbuffer.cpp.o
[ 80%] Linking CXX executable octree_zbuffer
[ 80%] Built target octree_zbuffer
Scanning dependencies of target bbox
[ 81%] Building CXX object CMakeFiles/bbox.dir/tools/bbox.cpp.o
[ 83%] Linking CXX executable bbox
[ 83%] Built target bbox
Scanning dependencies of target mesh2points
[ 84%] Building CXX object CMakeFiles/mesh2points.dir/tools/mesh2points.cpp.o
[ 85%] Linking CXX executable mesh2points
[ 85%] Built target mesh2points
Scanning dependencies of target octree2points
[ 86%] Building CXX object CMakeFiles/octree2points.dir/tools/octree2points.cpp.o
[ 87%] Linking CXX executable octree2points
[ 87%] Built target octree2points
Scanning dependencies of target octree_bbox
[ 89%] Building CXX object CMakeFiles/octree_bbox.dir/tools/octree_bbox.cpp.o
[ 90%] Linking CXX executable octree_bbox
[ 90%] Built target octree_bbox
Scanning dependencies of target octree_prune
[ 91%] Building CXX object CMakeFiles/octree_prune.dir/tools/octree_prune.cpp.o
[ 92%] Linking CXX executable octree_prune
[ 92%] Built target octree_prune
Scanning dependencies of target octree_dropout
[ 93%] Building CXX object CMakeFiles/octree_dropout.dir/tools/octree_dropout.cpp.o
[ 95%] Linking CXX executable octree_dropout
[ 95%] Built target octree_dropout
Scanning dependencies of target points2ply
[ 96%] Building CXX object CMakeFiles/points2ply.dir/tools/points2ply.cpp.o
[ 97%] Linking CXX executable points2ply
[ 97%] Built target points2ply
Scanning dependencies of target play_ground
[ 98%] Building CXX object CMakeFiles/play_ground.dir/tools/play_ground.cpp.o
[100%] Linking CXX executable play_ground
[100%] Built target play_ground
Running main() from /export/data/lwangcg/O-CNN/octree/external/octree-ext/googletest/googletest/src/gtest_main.cc
[==========] Running 12 tests from 7 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from OctreeTest
[ RUN      ] OctreeTest.TestOctreeBuild
[       OK ] OctreeTest.TestOctreeBuild (0 ms)
[ RUN      ] OctreeTest.TestOctreeTrim
[       OK ] OctreeTest.TestOctreeTrim (1 ms)
[----------] 2 tests from OctreeTest (1 ms total)

[----------] 1 test from VecResizeTest
[ RUN      ] VecResizeTest.TestVecResize
[       OK ] VecResizeTest.TestVecResize (0 ms)
[----------] 1 test from VecResizeTest (0 ms total)

[----------] 1 test from BiliearNeigh
[ RUN      ] BiliearNeigh.TestBiliearNeigh
[       OK ] BiliearNeigh.TestBiliearNeigh (1 ms)
[----------] 1 test from BiliearNeigh (1 ms total)

[----------] 1 test from Coord2xyzTest
[ RUN      ] Coord2xyzTest.TestCoord2xyz
[       OK ] Coord2xyzTest.TestCoord2xyz (0 ms)
[----------] 1 test from Coord2xyzTest (0 ms total)

[----------] 3 tests from UtilTest
[ RUN      ] UtilTest.TestExtractPath
[       OK ] UtilTest.TestExtractPath (0 ms)
[ RUN      ] UtilTest.TestExtractFilename
[       OK ] UtilTest.TestExtractFilename (0 ms)
[ RUN      ] UtilTest.TestExtractSuffix
[       OK ] UtilTest.TestExtractSuffix (0 ms)
[----------] 3 tests from UtilTest (0 ms total)

[----------] 2 tests from MeshTest
[ RUN      ] MeshTest.TestFaceCenter
[       OK ] MeshTest.TestFaceCenter (0 ms)
[ RUN      ] MeshTest.TestFaceNormal
[       OK ] MeshTest.TestFaceNormal (0 ms)
[----------] 2 tests from MeshTest (0 ms total)

[----------] 2 tests from MathTest
[ RUN      ] MathTest.TestRotMatrix1
[       OK ] MathTest.TestRotMatrix1 (0 ms)
[ RUN      ] MathTest.TestRotMatrix2
[       OK ] MathTest.TestRotMatrix2 (0 ms)
[----------] 2 tests from MathTest (0 ms total)

[----------] Global test environment tear-down
[==========] 12 tests from 7 test suites ran. (2 ms total)
[  PASSED  ] 12 tests.
running install
running bdist_egg
running egg_info
writing ocnn.egg-info/PKG-INFO
writing dependency_links to ocnn.egg-info/dependency_links.txt
writing requirements to ocnn.egg-info/requires.txt
writing top-level names to ocnn.egg-info/top_level.txt
reading manifest file 'ocnn.egg-info/SOURCES.txt'
writing manifest file 'ocnn.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'ocnn.nn' extension
Emitting ninja build file /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/1] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o.d -pthread -B /data/lwangcg/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/bin/include -I/usr/local/cuda-10.1/bin/include -I/export/data/lwangcg/cuda-11.1.74/include -I/export/data/lwangcg/cuda-10.2/include -I/export/data/lwangcg/cuda-10.2/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/bin/include -I/export/data/lwangcg/anaconda3/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o
c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o.d -pthread -B /data/lwangcg/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/bin/include -I/usr/local/cuda-10.1/bin/include -I/export/data/lwangcg/cuda-11.1.74/include -I/export/data/lwangcg/cuda-10.2/include -I/export/data/lwangcg/cuda-10.2/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/bin/include -I/export/data/lwangcg/anaconda3/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:1:
/export/data/lwangcg/cuda-11.1.74/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.h:10302,
                 from /export/data/lwangcg/cuda-11.1.74/include/math_functions.h:60,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:1:
/export/data/lwangcg/cuda-11.1.74/include/crt/func_macro.h:30:2: error: #error -- incorrect inclusion of a cudart header file
 #error -- incorrect inclusion of a cudart header file
  ^~~~~
In file included from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:5:
/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

In file included from /export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.h:10572,
                 from /export/data/lwangcg/cuda-11.1.74/include/math_functions.h:60,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:1:
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp: In function ‘double rsqrt(double)’:
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2946:16: error: ‘sqrt’ was not declared in this scope
   return 1.0 / sqrt(a);
                ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2946:16: note: suggested alternative: ‘rsqrt’
   return 1.0 / sqrt(a);
                ^~~~
                rsqrt
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp: In function ‘double rcbrt(double)’:
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2953:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2956:19: error: ‘__isinf’ was not declared in this scope
   if (a == 0.0 || __isinf(a)) {
                   ^~~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2959:7: error: ‘fabs’ was not declared in this scope
   s = fabs(a);
       ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2960:28: error: ‘log2’ was not declared in this scope
   t = exp2(-CUDART_THIRD * log2(s));                /* initial approximation */
                            ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2960:28: note: suggested alternative: ‘long’
   t = exp2(-CUDART_THIRD * log2(s));                /* initial approximation */
                            ^~~~
                            long
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2960:7: error: ‘exp2’ was not declared in this scope
   t = exp2(-CUDART_THIRD * log2(s));                /* initial approximation */
       ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2965:7: error: ‘__signbit’ was not declared in this scope
   if (__signbit(a))
       ^~~~~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp: In function ‘double sinpi(double)’:
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2977:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2980:19: error: ‘__isinf’ was not declared in this scope
   if (a == 0.0 || __isinf(a)) {
                   ^~~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2981:12: error: ‘sin’ was not declared in this scope
     return sin (a);
            ^~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2981:12: note: suggested alternative: ‘min’
     return sin (a);
            ^~~
            min
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2983:12: error: ‘floor’ was not declared in this scope
   if (a == floor(a)) {
            ^~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2983:12: note: suggested alternative: ‘float’
   if (a == floor(a)) {
            ^~~~~
            float
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2986:7: error: ‘remquo’ was not declared in this scope
   a = remquo (a, 0.5, &n);
       ^~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2989:9: error: ‘cos’ was not declared in this scope
     a = cos (a);
         ^~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2989:9: note: suggested alternative: ‘cospi’
     a = cos (a);
         ^~~
         cospi
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2991:9: error: ‘sin’ was not declared in this scope
     a = sin (a);
         ^~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:2991:9: note: suggested alternative: ‘min’
     a = sin (a);
         ^~~
         min
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp: In function ‘double cospi(double)’:
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3003:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3006:7: error: ‘__isinf’ was not declared in this scope
   if (__isinf(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3007:12: error: ‘cos’ was not declared in this scope
     return cos (a);
            ^~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3007:12: note: suggested alternative: ‘cospi’
     return cos (a);
            ^~~
            cospi
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3009:7: error: ‘fabs’ was not declared in this scope
   if (fabs(a) > 9.0071992547409920e+015) {
       ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3012:7: error: ‘remquo’ was not declared in this scope
   a = remquo (a, 0.5, &n);
       ^~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3016:9: error: ‘cos’ was not declared in this scope
     a = cos (a);
         ^~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3016:9: note: suggested alternative: ‘cospi’
     a = cos (a);
         ^~~
         cospi
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3018:9: error: ‘sin’ was not declared in this scope
     a = sin (a);
         ^~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3018:9: note: suggested alternative: ‘min’
     a = sin (a);
         ^~~
         min
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3024:9: error: ‘fabs’ was not declared in this scope
     a = fabs(a);
         ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp: In function ‘double erfinv(double)’:
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3040:8: error: ‘fabs’ was not declared in this scope
   fa = fabs(a);
        ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3040:8: note: suggested alternative: ‘fa’
   fa = fabs(a);
        ^~~~
        fa
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3043:5: error: ‘memcpy’ was not declared in this scope
     memcpy(&t, &l, sizeof(double)); /* INDEFINITE */
     ^~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3043:5: note: ‘memcpy’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:1201:1:
+#include <cstring>

/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3043:5:
     memcpy(&t, &l, sizeof(double)); /* INDEFINITE */
     ^~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3045:15: error: ‘exp’ was not declared in this scope
       t = a * exp(1000.0);          /* Infinity */
               ^~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3052:9: error: ‘log1p’ was not declared in this scope
     t = log1p(-fa);
         ^~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3053:15: error: ‘sqrt’ was not declared in this scope
     t = 1.0 / sqrt(-t);
               ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3053:15: note: suggested alternative: ‘rsqrt’
     t = 1.0 / sqrt(-t);
               ^~~~
               rsqrt
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp: In function ‘double erfcinv(double)’:
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3133:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3138:5: error: ‘memcpy’ was not declared in this scope
     memcpy(&t, &l, sizeof(double));   /* INDEFINITE */
     ^~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3138:5: note: ‘memcpy’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3140:25: error: ‘exp’ was not declared in this scope
         t = (1.0 - a) * exp(1000.0);  /* Infinity */
                         ^~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3152:9: error: ‘log’ was not declared in this scope
     t = log(a);
         ^~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3152:9: note: suggested alternative: ‘long’
     t = log(a);
         ^~~
         long
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3153:15: error: ‘sqrt’ was not declared in this scope
     t = 1.0 / sqrt(-t);
               ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3153:15: note: suggested alternative: ‘rsqrt’
     t = 1.0 / sqrt(-t);
               ^~~~
               rsqrt
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3183:9: error: ‘log’ was not declared in this scope
     t = log(a);
         ^~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3183:9: note: suggested alternative: ‘long’
     t = log(a);
         ^~~
         long
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3184:15: error: ‘sqrt’ was not declared in this scope
     t = 1.0 / sqrt(-t);
               ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3184:15: note: suggested alternative: ‘rsqrt’
     t = 1.0 / sqrt(-t);
               ^~~~
               rsqrt
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp: In function ‘double normcdf(double)’:
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3216:7: error: ‘fabs’ was not declared in this scope
   if (fabs (a) > 38.5) a = copysign (38.5, a);
       ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3216:28: error: ‘copysign’ was not declared in this scope
   if (fabs (a) > 38.5) a = copysign (38.5, a);
                            ^~~~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3226:7: error: ‘erfc’ was not declared in this scope
   z = erfc (ah);
       ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3226:7: note: suggested alternative: ‘erfcx’
   z = erfc (ah);
       ^~~~
       erfcx
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp: In function ‘double erfcx(double)’:
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3239:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3242:7: error: ‘fabs’ was not declared in this scope
   x = fabs(a);
       ^~~~
/export/data/lwangcg/cuda-11.1.74/include/crt/math_functions.hpp:3303:10: error: ‘exp’ was not declared in this scope
     t3 = exp(t2 * t2) * exp(t3);
          ^~~
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp: In function ‘std::vector<float> bounding_sphere(at::Tensor, std::string)’:
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:20:21: error: could not convert ‘radius’ from ‘float’ to ‘at::Tensor’
     bounding_sphere(radius, center, pts.points(), pts.info().pt_num());
                     ^~~~~~
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:23:5: error: ‘bounding_box’ was not declared in this scope
     bounding_box(bbmin, bbmax, pts.points(), pts.info().pt_num());
     ^~~~~~~~~~~~
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:23:5: note: suggested alternative: ‘bounding_sphere’
     bounding_box(bbmin, bbmax, pts.points(), pts.info().pt_num());
     ^~~~~~~~~~~~
     bounding_sphere
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp: In function ‘void {anonymous}::setup_transform(at::Tensor, at::Tensor&, Points&)’:
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:39:45: warning: ‘T* at::Tensor::data() const [with T = unsigned char]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
   uint8_t* out_ptr = data_out.data<uint8_t>();
                                             ^
In file included from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:5:
/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1515, in _run_ninja_build
    env=env)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/subprocess.py", line 487, 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 "setup.py", line 62, in <module>
    'build_ext': BuildExtension
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
    self.run_command('bdist_egg')
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 172, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 158, in call_command
    self.run_command(cmdname)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/install_lib.py", line 11, in run
    self.build()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/command/install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run
    _build_ext.run(self)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
    build_ext.build_extensions(self)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 194, in build_extensions
    self.build_extension(ext)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 205, in build_extension
    _build_ext.build_extension(self, ext)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
    depends=ext.depends)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/export/data/lwangcg/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
    raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

The strange point is that although the program shows that my CUDA version is 10.1, it seems that it utilizes some files in CUDA 11.1. At the same time, my environment setting does not contain a CUDA 11.1 directory.

@wang-ps
Copy link
Contributor

wang-ps commented Dec 7, 2020

Sorry, I am not familiar with the system Centos 7.9.2009, the code has not been tested on it. Sorry that I have no idea about the error.

@wang-ps wang-ps closed this as completed Dec 7, 2020
@NoOneUST
Copy link
Author

NoOneUST commented Dec 15, 2020

I still have not solved this problem. I think this is too weird. Because the version of pytorch and CUDA is exactly the same as what you provided. I think the difference between ubuntu and centos should have no influence on this problem. If this because of other dependencies like GCC, CMAKE or Ninja, etc.?

Here is my result after running pip freeze > requirements.txt

certifi==2020.12.5
mkl-fft==1.2.0
mkl-random==1.1.1
mkl-service==2.3.0
numpy @ file:///tmp/build/80754af9/numpy_and_numpy_base_1603479632437/work
olefile==0.46
Pillow @ file:///tmp/build/80754af9/pillow_1603822253009/work
PyYAML==5.3.1
six @ file:///tmp/build/80754af9/six_1605205313296/work
torch==1.6.0
torchvision==0.7.0
tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1607145891039/work
yacs==0.1.6
(pytorch-1.6.0) -bash-4.2$ nvcc -V
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
(pytorch-1.6.0) -bash-4.2$ python setup.py install --build_octree
mkdir /export/data/lwangcg/O-CNN/octree/build && cd /export/data/lwangcg/O-CNN/octree/build && cmake .. -DABI=ON -DKEY64=ON  && cmake --build . --config Release && ./octree_test
-- octree: USE_CUDA
-- The CUDA compiler identification is NVIDIA 10.1.105
-- The CXX compiler identification is GNU 8.3.0
-- The C compiler identification is GNU 8.3.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda-10.1/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/GNU/gcc-8.3.0/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/GNU/gcc-8.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- octree: -D_GLIBCXX_USE_CXX11_ABI=0
-- octree: USE_MINIBALL
-- octree: KEY64
CMake Deprecation Warning at external/octree-ext/googletest/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at external/octree-ext/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at external/octree-ext/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found PythonInterp: /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/bin/python (found version "3.7.9")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "octree_lib".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /export/data/lwangcg/O-CNN/octree/build
Scanning dependencies of target octree_lib
[  1%] Building CXX object CMakeFiles/octree_lib.dir/octree/contour.cpp.o
[  2%] Building CXX object CMakeFiles/octree_lib.dir/octree/filenames.cpp.o
[  3%] Building CXX object CMakeFiles/octree_lib.dir/octree/marching_cube.cpp.o
[  4%] Building CXX object CMakeFiles/octree_lib.dir/octree/marching_cube_table.cpp.o
[  6%] Building CXX object CMakeFiles/octree_lib.dir/octree/math_functions.cpp.o
[  7%] Building CXX object CMakeFiles/octree_lib.dir/octree/merge_octrees.cpp.o
[  8%] Building CXX object CMakeFiles/octree_lib.dir/octree/mesh.cpp.o
[  9%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree.cpp.o
[ 10%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_conv.cpp.o
[ 12%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_info.cpp.o
[ 13%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_nn.cpp.o
[ 14%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_parser.cpp.o
[ 15%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_samples.cpp.o
[ 16%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_value.cpp.o
[ 18%] Building CXX object CMakeFiles/octree_lib.dir/octree/points.cpp.o
[ 19%] Building CXX object CMakeFiles/octree_lib.dir/octree/points_info.cpp.o
[ 20%] Building CXX object CMakeFiles/octree_lib.dir/octree/points_parser.cpp.o
[ 21%] Building CXX object CMakeFiles/octree_lib.dir/octree/simplify_points.cpp.o
[ 22%] Building CXX object CMakeFiles/octree_lib.dir/octree/transform_octree.cpp.o
[ 24%] Building CXX object CMakeFiles/octree_lib.dir/octree/transform_points.cpp.o
[ 25%] Building CUDA object CMakeFiles/octree_lib.dir/octree/octree_nn.cu.o
[ 26%] Building CUDA object CMakeFiles/octree_lib.dir/octree/octree_parser.cu.o
[ 27%] Linking CXX static library liboctree_lib.a
[ 27%] Built target octree_lib
Scanning dependencies of target upgrade_points
[ 28%] Building CXX object CMakeFiles/upgrade_points.dir/tools/upgrade_points.cpp.o
[ 30%] Linking CXX executable upgrade_points
[ 30%] Built target upgrade_points
Scanning dependencies of target gtest
[ 31%] Building CXX object external/octree-ext/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 32%] Linking CXX static library ../../../../lib/libgtest.a
[ 32%] Built target gtest
Scanning dependencies of target gtest_main
[ 33%] Building CXX object external/octree-ext/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 34%] Linking CXX static library ../../../../lib/libgtest_main.a
[ 34%] Built target gtest_main
Scanning dependencies of target octree_test
[ 36%] Building CXX object CMakeFiles/octree_test.dir/test/test_octree.cpp.o
[ 37%] Building CXX object CMakeFiles/octree_test.dir/test/test_octree_nn.cpp.o
[ 38%] Building CXX object CMakeFiles/octree_test.dir/test/test_util.cpp.o
[ 39%] Linking CXX executable octree_test
[ 39%] Built target octree_test
Scanning dependencies of target upgrade_octree
[ 40%] Building CXX object CMakeFiles/upgrade_octree.dir/tools/upgrade_octree.cpp.o
[ 42%] Linking CXX executable upgrade_octree
[ 42%] Built target upgrade_octree
Scanning dependencies of target transform_points
[ 43%] Building CXX object CMakeFiles/transform_points.dir/tools/transform_points.cpp.o
[ 44%] Linking CXX executable transform_points
[ 44%] Built target transform_points
Scanning dependencies of target simplify_points
[ 45%] Building CXX object CMakeFiles/simplify_points.dir/tools/simplify_points.cpp.o
[ 46%] Linking CXX executable simplify_points
[ 46%] Built target simplify_points
Scanning dependencies of target points_noise
[ 48%] Building CXX object CMakeFiles/points_noise.dir/tools/points_noise.cpp.o
[ 49%] Linking CXX executable points_noise
[ 49%] Built target points_noise
Scanning dependencies of target check_octree
[ 50%] Building CXX object CMakeFiles/check_octree.dir/tools/check_octree.cpp.o
[ 51%] Linking CXX executable check_octree
[ 51%] Built target check_octree
Scanning dependencies of target chamfer_distance
[ 53%] Building CXX object CMakeFiles/chamfer_distance.dir/tools/chamfer_distance.cpp.o
[ 54%] Linking CXX executable chamfer_distance
[ 54%] Built target chamfer_distance
Scanning dependencies of target ply2points
[ 55%] Building CXX object CMakeFiles/ply2points.dir/tools/ply2points.cpp.o
[ 56%] Linking CXX executable ply2points
[ 56%] Built target ply2points
Scanning dependencies of target octree
[ 57%] Building CXX object CMakeFiles/octree.dir/tools/build_octree.cpp.o
[ 59%] Linking CXX executable octree
[ 59%] Built target octree
Scanning dependencies of target clip_points
[ 60%] Building CXX object CMakeFiles/clip_points.dir/tools/clip_points.cpp.o
[ 61%] Linking CXX executable clip_points
[ 61%] Built target clip_points
Scanning dependencies of target adaptive_octree
[ 62%] Building CXX object CMakeFiles/adaptive_octree.dir/tools/adaptive_octree.cpp.o
[ 63%] Linking CXX executable adaptive_octree
[ 63%] Built target adaptive_octree
Scanning dependencies of target rply
[ 65%] Building C object CMakeFiles/rply.dir/external/octree-ext/rply-1.1.4/rply.c.o
[ 66%] Linking C static library librply.a
[ 66%] Built target rply
Scanning dependencies of target octree2mesh
[ 67%] Building CXX object CMakeFiles/octree2mesh.dir/tools/octree2mesh.cpp.o
[ 68%] Linking CXX executable octree2mesh
[ 68%] Built target octree2mesh
Scanning dependencies of target merge_octree
[ 69%] Building CXX object CMakeFiles/merge_octree.dir/tools/merge_octree.cpp.o
[ 71%] Linking CXX executable merge_octree
[ 71%] Built target merge_octree
Scanning dependencies of target custom_data
[ 72%] Building CXX object CMakeFiles/custom_data.dir/tools/custom_data.cpp.o
[ 73%] Linking CXX executable custom_data
[ 73%] Built target custom_data
Scanning dependencies of target octree2pts_suncg
[ 74%] Building CXX object CMakeFiles/octree2pts_suncg.dir/tools/octree2pts_suncg.cpp.o
[ 75%] Linking CXX executable octree2pts_suncg
[ 75%] Built target octree2pts_suncg
Scanning dependencies of target octree_samples
[ 77%] Building CXX object CMakeFiles/octree_samples.dir/tools/octree_samples.cpp.o
[ 78%] Linking CXX executable octree_samples
[ 78%] Built target octree_samples
Scanning dependencies of target octree_zbuffer
[ 79%] Building CXX object CMakeFiles/octree_zbuffer.dir/tools/octree_zbuffer.cpp.o
[ 80%] Linking CXX executable octree_zbuffer
[ 80%] Built target octree_zbuffer
Scanning dependencies of target bbox
[ 81%] Building CXX object CMakeFiles/bbox.dir/tools/bbox.cpp.o
[ 83%] Linking CXX executable bbox
[ 83%] Built target bbox
Scanning dependencies of target mesh2points
[ 84%] Building CXX object CMakeFiles/mesh2points.dir/tools/mesh2points.cpp.o
[ 85%] Linking CXX executable mesh2points
[ 85%] Built target mesh2points
Scanning dependencies of target octree2points
[ 86%] Building CXX object CMakeFiles/octree2points.dir/tools/octree2points.cpp.o
[ 87%] Linking CXX executable octree2points
[ 87%] Built target octree2points
Scanning dependencies of target octree_bbox
[ 89%] Building CXX object CMakeFiles/octree_bbox.dir/tools/octree_bbox.cpp.o
[ 90%] Linking CXX executable octree_bbox
[ 90%] Built target octree_bbox
Scanning dependencies of target octree_prune
[ 91%] Building CXX object CMakeFiles/octree_prune.dir/tools/octree_prune.cpp.o
[ 92%] Linking CXX executable octree_prune
[ 92%] Built target octree_prune
Scanning dependencies of target octree_dropout
[ 93%] Building CXX object CMakeFiles/octree_dropout.dir/tools/octree_dropout.cpp.o
[ 95%] Linking CXX executable octree_dropout
[ 95%] Built target octree_dropout
Scanning dependencies of target points2ply
[ 96%] Building CXX object CMakeFiles/points2ply.dir/tools/points2ply.cpp.o
[ 97%] Linking CXX executable points2ply
[ 97%] Built target points2ply
Scanning dependencies of target play_ground
[ 98%] Building CXX object CMakeFiles/play_ground.dir/tools/play_ground.cpp.o
[100%] Linking CXX executable play_ground
[100%] Built target play_ground
Running main() from /export/data/lwangcg/O-CNN/octree/external/octree-ext/googletest/googletest/src/gtest_main.cc
[==========] Running 12 tests from 7 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from OctreeTest
[ RUN      ] OctreeTest.TestOctreeBuild
[       OK ] OctreeTest.TestOctreeBuild (1 ms)
[ RUN      ] OctreeTest.TestOctreeTrim
[       OK ] OctreeTest.TestOctreeTrim (0 ms)
[----------] 2 tests from OctreeTest (1 ms total)

[----------] 1 test from VecResizeTest
[ RUN      ] VecResizeTest.TestVecResize
[       OK ] VecResizeTest.TestVecResize (0 ms)
[----------] 1 test from VecResizeTest (0 ms total)

[----------] 1 test from BiliearNeigh
[ RUN      ] BiliearNeigh.TestBiliearNeigh
[       OK ] BiliearNeigh.TestBiliearNeigh (0 ms)
[----------] 1 test from BiliearNeigh (0 ms total)

[----------] 1 test from Coord2xyzTest
[ RUN      ] Coord2xyzTest.TestCoord2xyz
[       OK ] Coord2xyzTest.TestCoord2xyz (0 ms)
[----------] 1 test from Coord2xyzTest (0 ms total)

[----------] 3 tests from UtilTest
[ RUN      ] UtilTest.TestExtractPath
[       OK ] UtilTest.TestExtractPath (0 ms)
[ RUN      ] UtilTest.TestExtractFilename
[       OK ] UtilTest.TestExtractFilename (0 ms)
[ RUN      ] UtilTest.TestExtractSuffix
[       OK ] UtilTest.TestExtractSuffix (0 ms)
[----------] 3 tests from UtilTest (0 ms total)

[----------] 2 tests from MeshTest
[ RUN      ] MeshTest.TestFaceCenter
[       OK ] MeshTest.TestFaceCenter (0 ms)
[ RUN      ] MeshTest.TestFaceNormal
[       OK ] MeshTest.TestFaceNormal (0 ms)
[----------] 2 tests from MeshTest (0 ms total)

[----------] 2 tests from MathTest
[ RUN      ] MathTest.TestRotMatrix1
[       OK ] MathTest.TestRotMatrix1 (0 ms)
[ RUN      ] MathTest.TestRotMatrix2
[       OK ] MathTest.TestRotMatrix2 (0 ms)
[----------] 2 tests from MathTest (1 ms total)

[----------] Global test environment tear-down
[==========] 12 tests from 7 test suites ran. (3 ms total)
[  PASSED  ] 12 tests.
running install
running bdist_egg
running egg_info
writing ocnn.egg-info/PKG-INFO
writing dependency_links to ocnn.egg-info/dependency_links.txt
writing requirements to ocnn.egg-info/requires.txt
writing top-level names to ocnn.egg-info/top_level.txt
reading manifest file 'ocnn.egg-info/SOURCES.txt'
writing manifest file 'ocnn.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'ocnn.nn' extension
Emitting ninja build file /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/10] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o
c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/transform_points.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:1:
/usr/local/cuda-10.1/include/math_functions.h:54:2: warning: #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
 #warning "math_functions.h is an internal header file and must not be used directly.  This file will be removed in a future CUDA release.  Please use cuda_runtime_api.h or cuda_runtime.h instead."
  ^~~~~~~
In file included from /usr/local/cuda-10.1/include/crt/math_functions.h:9950,
                 from /usr/local/cuda-10.1/include/math_functions.h:60,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:1:
/usr/local/cuda-10.1/include/crt/func_macro.h:30:2: error: #error -- incorrect inclusion of a cudart header file
 #error -- incorrect inclusion of a cudart header file
  ^~~~~
In file included from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:5:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

In file included from /usr/local/cuda-10.1/include/crt/math_functions.h:10220,
                 from /usr/local/cuda-10.1/include/math_functions.h:60,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:1:
/usr/local/cuda-10.1/include/crt/math_functions.hpp: In function ‘double rsqrt(double)’:
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2883:16: error: ‘sqrt’ was not declared in this scope
   return 1.0 / sqrt(a);
                ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2883:16: note: suggested alternative: ‘rsqrt’
   return 1.0 / sqrt(a);
                ^~~~
                rsqrt
/usr/local/cuda-10.1/include/crt/math_functions.hpp: In function ‘double rcbrt(double)’:
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2890:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2893:19: error: ‘__isinf’ was not declared in this scope
   if (a == 0.0 || __isinf(a)) {
                   ^~~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2896:7: error: ‘fabs’ was not declared in this scope
   s = fabs(a);
       ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2897:28: error: ‘log2’ was not declared in this scope
   t = exp2(-CUDART_THIRD * log2(s));                /* initial approximation */
                            ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2897:28: note: suggested alternative: ‘long’
   t = exp2(-CUDART_THIRD * log2(s));                /* initial approximation */
                            ^~~~
                            long
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2897:7: error: ‘exp2’ was not declared in this scope
   t = exp2(-CUDART_THIRD * log2(s));                /* initial approximation */
       ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2902:7: error: ‘__signbit’ was not declared in this scope
   if (__signbit(a))
       ^~~~~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp: In function ‘double sinpi(double)’:
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2914:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2917:19: error: ‘__isinf’ was not declared in this scope
   if (a == 0.0 || __isinf(a)) {
                   ^~~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2918:12: error: ‘sin’ was not declared in this scope
     return sin (a);
            ^~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2918:12: note: suggested alternative: ‘min’
     return sin (a);
            ^~~
            min
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2920:12: error: ‘floor’ was not declared in this scope
   if (a == floor(a)) {
            ^~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2920:12: note: suggested alternative: ‘float’
   if (a == floor(a)) {
            ^~~~~
            float
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2923:7: error: ‘remquo’ was not declared in this scope
   a = remquo (a, 0.5, &n);
       ^~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2926:9: error: ‘cos’ was not declared in this scope
     a = cos (a);
         ^~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2926:9: note: suggested alternative: ‘cospi’
     a = cos (a);
         ^~~
         cospi
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2928:9: error: ‘sin’ was not declared in this scope
     a = sin (a);
         ^~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2928:9: note: suggested alternative: ‘min’
     a = sin (a);
         ^~~
         min
/usr/local/cuda-10.1/include/crt/math_functions.hpp: In function ‘double cospi(double)’:
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2940:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2943:7: error: ‘__isinf’ was not declared in this scope
   if (__isinf(a)) {
       ^~~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2944:12: error: ‘cos’ was not declared in this scope
     return cos (a);
            ^~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2944:12: note: suggested alternative: ‘cospi’
     return cos (a);
            ^~~
            cospi
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2946:7: error: ‘fabs’ was not declared in this scope
   if (fabs(a) > 9.0071992547409920e+015) {
       ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2949:7: error: ‘remquo’ was not declared in this scope
   a = remquo (a, 0.5, &n);
       ^~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2953:9: error: ‘cos’ was not declared in this scope
     a = cos (a);
         ^~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2953:9: note: suggested alternative: ‘cospi’
     a = cos (a);
         ^~~
         cospi
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2955:9: error: ‘sin’ was not declared in this scope
     a = sin (a);
         ^~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2955:9: note: suggested alternative: ‘min’
     a = sin (a);
         ^~~
         min
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2961:9: error: ‘fabs’ was not declared in this scope
     a = fabs(a);
         ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp: In function ‘double erfinv(double)’:
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2977:8: error: ‘fabs’ was not declared in this scope
   fa = fabs(a);
        ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2977:8: note: suggested alternative: ‘fa’
   fa = fabs(a);
        ^~~~
        fa
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2980:5: error: ‘memcpy’ was not declared in this scope
     memcpy(&t, &l, sizeof(double)); /* INDEFINITE */
     ^~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2980:5: note: ‘memcpy’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
/usr/local/cuda-10.1/include/crt/math_functions.hpp:1171:1:
+#include <cstring>

/usr/local/cuda-10.1/include/crt/math_functions.hpp:2980:5:
     memcpy(&t, &l, sizeof(double)); /* INDEFINITE */
     ^~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2982:15: error: ‘exp’ was not declared in this scope
       t = a * exp(1000.0);          /* Infinity */
               ^~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2989:9: error: ‘log1p’ was not declared in this scope
     t = log1p(-fa);
         ^~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2990:15: error: ‘sqrt’ was not declared in this scope
     t = 1.0 / sqrt(-t);
               ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:2990:15: note: suggested alternative: ‘rsqrt’
     t = 1.0 / sqrt(-t);
               ^~~~
               rsqrt
/usr/local/cuda-10.1/include/crt/math_functions.hpp: In function ‘double erfcinv(double)’:
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3070:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3075:5: error: ‘memcpy’ was not declared in this scope
     memcpy(&t, &l, sizeof(double));   /* INDEFINITE */
     ^~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3075:5: note: ‘memcpy’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3077:25: error: ‘exp’ was not declared in this scope
         t = (1.0 - a) * exp(1000.0);  /* Infinity */
                         ^~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3089:9: error: ‘log’ was not declared in this scope
     t = log(a);
         ^~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3089:9: note: suggested alternative: ‘long’
     t = log(a);
         ^~~
         long
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3090:15: error: ‘sqrt’ was not declared in this scope
     t = 1.0 / sqrt(-t);
               ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3090:15: note: suggested alternative: ‘rsqrt’
     t = 1.0 / sqrt(-t);
               ^~~~
               rsqrt
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3120:9: error: ‘log’ was not declared in this scope
     t = log(a);
         ^~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3120:9: note: suggested alternative: ‘long’
     t = log(a);
         ^~~
         long
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3121:15: error: ‘sqrt’ was not declared in this scope
     t = 1.0 / sqrt(-t);
               ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3121:15: note: suggested alternative: ‘rsqrt’
     t = 1.0 / sqrt(-t);
               ^~~~
               rsqrt
/usr/local/cuda-10.1/include/crt/math_functions.hpp: In function ‘double normcdf(double)’:
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3153:7: error: ‘fabs’ was not declared in this scope
   if (fabs (a) > 38.5) a = copysign (38.5, a);
       ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3153:28: error: ‘copysign’ was not declared in this scope
   if (fabs (a) > 38.5) a = copysign (38.5, a);
                            ^~~~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3163:7: error: ‘erfc’ was not declared in this scope
   z = erfc (ah);
       ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3163:7: note: suggested alternative: ‘erfcx’
   z = erfc (ah);
       ^~~~
       erfcx
/usr/local/cuda-10.1/include/crt/math_functions.hpp: In function ‘double erfcx(double)’:
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3176:7: error: ‘__isnan’ was not declared in this scope
   if (__isnan(a)) {
       ^~~~~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3179:7: error: ‘fabs’ was not declared in this scope
   x = fabs(a);
       ^~~~
/usr/local/cuda-10.1/include/crt/math_functions.hpp:3240:10: error: ‘exp’ was not declared in this scope
     t3 = exp(t2 * t2) * exp(t3);
          ^~~
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp: In function ‘std::vector<float> bounding_sphere(at::Tensor, std::string)’:
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:20:21: error: could not convert ‘radius’ from ‘float’ to ‘at::Tensor’
     bounding_sphere(radius, center, pts.points(), pts.info().pt_num());
                     ^~~~~~
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:23:5: error: ‘bounding_box’ was not declared in this scope
     bounding_box(bbmin, bbmax, pts.points(), pts.info().pt_num());
     ^~~~~~~~~~~~
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:23:5: note: suggested alternative: ‘bounding_sphere’
     bounding_box(bbmin, bbmax, pts.points(), pts.info().pt_num());
     ^~~~~~~~~~~~
     bounding_sphere
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp: In function ‘void {anonymous}::setup_transform(at::Tensor, at::Tensor&, Points&)’:
/export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:39:45: warning: ‘T* at::Tensor::data() const [with T = unsigned char]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
   uint8_t* out_ptr = data_out.data<uint8_t>();
                                             ^
In file included from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/transform_points.cpp:5:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
[2/10] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_conv.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/octree_conv.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_conv.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/octree_conv.cpp:5:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

[3/10] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_pool.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/octree_pool.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_pool.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/octree_pool.cpp:4:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

[4/10] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_pad.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/octree_pad.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_pad.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/octree_pad.cpp:4:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

[5/10] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/point2octree.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/point2octree.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/point2octree.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/point2octree.cpp:3:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

[6/10] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_property.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/octree_property.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_property.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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++
/export/data/lwangcg/O-CNN/pytorch/cpp/octree_property.cpp:1: warning: "KEY64" redefined
 #define KEY64

<command-line>: note: this is the location of the previous definition
In file included from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/octree_property.cpp:5:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

[7/10] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_batch.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/octree_batch.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_batch.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/octree_batch.cpp:3:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

[8/10] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree2col.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/octree2col.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree2col.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/octree2col.cpp:4:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

[9/10] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_samples.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/octree_samples.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/octree_samples.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/octree_samples.cpp:3:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

[10/10] c++ -MMD -MF /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/pybind.o.d -pthread -B /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include -fPIC -I/export/data/lwangcg/O-CNN/octree/octree -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/TH -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/include/python3.7m -c -c /export/data/lwangcg/O-CNN/pytorch/cpp/pybind.cpp -o /export/data/lwangcg/O-CNN/pytorch/build/temp.linux-x86_64-3.7/cpp/pybind.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nn -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 /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/ocnn.h:5,
                 from /export/data/lwangcg/O-CNN/pytorch/cpp/pybind.cpp:1:
/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1515, in _run_ninja_build
    env=env)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/subprocess.py", line 512, 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 "setup.py", line 62, in <module>
    'build_ext': BuildExtension
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/setuptools/command/install.py", line 109, in do_egg_install
    self.run_command('bdist_egg')
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 167, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/setuptools/command/bdist_egg.py", line 153, in call_command
    self.run_command(cmdname)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/setuptools/command/install_lib.py", line 11, in run
    self.build()
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/command/install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
    build_ext.build_extensions(self)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
    _build_ext.build_extension(self, ext)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
    depends=ext.depends)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/export/data/lwangcg/anaconda3/envs/pytorch-1.6.0/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
    raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

@wang-ps
Copy link
Contributor

wang-ps commented Dec 16, 2020

I just read the build log you provided and find that the -I/usr/local/cuda-10.1/include is added 5 times in the command. I think you should check your environment variables, and figure out the reason. For your reference, I just run the setup.py on my own machine, and the -I/usr/local/cuda-10.1/include is only added once.

Since there is a header file math_functions.h in both my octree library and the cuda library. If -I/usr/local/cuda-10.1/include is added before -I/export/data/lwangcg/O-CNN/octree/octree, the compiler will use the math_functions.h provided by cuda, which causes the error.

So another solution is to rename the math_functions.h in our octree library to another name and modify the c++ files which use math_functions.h accordingly.

## The following is your compiling command
[1/10] c++ -MMD -MF 
...
-I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include 
-I/usr/local/cuda-10.1/include -I/usr/local/cuda-10.1/include  
-fPIC -I/export/data/lwangcg/O-CNN/octree/octree  
...
-I/usr/local/cuda-10.1/include 
...
## The following is my compiling command
[1/10] c++ -MMD -MF 
...
-fPIC -I/mnt/hd3/penwan/Projects/O-CNN/octree/octree 
...
-I/usr/local/cuda-11.1/include 
...

@NoOneUST
Copy link
Author

Thank you! I renamed math_functions.h and modify the cpp files. Now it can work.

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

2 participants