xmrig/xmrig-cuda

compiling error for algo Randomx

Fay48 opened this issue · 4 comments

Fay48 commented

[ 5%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/xmrig-cu_generated_cuda_extra.cu.o
[ 11%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/arqma/xmrig-cu_generated_randomx_arqma.cu.o
[ 17%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/graft/xmrig-cu_generated_randomx_graft.cu.o
[ 23%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/keva/xmrig-cu_generated_randomx_keva.cu.o
[ 29%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/monero/xmrig-cu_generated_randomx_monero.cu.o
[ 35%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/xmrig-cu_generated_AstroBWT.cu.o
[ 41%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/KawPow/raven/xmrig-cu_generated_KawPow.cu.o
[ 47%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/xmrig-cu_generated_cuda_core.cu.o
[ 52%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/xmrig-cu_generated_randomx.cu.o
[ 58%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/wownero/xmrig-cu_generated_randomx_wownero.cu.o
/home/ubuntu/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero

/home/ubuntu/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero

/home/ubuntu/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero

/home/ubuntu/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero

/home/ubuntu/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero

/home/ubuntu/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero

/home/ubuntu/xmrig-cuda/src/RandomX/randomx_cuda.hpp(319): warning: pointless comparison of unsigned integer with zero

Fay48 commented

[2021-11-08 19:21:25.627] net stratum.usa-west.nicehash.com:33380 incompatible/disabled algorithm "rx/0" detected, reconnect
[2021-11-08 19:21:25.627] net stratum.usa-west.nicehash.com:33380 login error code: 6
[2021-11-08 19:21:31.594] net stratum.usa-west.nicehash.com:33380 incompatible/disabled algorithm "rx/0" detected, reconnect
[2021-11-08 19:21:31.594] net stratum.usa-west.nicehash.com:33380 login error code: 6

@Fay48 I might know what's going on. I got the same "issue" at first. I'm wondering if those many warnings caused you to cancel the make prematurely. Because when I waited past those warnings - took some time - it finally got past 58% to a completed [100%] Built target xmrig-cuda. See my screenshot:

Screen Shot 2022-01-11 at 4 10 19 PM

TL;DR - just wait :)

Also when compilation is done, copy libxmrig-cuda.so over to the place where xmrig is installed.

Or, set loader to the full path if you leave it elsewhere.

EDIT: Also possible your main xmrig is compiled without RandomX support?

Oh actually, Nicehash site has typos. It should be:

randomxmonero.usa-west.nicehash.com:33380 with tls enabled