Open niralkk opened 6 years ago
HI,
Do you have CUDA properly installed?
If so, you may have installed it in a non standard path and you want to specify where it is with CUDA_TOOLKIT_ROOT_DIR
.
Cuda is not installed on my system. I have tried installing using the command. However, it's giving me below error. can someone please help me? I want to work with deepmask and sharp mask. I heard that it works with CUDA version 7.0 or lower only..I'm not sure.
root@deepmask-1:~# nvcc --version
The program 'nvcc' is currently not installed. You can install it by typing:
apt install nvidia-cuda-toolkit
root@deepmask-1:~# apt install nvidia-cuda-toolkit
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies: nvidia-cuda-toolkit : Depends: nvidia-profiler (= 7.5.18-0ubuntu1) but it is not going to be installed Depends: nvidia-cuda-dev (= 7.5.18-0ubuntu1) but it is not going to be installed Recommends: nvidia-visual-profiler (= 7.5.18-0ubuntu1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@deepmask-1:~#
Hi,
I'm facing build error while installing cutorch. Can someone help?
root@deepmask-1:/home/deepmask# luarocks install cutorch 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: 229, done. remote: Compressing objects: 100% (183/183), done. remote: Total 229 (delta 63), reused 88 (delta 44), pack-reused 0 Receiving objects: 100% (229/229), 241.20 KiB | 0 bytes/s, done. Resolving deltas: 100% (63/63), done. Checking connectivity... done. Warning: unmatched variable LUALIB
jopts=$(getconf _NPROCESSORS_CONF)
echo "Building on $jopts cores" cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DLUA_INCDIR=/root/torch/install/include -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/root/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/root/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$jopts install
Building on 4 cores -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.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 -- Found Torch7 in /root/torch/install CMake Error at /usr/share/cmake-3.5/Modules/FindCUDA.cmake:617 (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-5744/cutorch/build/CMakeFiles/CMakeOutput.log".
Error: Build error: Failed building.