Open jediofgever opened 4 years ago
Hi Fetullah,
I have not met this problem, could you provide the error message you get when running cmake ..
?
Here is terminal output after i try to built with cuda support on
atas@atas-MS-7B48:~/bcnn/build$ cmake ../
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- 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
-- 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
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- [bcnn] Targeted system processor: x86_64
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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
-- [bcnn] Build with Cuda
-- [bcnn] Found Cuda libraries: /usr/local/cuda-10.0/lib64/libcublas.soCUDA_cublas_device_LIBRARY-NOTFOUND
-- [bcnn] Build with CuDNN
-- [bcnn] Build with AVX instructions
-- Found OpenMP_C: -fopenmp (found version "4.0")
-- Found OpenMP_CXX: -fopenmp (found version "4.0")
-- Found OpenMP: TRUE (found version "4.0")
-- [bcnn] Found openmp
-- [bcnn] Enabling logging
-- Found OpenCV: /usr (found suitable version "3.2.0", minimum required is "3.0.0")
-- [bcnn] [examples/yolo] Found OpenCV
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "bcnn" in directory /home/atas/bcnn
-- Configuring incomplete, errors occurred!
See also "/home/atas/bcnn/build/CMakeFiles/CMakeOutput.log".
See also "/home/atas/bcnn/build/CMakeFiles/CMakeError.log".
seems like a bug triggered by earlier version of cmake
https://github.com/clab/dynet/issues/1457
I changed the minimum version to 3.12.2 and I can build bcnn
Hi Jean, Thank you very much for your contributions to open source community. I would like to use bcnn with CUDA support on. when I set them on in
CmakeLists.txt
cmake .. ends up with errors.
I have installed cuda and nvcc --version does return following ;
I suspect this could be because of lacking of maybe some symbolic links ? Have you met this problem ?