Open feldim2425 opened 6 years ago
We don't test this configuration yet, but should be fixed.
@slayton58 Have you seen this before?
I just downloaded CUDA 9.1.85 and built, with the only issues being some symbols in NCCL (I'm building against a locally-built version with CUDA 9) -- I don't see the errors above.
@feldim2425 Was this a clean compile from a new / nuked build directory?
It was a new build directory
Do you have an earlier compiler available to test with? I just noticed you're on 6.4, I'm on 5.4
Yes but there is this issue (#1633) , that gcc-5 also fails. Also without cuda
@feldim2425 Let me try and build a 17.10 container to see if I can repro the issue.
After building again I noticed that I didn't paste the full error message. I hope this gist contains more information: https://gist.github.com/feldim2425/7d54761518f887d2b0faa4331c899905
Found a post on the NVIDIA Forum: https://devtalk.nvidia.com/default/topic/1028112/cuda-setup-and-installation/nvcc-bug-related-to-gcc-6-lt-tuple-gt-header-/ Seems to be a issue with nvcc.
It seems that CUDA 9.1 is yet supported. I encountered this error when building from source on Ubuntu 16.04, CUDA 9.1, cuDNN 7.0.1
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find CUDA: Found unsuitable version "9.1", but required is exact
version "8.0" (found /usr/local/cuda)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:386 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindCUDA.cmake:949 (find_package_handle_standard_args)
/usr/local/share/OpenCV/OpenCVConfig.cmake:48 (find_package)
/usr/local/share/OpenCV/OpenCVConfig.cmake:291 (find_host_package)
cmake/Dependencies.cmake:213 (find_package)
CMakeLists.txt:88 (include)
-- Configuring incomplete, errors occurred!
See also "/home/cuongdd/caffe2/build/CMakeFiles/CMakeOutput.log".
See also "/home/cuongdd/caffe2/build/CMakeFiles/CMakeError.log".
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 1
Thank you, my error, OpenCV 2.4, installed 3.4 and that error is eliminated.
This issue is numpy.
Requirement already satisfied: numpy in /usr/lib/python2.7/dist-packages
Requirement already satisfied: scipy in /usr/local/lib/python2.7/dist-packages
-- Found PythonInterp: /usr/local/bin/python (found suitable version "2.7.13", minimum required is "2.7")
Traceback (most recent call last):
File "
This cmake line workd, a successful cmake run, (from pybind)
cmake -DPYTHON_LIBRARY=$(python-config --prefix)/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=$(python-config --prefix)/include/python2.7 .
make fails here.
[ 78%] Linking CXX executable ../bin/elementwise_op_gpu_test
../lib/libcaffe2_gpu.so: undefined reference to `cv::String::allocate(unsigned long)'
../lib/libcaffe2_gpu.so: undefined reference to `cv::error(int, cv::String const&, char const*, char const*, int)'
../lib/libcaffe2_gpu.so: undefined reference to `cv::String::deallocate()'
collect2: error: ld returned 1 exit status
caffe2/CMakeFiles/elementwise_op_gpu_test.dir/build.make:133: recipe for target 'bin/elementwise_op_gpu_test' failed
make[2]: *** [bin/elementwise_op_gpu_test] Error 1
CMakeFiles/Makefile2:1249: recipe for target 'caffe2/CMakeFiles/elementwise_op_gpu_test.dir/all' failed
make[1]: *** [caffe2/CMakeFiles/elementwise_op_gpu_test.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
@apiszcz your latest error is #1614
Tried it again with CUDA 9.2 and it seems to work.
CUDA 9.2 cuDNN 7.1.4 nvcc release 9.2, V9.2.88 gcc & g++ 6.4.0 Ubuntu 18.04 LTS
System information
CMake summary output