KlausT / ccminer

Software for mining various cryptocoins
GNU General Public License v3.0
403 stars 312 forks source link

an illegal memory access was encountered. #237

Closed nihonmatsu closed 5 years ago

nihonmatsu commented 6 years ago

--no-cpu-verify option is on, but an illegal memory access was encountered.

git clone -b 8.21 https://github.com/KlausT/ccminer.git ~/ccminer$ ./autogen.sh ~/ccminer$ vi Makefile.am ~/ccminer$ ./configure ~/ccminer$ ./build.sh ~/ccminer$ ./ccminer --no-cpu-verify --debug -a x17 -o stratum+tcp://: -u -p c=

ccminer 8.21-KlausT (64bit) for nVidia GPUs Compiled with GCC 5.4 using Nvidia CUDA Toolkit 9.1

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork CUDA support by Christian Buchner, Christian H. and DJM34 Includes optimizations implemented by sp-hash, klaust, tpruvot and tsiv.

Starting Stratum on stratum+tcp://: restart_threads CUDA GPU 0 matches NVML GPU 0 by busId 1 NVML GPU monitoring enabled. 1 miner thread started, using 'x17' algorithm. Binding thread 0 to cpu 0 (mask 1) 0 Stratum session id: 65200b602f4678951a805d9529d86775 GPU #0: waiting for data Stratum difficulty set to 0.05 GPU #0: waiting for data GPU #0: waiting for data GPU #0: waiting for data GPU #0: waiting for data Stratum difficulty set to 0.024 Received new x17 block header block height 665537, 0 transactions DEBUG: job_id=ad572d8 11db xnonce2=00000000 time=00:00:00 restart_threads DEBUG: job_id=ad572d8 11db xnonce2=01000000 time=00:00:00 job ad572d8 11db target change: 29aa810000 (6.1) thread 0: new work GPU #0: start=00000000 end=017d7840 range=017d7841 GPU #0: using default intensity 19.125 GPU #0: Cuda error in func 'x17_haval256_cpu_hash_64' at line 343 : an illegal memory access was encountered. stopping 1 threads Stratum difficulty set to 0.012 resetting GPUs

nihonmatsu commented 6 years ago

Supplement Makefile.am has been modified as follows.

~/ccminer$ vi Makefile.am

nvcc_ARCH = -gencode=arch=compute_61,code=sm_61

nvcc_ARCH += -gencode=arch=compute_60,code=sm_60

nvcc_ARCH += -gencode=arch=compute_52,code=sm_52

nvcc_ARCH += -gencode=arch=compute_50,code=sm_50

nvcc_ARCH += -gencode=arch=compute_37,code=sm_37

nvcc_ARCH += -gencode=arch=compute_35,code=sm_35

nvcc_ARCH = -gencode=arch=compute_30,code=sm_30

nvcc_ARCH += -gencode=arch=compute_70,code=sm_70