Hi,
I encounter this problem when trying to install Cutorch using command:
luarocks install cutorch
CMake Error at /usr/local/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find CUDA: Found unsuitable version "5.0", but required is at
least "5.5" (found /usr)
Call Stack (most recent call first):
/usr/local/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:372 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.2/Modules/FindCUDA.cmake:855 (find_package_handle_standard_args)
CMakeLists.txt:7 (FIND_PACKAGE)
I'm sure that there is no Cuda version in /usr and /usr/local/cuda links to cuda-7.0. I could not find any possible cause of this problem, hence I don't know how to solve it.
I even manually edit the FindCUDA.cmake file, to specify CUDA_TOOLKIT_ROOT_DIR before trying to find:
855 set(CUDA_TOOLKIT_ROOT_DIR /usr/local/cuda-7.0)
856 message(${CUDA_TOOLKIT_ROOT_DIR})
857 find_package_handle_standard_args(CUDA
858 REQUIRED_VARS
859 CUDA_TOOLKIT_ROOT_DIR
860 CUDA_NVCC_EXECUTABLE
861 CUDA_INCLUDE_DIRS
862 CUDA_CUDART_LIBRARY
863 VERSION_VAR
864 CUDA_VERSION
865 )
And now comes the error message:
CMake Error at /usr/local/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find CUDA: Found unsuitable version "5.0", but required is at
least "5.5" (found /usr/local/cuda-7.0)
I don't know what happened with cutorch/CMake and I cannot make things work.
Please advice. Many thanks.
--
You received this message because you are subscribed to a topic in the Google Groups "torch7" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/torch7/QkRk8eKAJLw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to torch7+un...@googlegroups.com.
To post to this group, send email to tor...@googlegroups.com.
Visit this group at https://groups.google.com/group/torch7.
For more options, visit https://groups.google.com/d/optout.
Hi,It's 7.0
nvcc: NVIDIA (R) Cuda compiler driverCopyright (c) 2005-2015 NVIDIA CorporationBuilt on Mon_Feb_16_22:59:02_CST_2015Cuda compilation tools, release 7.0, V7.0.27I doubt it could be some problem with CMake :(
Installing https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec... switching to 'build' mode
Cloning into 'cutorch'...
remote: Counting objects: 107, done.
remote: Compressing objects: 100% (103/103), done.
remote: Total 107 (delta 8), reused 44 (delta 2), pack-reused 0
Receiving objects: 100% (107/107), 157.40 KiB | 0 bytes/s, done.
Resolving deltas: 100% (8/8), done.
Checking connectivity... done.
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/ubuntu/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/ubuntu/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN) install
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- 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
-- 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
-- Found Torch7 in /home/ubuntu/torch/install
CMake Error at /usr/share/cmake-2.8/Modules/FindCUDA.cmake:548 (message):
Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
CMakeLists.txt:7 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_cutorch-scm-1-153/cutorch/build/CMakeFiles/CMakeOutput.log".
Error: Build error: Failed building.