xmrMiner
xmrMiner copied to clipboard
Linux Mint Build with NVIDIA GM204M [GeForce GTX 970M] (rev a1)
When trying to build XmrMiner with Cuda 8.0 intstalled I receive errors. Relevant info:
punk@dtsp-server ~ $ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17
punk@dtsp-server ~ $ lspci|grep NVI
01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
And finally the errors below:
punk@dtsp-server ~/dev/monero-dev/xmr_miner_project/xmrMiner $ sudo make -j install
[sudo] password for punk:
[ 5%] Building NVCC (Device) object CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_core.cu.o
[ 17%] Building NVCC (Device) object CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cryptonight.cu.o
[ 17%] Building NVCC (Device) object CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_extra.cu.o
[ 64%] Built target xmrMinerCrypto
nvcc fatal : Unsupported gpu architecture 'compute_61'
CMake Error at xmrMinerCuda_generated_cuda_cryptonight_core.cu.o.cmake:207 (message):
Error generating
/home/punk/dev/monero-dev/xmr_miner_project/xmrMiner/CMakeFiles/xmrMinerCuda.dir/cryptonight/./xmrMinerCuda_generated_cuda_cryptonight_core.cu.o
CMakeFiles/xmrMinerCuda.dir/build.make:77: recipe for target 'CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_core.cu.o' failed
make[2]: *** [CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_core.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
nvcc fatal : Unsupported gpu architecture 'compute_61'
nvcc fatal : Unsupported gpu architecture 'compute_61'
CMake Error at xmrMinerCuda_generated_cuda_cryptonight_extra.cu.o.cmake:207 (message):
Error generating
/home/punk/dev/monero-dev/xmr_miner_project/xmrMiner/CMakeFiles/xmrMinerCuda.dir/cryptonight/./xmrMinerCuda_generated_cuda_cryptonight_extra.cu.o
CMake Error at xmrMinerCuda_generated_cryptonight.cu.o.cmake:207 (message):
Error generating
/home/punk/dev/monero-dev/xmr_miner_project/xmrMiner/CMakeFiles/xmrMinerCuda.dir/cryptonight/./xmrMinerCuda_generated_cryptonight.cu.o
CMakeFiles/xmrMinerCuda.dir/build.make:63: recipe for target 'CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_extra.cu.o' failed
make[2]: *** [CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_extra.cu.o] Error 1
CMakeFiles/xmrMinerCuda.dir/build.make:70: recipe for target 'CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cryptonight.cu.o' failed
make[2]: *** [CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cryptonight.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/xmrMinerCuda.dir/all' failed
make[1]: *** [CMakeFiles/xmrMinerCuda.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
I've been unable to resolve, have tried a bunch of different flags for compiling, any ideas?
Your output from nvcc looks like you're still pointing to CUDA 7.5. I would try removing it completely and installing nvidia-cuda-toolkit-8.0 before compiling xmrMiner.