pytorch installation error on Ubuntu 20.04, gcc 9.3.0
KovenYu opened this issue · comments
Hi Peng Shuai,
Thanks for the great work! I'm trying to install a pytorch version on a Ubuntu 20.04 machine with gcc 9.3.0. My pytorch version is 1.9.0 with cudatoolkit 11.1. Here is the log when I run
python setup.py install --build_octree
git clone --recursive https://github.com/wang-ps/octree-ext.git /viscam/u/koven/O-CNN/octree/external/octree-ext
Cloning into '/viscam/u/koven/O-CNN/octree/external/octree-ext'...
remote: Enumerating objects: 25, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 25 (delta 7), reused 23 (delta 5), pack-reused 0
Unpacking objects: 100% (25/25), 321.91 KiB | 1.03 MiB/s, done.
Submodule 'glog' (https://github.com/google/glog.git) registered for path 'glog'
Submodule 'googletest' (https://github.com/google/googletest.git) registered for path 'googletest'
Submodule 'happly' (https://github.com/wang-ps/happly.git) registered for path 'happly'
Submodule 'nanoflann' (https://github.com/jlblancoc/nanoflann.git) registered for path 'nanoflann'
Submodule 'pybind11' (https://github.com/pybind/pybind11.git) registered for path 'pybind11'
Cloning into '/viscam/u/koven/O-CNN/octree/external/octree-ext/glog'...
remote: Enumerating objects: 3292, done.
remote: Counting objects: 100% (545/545), done.
remote: Compressing objects: 100% (265/265), done.
remote: Total 3292 (delta 330), reused 417 (delta 266), pack-reused 2747
Receiving objects: 100% (3292/3292), 2.15 MiB | 8.13 MiB/s, done.
Resolving deltas: 100% (2248/2248), done.
Cloning into '/viscam/u/koven/O-CNN/octree/external/octree-ext/googletest'...
remote: Enumerating objects: 23303, done.
remote: Counting objects: 100% (202/202), done.
remote: Compressing objects: 100% (121/121), done.
remote: Total 23303 (delta 99), reused 125 (delta 71), pack-reused 23101
Receiving objects: 100% (23303/23303), 9.51 MiB | 11.38 MiB/s, done.
Resolving deltas: 100% (17168/17168), done.
Cloning into '/viscam/u/koven/O-CNN/octree/external/octree-ext/happly'...
remote: Enumerating objects: 394, done.
remote: Counting objects: 100% (394/394), done.
remote: Compressing objects: 100% (150/150), done.
remote: Total 394 (delta 243), reused 394 (delta 243), pack-reused 0
Receiving objects: 100% (394/394), 682.36 KiB | 2.72 MiB/s, done.
Resolving deltas: 100% (243/243), done.
Cloning into '/viscam/u/koven/O-CNN/octree/external/octree-ext/nanoflann'...
remote: Enumerating objects: 2416, done.
remote: Counting objects: 100% (159/159), done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 2416 (delta 82), reused 94 (delta 44), pack-reused 2257
Receiving objects: 100% (2416/2416), 2.36 MiB | 6.35 MiB/s, done.
Resolving deltas: 100% (1296/1296), done.
Cloning into '/viscam/u/koven/O-CNN/octree/external/octree-ext/pybind11'...
remote: Enumerating objects: 17754, done.
remote: Counting objects: 100% (1018/1018), done.
remote: Compressing objects: 100% (500/500), done.
remote: Total 17754 (delta 600), reused 799 (delta 447), pack-reused 16736
Receiving objects: 100% (17754/17754), 7.27 MiB | 18.15 MiB/s, done.
Resolving deltas: 100% (12062/12062), done.
Submodule path 'glog': checked out '4cc89c9e2b452db579397887c37f302fb28f6ca1'
Submodule path 'googletest': checked out 'f966ed158177f2ed6ff2c402effb16f7f00ca40b'
Submodule path 'happly': checked out '49fddbab428a01990d8e47ff9d7b69327206cae7'
Submodule path 'nanoflann': checked out '5430b590b023b5c85ce16adc74cf535deba3e327'
Submodule path 'pybind11': checked out '6c29cbf88de0df177ec730fc4c85e52bdf8d82c0'
Submodule 'tools/clang' (https://github.com/wjakob/clang-cindex-python3) registered for path 'pybind11/tools/clang'
Cloning into '/viscam/u/koven/O-CNN/octree/external/octree-ext/pybind11/tools/clang'...
remote: Enumerating objects: 368, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 368 (delta 3), reused 6 (delta 1), pack-reused 355
Receiving objects: 100% (368/368), 159.34 KiB | 911.00 KiB/s, done.
Resolving deltas: 100% (154/154), done.
Submodule path 'pybind11/tools/clang': checked out '6a00cbc4a9b8e68b71caf7f774b3f9c753ae84d5'
mkdir /viscam/u/koven/O-CNN/octree/build && cd /viscam/u/koven/O-CNN/octree/build && cmake .. -DABI=ON -DKEY64=ON && cmake --build . --config Release && ./octree_test
-- octree: USE_CUDA
-- The CUDA compiler identification is unknown
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
CMake Error at CMakeLists.txt:19 (project):
No CMAKE_CUDA_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full
path to the compiler, or to the compiler name if it is in the PATH.
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring incomplete, errors occurred!
See also "/viscam/u/koven/O-CNN/octree/build/CMakeFiles/CMakeOutput.log".
See also "/viscam/u/koven/O-CNN/octree/build/CMakeFiles/CMakeError.log".
running install
running bdist_egg
running egg_info
creating ocnn.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
writing manifest file 'ocnn.egg-info/SOURCES.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
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/ocnn
copying ocnn/octree2col.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/resnet.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/ounet.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/modules.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/lenet.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/octree_pad.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/segnet.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/octree2voxel.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/octree_conv.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/mlp.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/octree_pool.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/unet.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/init.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/transforms.py -> build/lib.linux-x86_64-3.8/ocnn
copying ocnn/octree_align.py -> build/lib.linux-x86_64-3.8/ocnn
running build_ext
building 'ocnn.nn' extension
creating /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8
creating /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp
Emitting ninja build file /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_samples.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/octree_samples.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_samples.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/octree_samples.cpp:3:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[2/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/transform_octree.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/transform_octree.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/transform_octree.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/transform_octree.cpp:3:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[3/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree2col.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/octree2col.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree2col.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/octree2col.cpp:4:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
/viscam/u/koven/O-CNN/pytorch/cpp/octree2col.cpp:8:8: warning: ‘at::Tensor {anonymous}::get_ichild(const OctreeParser&, int, const c10::TensorOptions&)’ defined but not used [-Wunused-function]
8 | Tensor get_ichild(const OctreeParser& octree, const int depth,
| ^~~~~~~~~~
[4/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_batch.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/octree_batch.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_batch.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/octree_batch.cpp:3:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[5/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/points_property.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/points_property.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/points_property.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/points_property.cpp:5:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[6/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_grow.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/octree_grow.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_grow.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/octree_grow.cpp:4:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[7/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/point2octree.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/point2octree.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/point2octree.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/point2octree.cpp:3:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[8/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_pool.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/octree_pool.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_pool.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/octree_pool.cpp:4:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[9/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/transform_points.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/transform_points.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/transform_points.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/transform_points.cpp:5:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[10/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_pad.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/octree_pad.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_pad.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/octree_pad.cpp:4:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[11/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_align.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/octree_align.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_align.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/octree_align.cpp:7:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[12/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_property.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/octree_property.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_property.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/octree_property.cpp:7:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[13/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_key.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/octree_key.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_key.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/octree_key.cpp:7:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[14/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_conv.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/octree_conv.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/octree_conv.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/octree_conv.cpp:5:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
[15/15] c++ -MMD -MF /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/pybind.o.d -pthread -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/viscam/u/koven/O-CNN/octree -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/TH -I/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/viscam/u/koven/anaconda3/envs/ocnn-3090/include/python3.8 -c -c /viscam/u/koven/O-CNN/pytorch/cpp/pybind.cpp -o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/cpp/pybind.o -DKEY64 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -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 /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:140,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
from /viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /viscam/u/koven/O-CNN/pytorch/cpp/ocnn.h:5,
from /viscam/u/koven/O-CNN/pytorch/cpp/pybind.cpp:1:
/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
87 | #pragma omp parallel for if ((end - begin) >= grain_size)
|
g++ -pthread -shared -B /viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat -L/viscam/u/koven/anaconda3/envs/ocnn-3090/lib -Wl,-rpath=/viscam/u/koven/anaconda3/envs/ocnn-3090/lib -Wl,--no-as-needed -Wl,--sysroot=/ /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/transform_octree.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/octree_pool.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/octree_property.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/point2octree.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/octree2col.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/pybind.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/octree_conv.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/octree_batch.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/octree_grow.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/octree_samples.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/transform_points.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/octree_align.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/octree_pad.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/points_property.o /viscam/u/koven/O-CNN/pytorch/build/temp.linux-x86_64-3.8/./cpp/octree_key.o -L/viscam/u/koven/O-CNN/octree/build -L/viscam/u/koven/anaconda3/envs/ocnn-3090/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda/lib64 -loctree_lib -lcublas -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-3.8/ocnn/nn.cpython-38-x86_64-linux-gnu.so
/viscam/u/koven/anaconda3/envs/ocnn-3090/compiler_compat/ld: cannot find -loctree_lib
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Any idea how to address this?
Thanks!!
According to the error message No CMAKE_CUDA_COMPILER could be found.
, the CUDA complier nvcc
can not be found. Please check whether the CUDA environment is well configured.
thanks for your help!