Bitcoin Forum
September 24, 2025, 08:58:50 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: December 27, 2017, 06:57:09 AM
It seems building the latest ccminer source against CUDA 9.1 fails, because the file device_functions_decls.h cannot be found.

Edit: On ubuntu 16.04. Of course an easy workaround is to use CUDA 9.0 libraries for now.

I got CUDA 9.1 to work with the cuda-9 branch of ccminer.  I compiled CUDA 9.1 using the .run file and had it install the drivers included with the full .run package as the proprietary drivers did not install correctly using either the GUI (system setting route) or the PPA from the command line (at least for me, though I'm not an expert so I could very easily have been doing something wrong).  As I posted above thread, the key for me was to ensure that I had both lib and lib64 referenced in my LD_LIBRARY path before I compiled, otherwise, even though ccminer would compile without failing, it wouldn't do so correctly.

If you only have CUDA 9.1 installed, is there even a 'lib'?  Can you tell me the resulting value for LD_LIBRARY_PATH in your case?
Thanks
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: December 24, 2017, 10:23:33 PM
Anyone else having problems building and running cuda-9 branch with Ubuntu 17.04 and CUDA 9.1?  It compiles successfully but crashes within few seconds after running. I am not overclocking and have run these 2 cards extensively with ccminer with windows.  I've also tried equihash and that crashes as well.  Any ideas?

/ccminer$ ./ccminer  -r 0 -a Lyra2v2 -o stratum+tcp://hub.miningpoolhub.com:20593 -u xyz -p x 
*** ccminer 2.2.4 for nVidia GPUs by tpruvot@github ***
    Built with the nVidia CUDA Toolkit 9.1 64-bits

  Originally based on Christian Buchner and Christian H. project
  Include some kernels from alexis78, djm34, djEzo, tsiv and krnlx.

BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo (tpruvot)

[2017-12-24 01:40:42] Starting on stratum+tcp://hub.miningpoolhub.com:20593
[2017-12-24 01:40:42] NVML GPU monitoring enabled.
[2017-12-24 01:40:42] 2 miner threads started, using 'lyra2v2' algorithm.
[2017-12-24 01:40:42] Stratum difficulty set to 256 (1.00000)
[2017-12-24 01:40:42] GPU #0: Intensity set to 20, 1048576 cuda threads
[2017-12-24 01:40:42] GPU #1: Intensity set to 20, 1048576 cuda threads
[2017-12-24 01:40:49] Stratum difficulty set to 16 (0.06250)
Cuda error in func 'scanhash_lyra2v2' at line 118 : unknown error.
Cuda error in func 'scanhash_lyra2v2' at line 118 : unknown error.
Segmentation fault (core dumped)


ccminer$ nvidia-smi
Sun Dec 24 15:19:44 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 387.34                 Driver Version: 387.34                    |
|-------------------------------+----------------------+----------------------+

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!