Installation Error with tensorflow: undefined symbol: cudaConfigureCall
Drestoy opened this issue · comments
Hi, I followed the instalation instructions provided in https://github.com/microsoft/O-CNN/blob/master/docs/installation.md but after executing python build.py, I find an error: undefined symbol: cudaConfigureCall.
I have a clean installation of Ubuntu 18.04, with Cuda10.1, python 3.7 and miniconda3. I started with the steps of the Octree installation:
cd octree/external && git clone --recursive https://github.com/wang-ps/octree-ext.git
cd .. && mkdir build && cd build
cmake .. && cmake --build . --config Release
Then include the folder to the PATH. I fixed a problem with the math_functions.h file following your suggestion in #113 and then follow the installation steps for tensorflow:
conda create -n tf-1.14.0 tensorflow-gpu==1.14.0
conda install -c conda-forge yacs tqdm
conda activate tf-1.14.0
cd tensorflow/libs
python build.py
The process terminates with the error:
Traceback (most recent call last):
File "test_all.py", line 5, in <module>
from test_octree2col import Octree2ColTest
File "/home/dani/3IN/OCNN/O-CNN/tensorflow/test/test_octree2col.py", line 8, in <module>
from libs import *
File "../libs/__init__.py", line 20, in <module>
_tf_ocnn_module = tf.load_op_library(os.path.join(_current_path, 'libocnn.so'))
File "/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/load_library.py", line 61, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /home/dani/3IN/OCNN/O-CNN/tensorflow/libs/libocnn.so: undefined symbol: cudaConfigureCall
And here is the complete log:
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
echo using g++ && cmake .. -DABI=OFF -DKEY64=OFF && make -j all
using g++
-- octree: USE_CUDA
-- The CUDA compiler identification is NVIDIA 9.1.85
-- The CXX compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/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/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/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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.
-- Found PythonInterp: /home/dani/miniconda3/envs/tf-1.14.0/bin/python (found version "3.7.10")
-- 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: /home/dani/3IN/OCNN/O-CNN/octree/build
[ 2%] Building CXX object external/octree-ext/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 2%] Building C object CMakeFiles/rply.dir/external/octree-ext/rply-1.1.4/rply.c.o
[ 3%] Building CXX object CMakeFiles/octree_lib.dir/octree/contour.cpp.o
[ 4%] Building CXX object CMakeFiles/octree_lib.dir/octree/filenames.cpp.o
[ 7%] Building CXX object CMakeFiles/octree_lib.dir/octree/marching_cube_table.cpp.o
[ 7%] Building CXX object CMakeFiles/octree_lib.dir/octree/marching_cube.cpp.o
[ 8%] Building CXX object CMakeFiles/octree_lib.dir/octree/mesh.cpp.o
[ 10%] Building CXX object CMakeFiles/octree_lib.dir/octree/merge_octrees.cpp.o
[ 10%] Building CXX object CMakeFiles/octree_lib.dir/octree/math_functions.cpp.o
[ 12%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_samples.cpp.o
[ 13%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_info.cpp.o
[ 14%] Building CXX object CMakeFiles/octree_lib.dir/octree/points_parser.cpp.o
[ 15%] Building CXX object CMakeFiles/octree_lib.dir/octree/points_info.cpp.o
[ 18%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree.cpp.o
[ 18%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_parser.cpp.o
[ 21%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_conv.cpp.o
[ 21%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_value.cpp.o
[ 21%] Building CXX object CMakeFiles/octree_lib.dir/octree/transform_octree.cpp.o
[ 22%] Building CUDA object CMakeFiles/octree_lib.dir/octree/octree_nn.cu.o
[ 24%] Building CXX object CMakeFiles/octree_lib.dir/octree/transform_points.cpp.o
[ 25%] Building CUDA object CMakeFiles/octree_lib.dir/octree/octree_parser.cu.o
[ 26%] Building CXX object CMakeFiles/octree_lib.dir/octree/simplify_points.cpp.o
[ 27%] Building CXX object CMakeFiles/octree_lib.dir/octree/points.cpp.o
[ 28%] Building CXX object CMakeFiles/octree_lib.dir/octree/octree_nn.cpp.o
[ 30%] Linking C static library librply.a
[ 30%] Built target rply
[ 31%] Linking CXX static library ../../../../lib/libgtest.a
[ 31%] Built target gtest
[ 32%] Building CXX object external/octree-ext/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 33%] Linking CXX static library ../../../../lib/libgtest_main.a
[ 33%] Built target gtest_main
[ 34%] Linking CXX static library liboctree_lib.a
[ 34%] Built target octree_lib
[ 36%] Building CXX object CMakeFiles/points2ply.dir/tools/points2ply.cpp.o
[ 37%] Building CXX object CMakeFiles/upgrade_octree.dir/tools/upgrade_octree.cpp.o
[ 38%] Building CXX object CMakeFiles/octree_test.dir/test/test_util.cpp.o
[ 39%] Building CXX object CMakeFiles/chamfer_distance.dir/tools/chamfer_distance.cpp.o
[ 40%] Building CXX object CMakeFiles/octree_test.dir/test/test_octree.cpp.o
[ 42%] Building CXX object CMakeFiles/octree2pts_suncg.dir/tools/octree2pts_suncg.cpp.o
[ 43%] Building CXX object CMakeFiles/simplify_points.dir/tools/simplify_points.cpp.o
[ 44%] Building CXX object CMakeFiles/points_noise.dir/tools/points_noise.cpp.o
[ 45%] Building CXX object CMakeFiles/ply2points.dir/tools/ply2points.cpp.o
[ 46%] Building CXX object CMakeFiles/octree_zbuffer.dir/tools/octree_zbuffer.cpp.o
[ 48%] Building CXX object CMakeFiles/octree.dir/tools/build_octree.cpp.o
[ 49%] Building CXX object CMakeFiles/octree2mesh.dir/tools/octree2mesh.cpp.o
[ 50%] Building CXX object CMakeFiles/octree_test.dir/test/test_octree_nn.cpp.o
[ 51%] Building CXX object CMakeFiles/play_ground.dir/tools/play_ground.cpp.o
[ 53%] Building CXX object CMakeFiles/transform_points.dir/tools/transform_points.cpp.o
[ 54%] Building CXX object CMakeFiles/upgrade_points.dir/tools/upgrade_points.cpp.o
[ 55%] Building CXX object CMakeFiles/octree_samples.dir/tools/octree_samples.cpp.o
[ 57%] Building CXX object CMakeFiles/custom_data.dir/tools/custom_data.cpp.o
[ 57%] Building CXX object CMakeFiles/check_octree.dir/tools/check_octree.cpp.o
[ 59%] Building CXX object CMakeFiles/bbox.dir/tools/bbox.cpp.o
[ 60%] Building CXX object CMakeFiles/octree_dropout.dir/tools/octree_dropout.cpp.o
[ 61%] Building CXX object CMakeFiles/octree_bbox.dir/tools/octree_bbox.cpp.o
[ 62%] Building CXX object CMakeFiles/adaptive_octree.dir/tools/adaptive_octree.cpp.o
[ 63%] Building CXX object CMakeFiles/octree_prune.dir/tools/octree_prune.cpp.o
[ 65%] Building CXX object CMakeFiles/mesh2points.dir/tools/mesh2points.cpp.o
[ 66%] Building CXX object CMakeFiles/clip_points.dir/tools/clip_points.cpp.o
[ 67%] Building CXX object CMakeFiles/octree2points.dir/tools/octree2points.cpp.o
[ 68%] Building CXX object CMakeFiles/merge_octree.dir/tools/merge_octree.cpp.o
[ 69%] Linking CXX executable bbox
[ 71%] Linking CXX executable octree_samples
[ 72%] Linking CXX executable custom_data
[ 73%] Linking CXX executable points2ply
[ 74%] Linking CXX executable check_octree
[ 75%] Linking CXX executable octree_bbox
[ 77%] Linking CXX executable points_noise
[ 79%] Linking CXX executable merge_octree
[ 79%] Linking CXX executable upgrade_points
[ 80%] Linking CXX executable octree2pts_suncg
[ 81%] Linking CXX executable clip_points
[ 83%] Linking CXX executable adaptive_octree
[ 83%] Built target points2ply
[ 84%] Linking CXX executable play_ground
[ 85%] Linking CXX executable simplify_points
[ 85%] Built target bbox
[ 85%] Built target octree_samples
[ 86%] Linking CXX executable octree2points
[ 86%] Built target custom_data
[ 87%] Linking CXX executable transform_points
[ 89%] Linking CXX executable mesh2points
[ 90%] Linking CXX executable upgrade_octree
[ 90%] Built target points_noise
[ 91%] Linking CXX executable octree_prune
[ 92%] Linking CXX executable octree
[ 93%] Linking CXX executable octree_dropout
[ 93%] Built target clip_points
[ 93%] Built target merge_octree
[ 93%] Built target check_octree
[ 95%] Linking CXX executable chamfer_distance
[ 95%] Built target play_ground
[ 95%] Built target octree2pts_suncg
[ 95%] Built target octree_bbox
[ 95%] Built target upgrade_points
[ 95%] Built target adaptive_octree
[ 96%] Linking CXX executable octree_zbuffer
[ 97%] Linking CXX executable octree2mesh
[ 97%] Built target simplify_points
[ 97%] Built target upgrade_octree
[ 97%] Built target transform_points
[ 97%] Built target octree2points
[ 97%] Built target mesh2points
[ 97%] Built target octree_dropout
[ 97%] Built target octree_prune
[ 97%] Built target octree
[ 97%] Built target chamfer_distance
[ 98%] Linking CXX executable octree_test
[ 98%] Built target octree_zbuffer
[ 98%] Built target octree2mesh
[ 98%] Built target octree_test
[100%] Linking CXX executable ply2points
[100%] Built target ply2points
Running main() from /home/dani/3IN/OCNN/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 (0 ms)
[----------] 2 tests from OctreeTest (0 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 (0 ms total)
[----------] Global test environment tear-down
[==========] 12 tests from 7 test suites ran. (0 ms total)
[ PASSED ] 12 tests.
g++ -std=c++11 -O2 -c octree2col_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree2col_op.cc.o
g++ -std=c++11 -O2 -c octree_align_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_align_op.cc.o
g++ -std=c++11 -O2 -c octree_batch_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_batch_op.cc.o
g++ -std=c++11 -O2 -c octree_bilinear_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_bilinear_op.cc.o
g++ -std=c++11 -O2 -c octree_conv_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_conv_op.cc.o
g++ -std=c++11 -O2 -c octree_gather_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_gather_op.cc.o
g++ -std=c++11 -O2 -c octree_grow_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_grow_op.cc.o
g++ -std=c++11 -O2 -c octree_key_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_key_op.cc.o
g++ -std=c++11 -O2 -c octree_mask_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_mask_op.cc.o
g++ -std=c++11 -O2 -c octree_max_pool_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_max_pool_op.cc.o
g++ -std=c++11 -O2 -c octree_new_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_new_op.cc.o
g++ -std=c++11 -O2 -c octree_pad_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_pad_op.cc.o
g++ -std=c++11 -O2 -c octree_property_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_property_op.cc.o
g++ -std=c++11 -O2 -c octree_samples.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_samples.cc.o
g++ -std=c++11 -O2 -c octree_search_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_search_op.cc.o
g++ -std=c++11 -O2 -c octree_set_property_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_set_property_op.cc.o
g++ -std=c++11 -O2 -c octree_update_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/octree_update_op.cc.o
g++ -std=c++11 -O2 -c points2octree_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/points2octree_op.cc.o
g++ -std=c++11 -O2 -c points_property_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/points_property_op.cc.o
g++ -std=c++11 -O2 -c points_set_property_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/points_set_property_op.cc.o
g++ -std=c++11 -O2 -c transform_octree_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/transform_octree_op.cc.o
g++ -std=c++11 -O2 -c transform_points_op.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart -o object/transform_points_op.cc.o
/usr/local/cuda-10.1/bin/nvcc -std=c++11 -O2 -c tensorflow_gpu_gemm.cu.cc -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -x cu -Xcompiler -fPIC -D GOOGLE_CUDA=1 -I /usr/local -expt-relaxed-constexpr -DNDEBUG -o object/tensorflow_gpu_gemm.cu.cc.o
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include/absl/strings/string_view.h(495): warning: expression has no effect
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include/absl/strings/string_view.h(495): warning: expression has no effect
g++ -std=c++11 -O2 -shared -o libocnn.so object/*.o -I/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1 -I../../octree/octree -I /usr/local/cuda-10.1/include -L /usr/local/cuda-10.1/lib64 -D GOOGLE_CUDA=1 -L/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow -l:libtensorflow_framework.so.1 -L../../octree/build -loctree_lib -fPIC -lcudart
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
INFO from ocnn: The octree key is 32 bits, the octree depth should be smaller than 8.
Traceback (most recent call last):
File "test_all.py", line 5, in <module>
from test_octree2col import Octree2ColTest
File "/home/dani/3IN/OCNN/O-CNN/tensorflow/test/test_octree2col.py", line 8, in <module>
from libs import *
File "../libs/__init__.py", line 20, in <module>
_tf_ocnn_module = tf.load_op_library(os.path.join(_current_path, 'libocnn.so'))
File "/home/dani/miniconda3/envs/tf-1.14.0/lib/python3.7/site-packages/tensorflow/python/framework/load_library.py", line 61, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /home/dani/3IN/OCNN/O-CNN/tensorflow/libs/libocnn.so: undefined symbol: cudaConfigureCall
Any help would be greatly appreciated.
According to the error undefined symbol: cudaConfigureCall
, it seems that the CUDA environment is not properly configured. Please check your environment variables related to CUDA 10.1.