Package Details: ccminer 2.3.1-1

Git Clone URL: https://aur.archlinux.org/ccminer.git (read-only)
Package Base: ccminer
Description: Coin miner using CUDA for nVidia GPUs.
Upstream URL: http://ccminer.org/
Licenses: GPL3
Submitter: MarcinWieczorek
Maintainer: MarcinWieczorek
Last Packager: MarcinWieczorek
Votes: 12
Popularity: 0.000026
First Submitted: 2016-06-02 16:58
Last Updated: 2019-01-31 09:53

Pinned Comments

Pyrepenol commented on 2017-06-17 17:17

If you're having trouble getting this to work on an older video card, make sure that the proper flags are set ala https://github.com/tpruvot/ccminer/wiki/Compatibility

for mine I had to add this to the pkgbuild:

sed -i 's/#nvcc_ARCH += -gencode=arch=compute_30/nvcc_ARCH += -gencode=arch=compute_30/' Makefile.am

Latest Comments

1 2 Next › Last »

iboyperson commented on 2017-12-21 05:43

Version 2.2.3 is out https://github.com/tpruvot/ccminer/releases/tag/2.2.3-tpruvot

Araeos commented on 2017-12-19 12:38

For those with the missing file error: <device_functions_decls.h></device_functions_decls.h>

This is fixed upstream with commit: https://github.com/tpruvot/ccminer/commit/d0a6cb78d3602a913481ace3e012ecfe91ca08b7#diff-86c8bb5acc3669e8918584d30e3c5d83

and ccminer-git includes this fix.

Ape commented on 2017-11-23 06:33

I'm getting this build error:

```
nvcc fatal : Unsupported gpu architecture 'compute_20'
make[2]: *** [Makefile:2672: scrypt/salsa_kernel.o] Error 1
```

EDIT: ccminer-git doesn't have this issue.

yoburtu commented on 2017-09-30 21:26

Hi,

I can’t compile ccminer.

/usr/bin/ld: cannot find -lcuda

I am cuda package installed.

How can I solve this?.

Best regards.

russ0r commented on 2017-08-27 14:58

Thanks Pyrepenol. If, like me, you're only running old cards and nothing newer than a GTX 4xx or GTX5xx then put this on the second line of the build() section (after cd "${srcdir}... etc.):

sed -i 's/#nvcc_ARCH += -gencode=arch=compute_20/nvcc_ARCH = -gencode=arch=compute_20/' Makefile.am
sed -i 's/nvcc_ARCH += -gencode=arch=compute_52/#nvcc_ARCH += -gencode=arch=compute_52/' Makefile.am
sed -i 's/nvcc_ARCH = -gencode=arch=compute_50/#nvcc_ARCH += -gencode=arch=compute_50/' Makefile.am

Pyrepenol commented on 2017-06-17 17:17

If you're having trouble getting this to work on an older video card, make sure that the proper flags are set ala https://github.com/tpruvot/ccminer/wiki/Compatibility

for mine I had to add this to the pkgbuild:

sed -i 's/#nvcc_ARCH += -gencode=arch=compute_30/nvcc_ARCH += -gencode=arch=compute_30/' Makefile.am

Citral commented on 2017-06-04 11:09

The following customizepkz rule worked for me:


replace#global#./configure#CPPFLAGS='-I/usr/include/openssl-1.0' LDFLAGS='-L/usr/lib/openssl-1.0 -L/usr/lib' ./configure

qwer1234 commented on 2017-05-23 08:00

Can anybody make working PKGBUILD for ccminer? Thanks.

fysa commented on 2017-05-17 21:38

You have to use GCC-5 with CUDA and link to OpenSSL 1.0.

I am not sure if the pic options are required now with gcc-5 -- I think that's just a symptom of the incompatibility with 6. I was able to compile with these options:

make clean
make distclean
CC=/usr/bin/gcc-5 \
CXX=/usr/bin/g++-5 \
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig \
CFLAGS+=" -I/usr/include/openssl-1.0 -fPIC" \
CPPFLAGS+=" -I/usr/include/openssl-1.0 -fPIC" \
LDFLAGS+=" -L/usr/lib/openssl-1.0 -lssl -fPIC" \
./autogen.sh

CC=/usr/bin/gcc-5 \
CXX=/usr/bin/g++-5 \
PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig \
CFLAGS+=" -I/usr/include/openssl-1.0 -fPIC" \
CPPFLAGS+=" -I/usr/include/openssl-1.0 -fPIC" \
LDFLAGS+=" -L/usr/lib/openssl-1.0 -fPIC -lssl" \
./configure --with-cuda=/opt/cuda --disable-shared --with-pic
make

OKyHb commented on 2017-05-01 22:46

I'm getting "undefined reference to SSL_library_init". Does it want openssl-1.0?