Package Details: ccminer-git r917.b54be47-1

Git Clone URL: https://aur.archlinux.org/ccminer-git.git (read-only)
Package Base: ccminer-git
Description: Coin miner using CUDA for nVidia GPUs.
Upstream URL: http://ccminer.org/
Licenses: GPL3
Conflicts: ccminer
Provides: ccminer
Submitter: Omar007
Maintainer: Omar007
Last Packager: Omar007
Votes: 18
Popularity: 0.003554
First Submitted: 2016-05-21 19:25
Last Updated: 2018-01-04 23:37

Latest Comments

1 2 Next › Last »

mikeybro commented on 2017-12-29 08:19

running ccminer --algo=scrypt --url= ** I can connect to the mining pool of my choice however ccminer is detecting 0 CUDA threads, right now I have an old GTX 480 that I want to experiment with before going any further. I am not sure how to trouble shoot any of this.

Running ccminer --benchmark shows the CUDA cores

nimbusflow commented on 2017-12-17 14:32

Just in case you're getting the dreaded

"error while loading shared libraries: libcudart.so.9.0: cannot open shared object file: No such file or directory"

after upgrading to cuda 9.1.85-1, removing ccminer and rebuilding it worked for me. Wish I had tried that before I started playing around with library paths!

HappyGirl commented on 2017-10-27 22:11

@thk23

You are using patch correctly. It looks like the leading space of the patch is being stripped on the BUILD line of my comment causing the issue

I've put it in a pastebin for comparison here
wget https://pastebin.com/raw/mqUn0Z56

For example
wget https://pastebin.com/raw/mqUn0Z56 -O PKGBUILD.patch

patch <PKGBUILD.patch

It'll show an error noted below but that's safe and it still patches fine. This error is okay as it shows it is completed but gives the error due only partially including the last line because diff by default will stop at the new line and not follow the \ for the remainder of the command.

patching file PKGBUILD
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 24 with fuzz 1.

tkh23 commented on 2017-10-23 17:51

I made a file with patch contents below and ran patch < file
Received patch: **** malformed patch at line 5: build() {
What to do?
EDIT: added sed command to PKGBUILD manually, trying now...
It worked. What's the right way to apply patches?

HappyGirl commented on 2017-10-16 17:26

New issue with Cuda9, appears to no longer support the old Compute 2.0 cards

/opt/cuda/bin/nvcc -I. -I/opt/cuda/include -gencode=arch=compute_20,code=\"sm_21,compute_20\" -o scrypt/salsa_kernel.o -c scrypt/salsa_kernel.cu
nvcc fatal : Unsupported gpu architecture 'compute_20'


Patched for the PKGBUILD to strip out compute_20 and it builds and seems to work correctly so far on Cuda9 after 10 minutes

--- PKGBUILD 2017-10-16 13:11:52.000000000 -0400
+++ PKGBUILD.new 2017-10-16 13:29:59.556676334 -0400
@@ -24,7 +24,7 @@

build() {
cd "${srcdir}/ccminer"
-
+ sed -i '/compute_20/d' Makefile*
./autogen.sh

./configure CPPFLAGS='-I/usr/include/openssl-1.0' LDFLAGS='-L/usr/lib/openssl-1.0' \

qwer1234 commented on 2017-09-13 13:16

After recent update of cuda (cuda 8.0.61-3) problem solved.

qwer1234 commented on 2017-09-12 06:27

Hello.

I have other compiling errors:

/usr/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"

/usr/include/bits/floatn.h(73): error: identifier "__float128" is undefined

2 errors detected in the compilation of "/tmp/tmpxft_000039f2_00000000-9_cuda_equi.compute_52.cpp1.ii".
make[2]: *** [Makefile:2635: equi/cuda_equi.o] Error 2
make[2]: Leaving directory '/home/tax79/.cache/pacaur/ccminer-git/src/ccminer'
make[1]: *** [Makefile:2167: all-recursive] Error 1
make[1]: Leaving directory '/home/tax79/.cache/pacaur/ccminer-git/src/ccminer'
make: *** [Makefile:645: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build ccminer-git package(s)


pacaur -Qo /usr/include/bits/floatn.h
/usr/include/bits/floatn.h is owned by glibc 2.26-3

What should I do?

Omar007 commented on 2017-07-24 12:43

If I understand the error correctly, it is trying to execute a function on your GPU that is not available.
My best bet is that your GPU doesn't support the compute capabilities used during compilation.
You can try to update the Makefile.am (around line 110) to use the compute capabilities for your GPU.

Volldemar commented on 2017-07-24 12:24

[2017-07-24 15:18:08] Using JSON-RPC 2.0
[2017-07-24 15:18:08] Starting on stratum+tcp://pool.karbowanec.com:5555
[2017-07-24 15:18:08] 1 miner thread started, using 'cryptonight' algorithm.
[2017-07-24 15:18:08] Stratum difficulty set to 5000 (5)
[2017-07-24 15:18:08] GPU #0: GeForce GT 730, 1904 MB available, 2 SMX
[2017-07-24 15:18:08] GPU #0: 64 threads (6) with 8 blocks
[2017-07-24 15:18:08] GPU #0: invalid device function cryptonight_extra_cpu_prepare line 217

How to fix the error?

qwer1234 commented on 2017-07-16 18:21

Now everything is good. Thanks.