xmr-stak icon indicating copy to clipboard operation
xmr-stak copied to clipboard

Error compiling xmr-stak-rx branch

Open cartesien opened this issue 5 years ago • 4 comments

When i tried to compile :

cmake .. -- Could NOT find CUDA: Found unsuitable version "7.5", but required is at least "9.0" (found /usr) CMake Error at CMakeLists.txt:198 (message): CUDA NOT found: use -DCUDA_ENABLE=OFF to build without NVIDIA GPU support

-- Configuring incomplete, errors occurred!

but i vérified my CUDA version installed and look at it : nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2018 NVIDIA Corporation Built on Tue_Jun_12_23:07:04_CDT_2018 Cuda compilation tools, release 9.2, V9.2.148

i haven't this problem with old xmr_stak versions before.

Can you help me ? Did i must absolutely install CUDA 10 or earlier CUDA version ?

Thanks for help and helpers.

cartesien avatar Dec 06 '19 01:12 cartesien

You need at least cuda 9 but I suggest to switch to cuda 10.2

psychocrypt avatar Dec 07 '19 09:12 psychocrypt

do you started from a clean build folder? CMake is caching paths from older buildings in the build folder.

psychocrypt avatar Dec 07 '19 09:12 psychocrypt

Sorry, i just seen your response. I 'll go to bed soon, but i promiss you, i will retry tomorrow. I don't remember how to install nvidia drivers on ubuntu, so, i 'll have to search on the web to install 10.2.

cartesien avatar Dec 11 '19 22:12 cartesien

I finally success to compile xmr-stak-rx on ubuntu 1.04, but when i lauch it, it seems that xmr-stak-rx don't détect my GPUs 1070 :

[2019-12-15 22:33:25] : start self test for 'randomx' (can be disabled with the command line option '--noTest')

xmr-stak-rx 1.0.3-rx a90fcc9

Brought to you by fireice_uk and psychocrypt under GPLv3. Based on CPU mining code by tevador and SChernykh. Based on NVIDIA mining code by SChernykh. Based on OpenCL mining code by SChernykh.

You can use following keys to display reports: 'h' - hashrate 'r' - results 'c' - connection

______ ____

## | ___ \ / _ \

_ #| |/ / _ ___ | / / _ _ _ _ _ _ ___ _ __ ___ _ _

|| #| /| | | | / _ \ | | | | | || '|| '|/ _ | ' \ / __|| | | |

#| |\ | || || () || _/| || || | | | | /| | | || ( | || |

## _| _|_, | _/ _/ _,||| || _||| || _| __, |

__/ | __/ |
              |___/   https://ryo-currency.com                       |___/

This currency is a way for us to implement the ideas that we were unable to in Monero. See https://github.com/fireice-uk/cryptonote-speedup-demo for details.

[2019-12-15 22:33:51] : Mining coin: randomx [2019-12-15 22:33:52] : WARNING: UNKNOWN_ERROR when calling clGetPlatformIDs for number of platforms. [2019-12-15 22:33:52] : WARNING: No OpenCL platform found. [2019-12-15 22:33:52] : WARNING: No AMD OpenCL platform found. Possible driver issues or wrong vendor driver. [2019-12-15 22:33:52] : WARNING: backend AMD (OpenCL) disabled. [2019-12-15 22:33:52] : NVIDIA: try to load library 'xmrstakrx_cuda_backend' WARNING: NVIDIA Unable to query number of CUDA devices! [2019-12-15 22:33:52] : WARNING: backend NVIDIA disabled. [2019-12-15 22:33:52] : CPU configuration stored in file 'cpu.txt' [2019-12-15 22:33:52] : Starting 1x thread, affinity: 0. [2019-12-15 22:33:52] : hwloc: memory pinned [2019-12-15 22:33:52] : Fast-connecting to pool.supportxmr.com:7777 pool ... [2019-12-15 22:33:52] : Pool pool.supportxmr.com:7777 connected. Logging in... [2019-12-15 22:33:53] : Difficulty changed. Now: 200007. [2019-12-15 22:33:53] : Pool logged in. [2019-12-15 22:34:00] : Difficulty changed. Now: 315806. [2019-12-15 22:34:00] : New block detected. [2019-12-15 22:34:37] : New block detected. Monero has forked to randomX.

https://www.getmonero.org

press key 'v' to open the url

HASHRATE REPORT - CPU | ID | 10s | 60s | 15m | | 0 | 334.1 | (na) | (na) | Totals (CPU): 334.1 0.0 0.0 H/s

Totals (ALL): 334.1 0.0 0.0 H/s Highest: 327.0 H/s

[2019-12-15 22:35:01] : Difficulty changed. Now: 210527. [2019-12-15 22:35:01] : New block detected. [2019-12-15 22:36:01] : Difficulty changed. Now: 140353. [2019-12-15 22:36:01] : New block detected. [2019-12-15 22:37:01] : Difficulty changed. Now: 93568. [2019-12-15 22:37:01] : New block detected. [2019-12-15 22:38:01] : Difficulty changed. Now: 62378. [2019-12-15 22:38:01] : New block detected.

nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Wed_Oct_23_19:24:38_PDT_2019 Cuda compilation tools, release 10.2, V10.2.89

Can you help me ?

cartesien avatar Dec 15 '19 21:12 cartesien