Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unknown CUDA Architecture Name 2.1(2.0) in CUDA_SELECT_NVCC_ARCH_FLAGS #133

Open
bbhushan-ds opened this issue Jul 21, 2016 · 0 comments

Comments

@bbhushan-ds
Copy link

I already have cuda 7.5 installed in ubuntu 14.04 which is creating the issue as described below. I am installing torch 7 described in this url http://torch.ch/docs/getting-started.html

./install.sh file breaks up while installing. Could any body help us out in this issue.

Error:

Found CUDA on your machine. Installing CUDA packages
Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/bb/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/bb/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN) install

-- Found Torch7 in /home/bb/torch/install
-- MAGMA not found. Compiling without MAGMA support
-- Autodetected CUDA architecture(s):
CMake Error at /home/bb/torch/install/share/cmake/torch/FindCUDA/select_compute_arch.cmake:142 (message):
Unknown CUDA Architecture Name 2.1(2.0) in CUDA_SELECT_NVCC_ARCH_FLAGS
Call Stack (most recent call first):
lib/THC/CMakeLists.txt:71 (CUDA_SELECT_NVCC_ARCH_FLAGS)

CMake Error at /home/bb/torch/install/share/cmake/torch/FindCUDA/select_compute_arch.cmake:146 (message):
arch_bin wasn't set for some reason
Call Stack (most recent call first):
lib/THC/CMakeLists.txt:71 (CUDA_SELECT_NVCC_ARCH_FLAGS)

-- got cuda version 7.5
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- Configuring incomplete, errors occurred!
See also "/home/bb/torch/extra/cutorch/build/CMakeFiles/CMakeOutput.log".

Error: Build error: Failed building.
bb@bb:~/torch$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant